]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
adopt: fix rbd mirror adoption v6.0.18
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:07 +0000 (20:14 +0200)
commite5ef104c578cb49cb261ede12ac0c75aff617232
tree036bf46df4fb9968f13ea59f40f026d95719a2b9
parentb1bdb708d0342f88b3b5549adf417fc24f2f939b
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