Skip to content

Commit

Permalink
cephadm-adopt: fix rbd-mirror adoption
Browse files Browse the repository at this point in the history
The recent rbdmirror refactor introduced a regression in the
cephadm-adopt playbook.
Given that the rbd-mirror peer addition is now done by using the monitor
config-key store method during the cluster deployment, we can drop this
play from the cephadm-adopt.yml playbook.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=2140569

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
  • Loading branch information
guits committed Nov 14, 2022
1 parent 590e57c commit 779523f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion infrastructure-playbooks/cephadm-adopt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,9 @@
gather_facts: true
tasks:
- name: store existing rbd mirror peers in monitor config store
when: ceph_rbd_mirror_configure | default(False) | bool
when:
- ceph_rbd_mirror_configure | default(True) | bool
- ceph_rbd_mirror_remote_user is undefined
block:
- name: import ceph-defaults
import_role:
Expand Down

0 comments on commit 779523f

Please sign in to comment.