E-CLOUD: Running Psft-osl.sh Script to Lift an Environment to Cloud Fails with Error: subprocess.CalledProcessError: Command 'psadmin -v' returned non-zero exit status 127.
(Doc ID 3054234.1)
Last updated on NOVEMBER 15, 2024
Applies to:
PeopleSoft Cloud Manager - Version 16 and laterLinux x86-64
Symptoms
When running the application lift script - 'psft-osl.sh' on the environment that will be migrated to Cloud, it fails with the following error:
File "/tmp/lift_utility/administer/lift_psft_app.py", line 612, in update_setup_file_psvalues
psadm_op = subprocess.check_output(psadm_cmd, stderr=subprocess.STDOUT, shell=True).decode()
File "/tmp/lift_utility/lnx_python/lib/python3.6/subprocess.py", line 336, in check_output
**kwargs).stdout
File "/tmp/lift_utility/lnx_python/lib/python3.6/subprocess.py", line 418, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command 'psadmin -v' returned non-zero exit status 127.
Traceback (most recent call last):
File "/tmp/lift_utility/administer/lift_psft_app.py", line 853, in
main(sys.argv[1:])
File "/tmp/lift_utility/administer/lift_psft_app.py", line 741, in main
update_setup_file_psvalues(setup_file)
File "/tmp/lift_utility/administer/lift_psft_app.py", line 612, in update_setup_file_psvalues
psadm_op = subprocess.check_output(psadm_cmd, stderr=subprocess.STDOUT, shell=True).decode()
File "/tmp/lift_utility/lnx_python/lib/python3.6/subprocess.py", line 336, in check_output
**kwargs).stdout
File "/tmp/lift_utility/lnx_python/lib/python3.6/subprocess.py", line 418, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command 'psadmin -v' returned non-zero exit status 127.
psadm_op = subprocess.check_output(psadm_cmd, stderr=subprocess.STDOUT, shell=True).decode()
File "/tmp/lift_utility/lnx_python/lib/python3.6/subprocess.py", line 336, in check_output
**kwargs).stdout
File "/tmp/lift_utility/lnx_python/lib/python3.6/subprocess.py", line 418, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command 'psadmin -v' returned non-zero exit status 127.
Traceback (most recent call last):
File "/tmp/lift_utility/administer/lift_psft_app.py", line 853, in
main(sys.argv[1:])
File "/tmp/lift_utility/administer/lift_psft_app.py", line 741, in main
update_setup_file_psvalues(setup_file)
File "/tmp/lift_utility/administer/lift_psft_app.py", line 612, in update_setup_file_psvalues
psadm_op = subprocess.check_output(psadm_cmd, stderr=subprocess.STDOUT, shell=True).decode()
File "/tmp/lift_utility/lnx_python/lib/python3.6/subprocess.py", line 336, in check_output
**kwargs).stdout
File "/tmp/lift_utility/lnx_python/lib/python3.6/subprocess.py", line 418, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command 'psadmin -v' returned non-zero exit status 127.
The issue can be reproduced at will with the following steps:
1.) Log into PeopleSoft Cloud Manager and click on the 'Lift and Shift' tile.
2.) Download and extract the Lift Utility (LIFT_UTILITY.zip) on the on-premise environment.
3.) Run the script: 'sh psft-osl.sh' command to perform the lift.
Changes
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 |