]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
switch2container: chown symlink in mon/mgr plays
authorDimitri Savineau <dsavinea@redhat.com>
Mon, 16 Nov 2020 15:31:11 +0000 (10:31 -0500)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Mon, 16 Nov 2020 21:37:16 +0000 (16:37 -0500)
commit6c8df0523ea6558d7316e14f3f1443fbd04a022b
tree0dac9fe509095260f7b23fac73dc118c1890c1db
parent8b6aedc8715aa33fba8fe2fa8205b69b37e7961d
switch2container: chown symlink in mon/mgr plays

fa2bb3a only fix the symlink owner/group issue in the OSD play. If the
OSDs are collocated with other services like MONs and MGRs then the
chown command will fail.

$ find /var/lib/ceph/osd/ceph-0 -not -user 167 -execdir chown 167:167 {} +
chown: cannot dereference './block': Permission denied

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1896448
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit 35ed9977aac9afbcad4f726a865891f0e84b4680)
infrastructure-playbooks/switch-from-non-containerized-to-containerized-ceph-daemons.yml