From c34027c3bac60453f0a2bfc786e3b388a6356a75 Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=A9bastien=20Han?= Date: Thu, 29 Nov 2018 14:26:41 +0100 Subject: [PATCH] rolling_update: do not fail on missing keys MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit We don't want to fail on key that are not present since they will get created after the mons are updated. They will be created by the task "create potentially missing keys (rbd and rbd-mirror)". Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1650572 Signed-off-by: Sébastien Han --- roles/ceph-mon/tasks/docker/fetch_configs.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/ceph-mon/tasks/docker/fetch_configs.yml b/roles/ceph-mon/tasks/docker/fetch_configs.yml index 53076e859..a1433e5e3 100644 --- a/roles/ceph-mon/tasks/docker/fetch_configs.yml +++ b/roles/ceph-mon/tasks/docker/fetch_configs.yml @@ -4,6 +4,7 @@ src: "{{ item.0 }}" dest: "{{ fetch_directory }}/{{ fsid }}/{{ item.0 }}" flat: yes + fail_on_missing: "{{ 'no' if rolling_update else 'yes' }}" with_together: - "{{ ceph_config_keys }}" - "{{ statconfig.results }}" -- 2.47.3