]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
adopt: fix rbd mirror adoption
authorGuillaume Abrioux <gabrioux@redhat.com>
Tue, 12 Oct 2021 14:01:20 +0000 (16:01 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Mon, 25 Oct 2021 18:14:24 +0000 (20:14 +0200)
commitd73dde0fc7e34c61e2051a2f355177a6243a01af
treec750d428d7bc0931e764b3382a0b3a63a8f4fe8c
parent4271670a839ccd72f2a5b52e01feefa4d9ab383e
adopt: fix rbd mirror adoption

The rbd mirroring is broken because cephadm doesn't bindmount /etc/ceph anymore.
It means the keyrings and ceph config file aren't available after the
migration.
The idea here is to remove the current rbd mirror peer and add it back
to the mon config store so we aren't bound to the /etc/ceph directory.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1967440
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 9c794aa9bcfab177f437f503bda0ff37dceca319)
infrastructure-playbooks/cephadm-adopt.yml