From 75be8af0cdc450b6a8d97958f953569e2bbd662b Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Wed, 29 Sep 2021 06:47:58 +0200 Subject: [PATCH] debug: dnm dnm Signed-off-by: Guillaume Abrioux --- roles/ceph-dashboard/tasks/configure_dashboard.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/roles/ceph-dashboard/tasks/configure_dashboard.yml b/roles/ceph-dashboard/tasks/configure_dashboard.yml index 992989d9f..1b2850b22 100644 --- a/roles/ceph-dashboard/tasks/configure_dashboard.yml +++ b/roles/ceph-dashboard/tasks/configure_dashboard.yml @@ -258,6 +258,9 @@ - name: set the rgw credentials command: "{{ container_exec_cmd }} ceph --cluster {{ cluster }} dashboard set-rgw-credentials" changed_when: false + register: result + until: result is succeeded + retries: 5 - name: set the rgw admin resource command: "{{ container_exec_cmd }} ceph --cluster {{ cluster }} dashboard set-rgw-api-admin-resource {{ dashboard_rgw_api_admin_resource }}" @@ -270,6 +273,9 @@ when: - dashboard_rgw_api_no_ssl_verify | bool - radosgw_frontend_ssl_certificate | length > 0 + rescue: + - name: sleep + command: sleep 365d - name: dashboard iscsi management when: groups.get(iscsi_gw_group_name, []) | length > 0