From 729744c6a8c69f5fdf66b67fb28063297996e30a Mon Sep 17 00:00:00 2001 From: =?UTF-8?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=UTF-8 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 (cherry picked from commit ebc901c6af67300f7b7b8da1b2d0a74147798da5) --- 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 }}"