]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
rbd-mirror: fix multiple rbd-mirror daemon support
authorGuillaume Abrioux <gabrioux@redhat.com>
Mon, 12 Sep 2022 13:07:19 +0000 (15:07 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Tue, 13 Sep 2022 08:39:26 +0000 (10:39 +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 665601bf8aae1b98e1e3efdb91c1f1914f0316ae)

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

index de547a7866bea830473d40927900059211fd7cd6..07d01b35d44ee770d5dd712230110b9b5710e8c6 100644 (file)
@@ -71,7 +71,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