Skip to content

Commit

Permalink
dashboard: retry setting rgw-credentials
Browse files Browse the repository at this point in the history
for some reason, this task can fail in the CI.
Adding a retry can help to avoid this failure.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit f8d4982)
  • Loading branch information
guits committed Sep 30, 2021
1 parent c204166 commit af96456
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions roles/ceph-dashboard/tasks/configure_dashboard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,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
rescue:
- name: create radosgw system user
radosgw_user:
Expand Down

0 comments on commit af96456

Please sign in to comment.