]> 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:12 +0000 (05:24 +0200)
commite332051b46561bed91cdf58e7750474f26f382fd
tree93b76cc27c07d5e36f93de989c9c9cb8972c9a52
parent5f6050bed1c54318145c4e442fc9414bc836b05b
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