Skip to content

Commit

Permalink
cephadm-adopt: Fixes rbd-mirror regression
Browse files Browse the repository at this point in the history
779523f introduced a regression
related to rbdmirrors tasks. They were executed while
ceph_rbd_mirror_remot_* variables were not set.

Signed-off-by: Teoman ONAY <[email protected]>
(cherry picked from commit 18cd35b)
  • Loading branch information
asm0deuz authored and mergify[bot] committed Aug 7, 2023
1 parent a4127a5 commit 7fa5312
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion infrastructure-playbooks/cephadm-adopt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,8 @@
- name: store existing rbd mirror peers in monitor config store
when:
- ceph_rbd_mirror_configure | default(True) | bool
- ceph_rbd_mirror_remote_user is undefined
- ceph_rbd_mirror_remote_user is defined
- ceph_rbd_mirror_remote_cluster is defined
block:
- name: import ceph-defaults
import_role:
Expand Down

0 comments on commit 7fa5312

Please sign in to comment.