ceph: Add become to gathering OSD IDs on reconfigure
We did use become: true on starting the osds, but not on reconfigure. Closes-Bug: #1867946 Change-Id: Ie8a2d1a163528f509e126a807d4c73dd8106c47a
This commit is contained in:
parent
ccdc807580
commit
326932924c
|
@ -26,6 +26,7 @@
|
|||
|
||||
- name: Gathering OSD IDs
|
||||
command: "cat /var/lib/ceph/osd/{{ item['fs_uuid'] }}/whoami"
|
||||
become: true
|
||||
with_items: "{{ osds|default({}) }}"
|
||||
register: osd_ids
|
||||
changed_when: False
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
fixes:
|
||||
- |
|
||||
Fixes ``ceph`` deployment reconfiguration error, when Gathering OSDs step
|
||||
would fail due to Kolla-Ansible user not having access to
|
||||
``/var/lib/ceph/osd/_FSID_/whoami``.
|
||||
`LP#1867946 <https://launchpad.net/bugs/1867946>`__
|
Loading…
Reference in New Issue