DescriptionDirect Docs Feedback
2023-08-24 16:01:06 UTC
[hackfest] This does not work, or at least not well
It will try to create a folder on the overcloud nodes and will likely fail if doesn't have access to path.
We used /home/stack/backup thinking it was going to put a copy on the undercloud, which it did. But it adds failure trying to put them on the overcloud node like this:
fatal: [overcloud-compute-0]: FAILED! => {"changed": false, "msg": "There was an issue creating /home/stack as requested: [Errno 13] Permission denied: b'/home/stack'", "pat
h": "/home/stack/backup"}
fatal: [overcloud-compute-1]: FAILED! => {"changed": false, "msg": "There was an issue creating /home/stack as requested: [Errno 13] Permission denied: b'/home/stack'", "pat
h": "/home/stack/backup"}
fatal: [overcloud-controller-0]: FAILED! => {"changed": false, "msg": "There was an issue creating /home/stack as requested: [Errno 13] Permission denied: b'/home/stack'", "
path": "/home/stack/backup"}
Reported by: rhn-support-camorris
https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/17.1/html/framework_for_upgrades_16.2_to_17.1/upgrading-the-undercloud-operating-system#annotations:a595a357-7c24-4cdb-acac-7bb4b28f3ee5
My guess here is that the backup_folder_path was set to /home/stack/backup and the stack user does not exit on the overcloud nodes.
Set the variable to backup_folder_path=/home/{{ ansible_user_id }}/backup might fix the issue.
IMHO, I think we should remove the backup_folder_path from the ansible-paybook command and rephrase the last Replace by you can set the backup_folder_path variable with a little explanation (keep in mind that this folder will be use for the undercloud and the overcloud nodes)
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (RHOSP 17.1.4 bug fix and enhancement advisory), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHBA-2024:9974
[hackfest] This does not work, or at least not well It will try to create a folder on the overcloud nodes and will likely fail if doesn't have access to path. We used /home/stack/backup thinking it was going to put a copy on the undercloud, which it did. But it adds failure trying to put them on the overcloud node like this: fatal: [overcloud-compute-0]: FAILED! => {"changed": false, "msg": "There was an issue creating /home/stack as requested: [Errno 13] Permission denied: b'/home/stack'", "pat h": "/home/stack/backup"} fatal: [overcloud-compute-1]: FAILED! => {"changed": false, "msg": "There was an issue creating /home/stack as requested: [Errno 13] Permission denied: b'/home/stack'", "pat h": "/home/stack/backup"} fatal: [overcloud-controller-0]: FAILED! => {"changed": false, "msg": "There was an issue creating /home/stack as requested: [Errno 13] Permission denied: b'/home/stack'", " path": "/home/stack/backup"} Reported by: rhn-support-camorris https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/17.1/html/framework_for_upgrades_16.2_to_17.1/upgrading-the-undercloud-operating-system#annotations:a595a357-7c24-4cdb-acac-7bb4b28f3ee5