Browse Source

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

changes/29/742729/1
Zuul 2 weeks ago
committed by Gerrit Code Review
parent
commit
d200546022
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      tripleo_common/templates/deployments.yaml

+ 2
- 0
tripleo_common/templates/deployments.yaml 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:


Loading…
Cancel
Save