From 1de475633860ac00c5e1b89d1fbd1d25a34e27b3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=A9bastien=20Han?= Date: Thu, 10 May 2018 10:38:55 -0700 Subject: [PATCH] rolling_update: move mgr key creation MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Until all the mons haven't been updated to Luminous, there is no way to create a key. So we should do the key creation in the mon role only if we are not part of an update. If we are then the key creation is done after the mons upgrade to Luminous. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1574995 Signed-off-by: Sébastien Han (cherry picked from commit 52fc8a0385a7bc58b8b33fc0c5e05db1a03c5c1f) Signed-off-by: Sébastien Han --- roles/ceph-mon/tasks/docker/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/ceph-mon/tasks/docker/main.yml b/roles/ceph-mon/tasks/docker/main.yml index 8654cce08..1e84410b3 100644 --- a/roles/ceph-mon/tasks/docker/main.yml +++ b/roles/ceph-mon/tasks/docker/main.yml @@ -128,5 +128,6 @@ when: - item.stat.exists == true when: + - not rolling_update - inventory_hostname == groups[mon_group_name]|last - ceph_release_num[ceph_release] >= ceph_release_num.luminous -- 2.47.3