Merge "Retry fetching {{ deployment_uuid }}.notify.json file" into stable/ussuri

This commit is contained in:
Zuul 2020-07-22 19:14:47 +00:00 committed by Gerrit Code Review
commit 7bc2c54cf8
1 changed files with 2 additions and 0 deletions

View File

@ -185,6 +185,7 @@
- name: "Run deployment {{ item }}"
shell: |
/usr/libexec/os-refresh-config/configure.d/55-heat-config
timeout 20 bash -c -- 'while [ ! -f /var/lib/heat-config/deployed/{{ deployment_uuid }}.notify.json ]; do sleep 1; done'
exit $(jq .deploy_status_code /var/lib/heat-config/deployed/{{ deployment_uuid }}.notify.json)
become: true
environment:
@ -196,6 +197,7 @@
- name: "Run async deployment {{ item }}"
shell: |
/usr/libexec/os-refresh-config/configure.d/55-heat-config
timeout 20 bash -c -- 'while [ ! -f /var/lib/heat-config/deployed/{{ deployment_uuid }}.notify.json ]; do sleep 1; done'
exit $(jq .deploy_status_code /var/lib/heat-config/deployed/{{ deployment_uuid }}.notify.json)
become: true
environment: