From 4947c87d2ebed536a767a1c629f53a19de182c72 Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Mon, 12 Sep 2022 15:07:19 +0200 Subject: [PATCH] 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 665601bf8aae1b98e1e3efdb91c1f1914f0316ae) --- roles/ceph-rbd-mirror/tasks/configure_mirroring.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/roles/ceph-rbd-mirror/tasks/configure_mirroring.yml b/roles/ceph-rbd-mirror/tasks/configure_mirroring.yml index de547a786..07d01b35d 100644 --- a/roles/ceph-rbd-mirror/tasks/configure_mirroring.yml +++ b/roles/ceph-rbd-mirror/tasks/configure_mirroring.yml @@ -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