E-CLOUD: Cloud Manager Upgrade from 16 to 17 is Failing during "Executing Windows Pre-provisioning Custom Scripts" Step with "err: b'The system cannot find the path specified.\r\n'" Error
(Doc ID 3028998.1)
Last updated on JUNE 17, 2024
Applies to:
PeopleSoft Cloud Manager - Version 16 and laterInformation in this document applies to any platform.
Symptoms
When attempting to upgrade Cloud Manager from CM 16 to CM 17, the following error occurs:
Manage Updates showing that Deploy PUM source environment Failed
Provision Task Status showing that Executing Windows Pre-provisioning Custom Scripts is in Loading status
Following error is captured in out.log file for deployment:
2024-05-09 05:12:58,223 DEBUG psc_event_sender.py 63 call back data:{"eventType": "TASK_EVENT", "data": {"taskId": "1715226688588-613994", "taskType": "PSFT", "taskSubType": "deployPsft", "taskStatus": "FAILED", "taskResult": {"taskType": "PSFT", "envName": "CDMSLFUPD5557", "stackId": "1715226688513-505002", "taskSubType": "deployPsft", "taskId": "1715226688588-613994", "callBackResult": {"status": "failure", "exit_code": "-1", "status_message": "Failed", "data": {}, "psft_activity_response": [{"status": "success", "exit_code": "0", "status_message": "Successfully completed", "activity_name": "PsftActivityWindowsCloudFolderSync", "id": "0", "activity_description": "Performing PsftActivityWindowsCloudFolderSync", "data": {}, "action_status": {}}, {"status": "success", "exit_code": "0", "status_message": "Successfully completed", "activity_name": "PsftActivityWindowsADBWalletCopy", "id": "1", "activity_description": "Performing ADB Wallet Copy From CM To Windows Instance", "data": {}, "action_status": {}}, {"status": "unknown", "exit_code": "-1", "status_message": "NIL", "activity_name": "PsftPreProvisioningWindowsActivity", "id": "2", "activity_description": "Executing Windows Pre-provisioning Custom Scripts"}, {"status": "unknown", "exit_code": "-1", "status_message": "NIL", "activity_name": "PsftActivityWinClientInstall", "id": "3", "activity_description": "Performing Windows Client Install Activity"}, {"status": "unknown", "exit_code": "-1", "status_message": "NIL", "activity_name": "PsftPostProvisioningWindowsActivity", "id": "4", "activity_description": "Executing Windows Post-provisioning Custom Scripts"}, {"status": "unknown", "exit_code": "-1", "status_message": "NIL", "activity_name": "PscEnvInfraCPUVersActivityWin", "id": "5", "activity_description": "Retrieve Infra CPU Patch information from environment on Windows"}]}}, "hostId": 0}}
2024-05-09 05:12:55,177 ERROR psc_windows_activity.py 595 Exception happend while getting the remote status content. err: b'The system cannot find the path specified.\r\n'
NoneType: None
2024-05-09 05:12:55,178 ERROR psc_windows_activity.py 341 Exception in copying data from Win share. ex:Exception happend while getting the remote status content. err: b'The system cannot find the path specified.\r\n'
Traceback (most recent call last):
File "/opt/oracle/psft/pt/ps_app_home/cloud/psc_cloud/psc_activity/psc_windows_activity.py", line 332, in get_data_from_remote_machine
if self.get_remote_status_file_data() == 0:
File "/opt/oracle/psft/pt/ps_app_home/cloud/psc_cloud/psc_activity/psc_windows_activity.py", line 596, in get_remote_status_file_data
raise PsftActivityWindowsException("Exception happend while getting the remote status content. err: "+str(std_err))
psc_cloud.psc_utils.psc_exception.PsftActivityWindowsException: Exception happend while getting the remote status content. err: b'The system cannot find the path specified.\r\n'
...
2024-05-09 05:12:55,206 ERROR psc_activity_executor.py 264 We got exception while updating the status. ex:Exception happend while getting the remote status content. err: b'The system cannot find the path specified.\r\n'
Traceback (most recent call last):
File "/opt/oracle/psft/pt/ps_app_home/cloud/psc_cloud/psc_activity/psc_windows_activity.py", line 332, in get_data_from_remote_machine
if self.get_remote_status_file_data() == 0:
File "/opt/oracle/psft/pt/ps_app_home/cloud/psc_cloud/psc_activity/psc_windows_activity.py", line 596, in get_remote_status_file_data
raise PsftActivityWindowsException("Exception happend while getting the remote status content. err: "+str(std_err))
psc_cloud.psc_utils.psc_exception.PsftActivityWindowsException: Exception happend while getting the remote status content. err: b'The system cannot find the path specified.\r\n'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/oracle/psft/pt/ps_app_home/cloud/psc_cloud/psc_executors/psc_activity_executor.py", line 193, in update_common_status_file
std_out, std_err, exit_code = psft_activity.get_data_from_remote_machine()
File "/opt/oracle/psft/pt/ps_app_home/cloud/psc_cloud/psc_activity/psc_windows_activity.py", line 342, in get_data_from_remote_machine
raise PsftActivityWindowsException(ex)
psc_cloud.psc_utils.psc_exception.PsftActivityWindowsException: Exception happend while getting the remote status content. err: b'The system cannot find the path specified.\r\n'
...
The issue can be reproduced at will with the following steps:
1. In cloud manager PIA, go to Cloud Manager Settings tile > Manage Updates
2. Perform Cloud Manager upgrade from CM 16 to CM 17
Changes
Upgrade CM to 17.
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |