Forum Discussion
/var/local/ucs/clean.ucs: FAILED open or read
In the following steps during script f5-aws-migrate.py(CVE mode) execution, the following error occurred. What is the cause?
RUNNING cmd: run util bash -c 'md5sum -c /var/local/ucs/clean.ucs.md5' Password: md5sum: /var/local/ucs/clean.ucs: No such file or directory md5sum: WARNING: 1 of 1 listed file could not be read cmd_output: /var/local/ucs/clean.ucs: FAILED open or read
- Samir_Jha_52506
Noctilucent
As per error, it seems reference file is not found or unable to read. Hope you are using correct password?
Why don't you directly land to directory n see exect issue.
- mikawamoto_3721
Nimbostratus
Thanks, There is "f5-[indtance ID]-clean.ucs", but not "clean.ucs". Is the file created by script? I originally stored only f5-aws-migrate.py, restore-clean-ucs, and save-clean-ucs. I think password is correct because I succeeded in logging in the new instance.
- mikawamoto_3721
Nimbostratus
It seems that this error appears when scp being failed for sending "clean.ucs" during the execution of the script. It succeeds unless scp is failed. I don't know why scp fails. If it is not in CVE mode, it will not fail scp sending.
- Dan_Pacheco
Cirrus
Your python script is looking for the clean.ucs file on the f5’s Linux directory. Does that file exist? If not, that explains the errror. It might also fail to read the file if the credentials are wrong, so confirm that the python script creds can log into that f5.
- mikawamoto_3721
Nimbostratus
Thanks, There is There is "f5-[indtance ID]-clean.ucs", but not "clean.ucs". Is the file created by script? I originally stored only f5-aws-migrate.py, restore-clean-ucs, and save-clean-ucs. I think password and creds are correct because I succeeded in logging in the new instance.
- mikawamoto_3721
Nimbostratus
It seems that this error appears when scp being failed for sending "clean.ucs" during the execution of the script. It succeeds unless scp is failed. I don't know why scp fails. If it is not in CVE mode, it will not fail scp sending.
Your python script is looking for the clean.ucs file on the f5’s Linux directory. Does that file exist? If not, that explains the errror. It might also fail to read the file if the credentials are wrong, so confirm that the python script creds can log into that f5.
- mikawamoto_3721
Nimbostratus
Thanks, There is There is "f5-[indtance ID]-clean.ucs", but not "clean.ucs". Is the file created by script? I originally stored only f5-aws-migrate.py, restore-clean-ucs, and save-clean-ucs. I think password and creds are correct because I succeeded in logging in the new instance.
- mikawamoto_3721
Nimbostratus
It seems that this error appears when scp being failed for sending "clean.ucs" during the execution of the script. It succeeds unless scp is failed. I don't know why scp fails. If it is not in CVE mode, it will not fail scp sending.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com