From: Guillaume Abrioux Date: Mon, 12 Sep 2022 13:07:19 +0000 (+0200) Subject: rbd-mirror: fix multiple rbd-mirror daemon support X-Git-Tag: v4.0.70.17 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=cf36d5e8e8943c5649f8a69de9e5872dd5838b20;p=ceph-ansible.git rbd-mirror: fix multiple rbd-mirror daemon support This `run_once: true` breaks multiple rbd-mirror daemons support as it would make all rbd-mirror daemons use the same keyring. Each rbd-mirror daemon needs its own keyring in order to start. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=2037646 Signed-off-by: Guillaume Abrioux (cherry picked from commit cfe6ca7adff566b3bb7c02661d0629775125947e) --- diff --git a/roles/ceph-rbd-mirror/tasks/configure_mirroring.yml b/roles/ceph-rbd-mirror/tasks/configure_mirroring.yml index ac664f6c3..ce2e5518d 100644 --- a/roles/ceph-rbd-mirror/tasks/configure_mirroring.yml +++ b/roles/ceph-rbd-mirror/tasks/configure_mirroring.yml @@ -64,7 +64,6 @@ CEPH_CONTAINER_BINARY: "{{ container_binary }}" register: _rbd_mirror_key delegate_to: "{{ groups.get(mon_group_name)[0] }}" - run_once: true no_log: "{{ no_log_on_ceph_key_tasks }}" - name: copy ceph key