Deploy fails when overriding the Nova release file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-ansible |
New
|
Undecided
|
Unassigned |
Bug Description
I'm adding a release file for nova by setting /etc/kolla/
TASK [nova-cell : Copying 'release' file for nova_compute] *******
skipping: [noud-controller1] => (item=/
skipping: [noud-controller2] => (item=/
skipping: [noud-controller3] => (item=/
fatal: [noud-compute1]: FAILED! => {"msg": "Failed to get information on remote file (/etc/kolla/
fatal: [noud-compute2]: FAILED! => {"msg": "Failed to get information on remote file (/etc/kolla/
When I check the code I see that for this task, the `become: true` line is not set. When I manually add the deploy is successful.
We are on OpenStack Yoga on Ubuntu 22.04. But the become is also missing in the master branch.
The workaround is to set a become in the Ansible inventory and run everything as root.
Regards,
Arnoud.