Skip to content

Commit 9f41f5a

Browse files
auniyal61openshift-merge-bot[bot]
authored andcommitted
[edpm_deploy_baremetal] Add retry logic to OpenStackDataPlaneNodeSet wait task
Retrying up to 5 times with 10 second delays between attempts Related-Bug: OSPRH-22761 Signed-off-by: Amit Uniyal <auniyal61@gmail.com>
1 parent 7680a88 commit 9f41f5a

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

  • roles/edpm_deploy_baremetal/tasks

roles/edpm_deploy_baremetal/tasks/main.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,10 @@
289289
--namespace={{ cifmw_install_yamls_defaults['NAMESPACE'] }}
290290
--for=condition=ready
291291
--timeout={{ cifmw_edpm_deploy_baremetal_wait_dataplane_timeout_mins }}m
292-
292+
register: wait_result
293+
retries: 5
294+
delay: 10
295+
until: wait_result.rc == 0
293296

294297
- name: Run nova-manage discover_hosts to ensure compute nodes are mapped
295298
when: not cifmw_edpm_deploy_baremetal_dry_run

0 commit comments

Comments
 (0)