From: Guillaume Abrioux Date: Wed, 29 Sep 2021 04:47:58 +0000 (+0200) Subject: debug: dnm X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=75be8af0cdc450b6a8d97958f953569e2bbd662b;p=ceph-ansible.git debug: dnm dnm Signed-off-by: Guillaume Abrioux --- 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