Reconfiguration fails as non-root user with ceph enabled due to missing 'become'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-ansible |
Fix Released
|
Medium
|
Mark Goddard | ||
Queens |
Fix Released
|
Undecided
|
Unassigned | ||
Rocky |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Kolla ansible is now supposed to support remote execution as a non-root user [1]. While trying to modify the CI tests to use a non-root user, it was found that configuration of ceph integration for glance fails with the following error:
TASK [glance : Copying over ceph.conf(s)] *******
fatal: [primary]: FAILED! => {
"msg": "Failed to get information on remote file (/etc/kolla/
This is because some tasks in ceph.yml for glance are missing the 'become' attribute. This issue applies also to other similar ceph.yml and external_ceph.yml files for nova, cinder, gnocchi and manila.
I suspect this didn't fail on the initial deploy due to the recursive owership & permissions change at the end of these files.
[1] https:/
description: | updated |
summary: |
- Reconfiguration fails with ceph enabled due to missing 'become' + Reconfiguration fails as non-root user with ceph enabled due to missing + 'become' |
Changed in kolla-ansible: | |
status: | In Progress → Fix Released |
https:/ /review. openstack. org/607123