]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
switch-to-containers: only chown corresponding files
authorGuillaume Abrioux <gabrioux@redhat.com>
Fri, 9 Apr 2021 07:24:05 +0000 (09:24 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Thu, 15 Apr 2021 03:24:30 +0000 (05:24 +0200)
commit4468bd913d0388f7a419e4d2f1be34a7ef3209e0
tree4de482c3703d7caca452b83aa5cfa583095c7cb2
parent8f5abc6d3ee795bc2800dad1127a3157d6eb9a3b
switch-to-containers: only chown corresponding files

When collocating daemons, if we chown all files under `/var/lib/ceph` it
can cause issues for the collocated daemons that wouldn't have been
migrated yet.

This commit makes the playbook chown only the files corresponding to the
daemon being migrated.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit ddbc11c4a9c815ccc46fa52fd900f452c082612f)
infrastructure-playbooks/switch-from-non-containerized-to-containerized-ceph-daemons.yml