]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
rbd-mirror: fix multiple rbd-mirror daemon support v4.0.70.17
authorGuillaume Abrioux <gabrioux@redhat.com>
Mon, 12 Sep 2022 13:07:19 +0000 (15:07 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Mon, 12 Sep 2022 13:30:19 +0000 (15:30 +0200)
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 <gabrioux@redhat.com>
(cherry picked from commit cfe6ca7adff566b3bb7c02661d0629775125947e)

roles/ceph-rbd-mirror/tasks/configure_mirroring.yml

index ac664f6c38d09b8333803d3292ae6bee6e078a38..ce2e5518d990b8cf173ce5a68100bd85b10a1cdd 100644 (file)
@@ -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