During a deployment, there is a small chance that right after
55-heat-config run, the {{ deployment_uuid }}.notify.json file doesn't
exist yet on the filesystem.
This patch will retry to fetch the file during 20s and return an error
message if it can't be found.
Change-Id: Ia29944a07900ff36d5d4a5826cdd076d11864962
Closes-Bug: #1887846
(cherry picked from commit e6634751e5bb127e4513bb7fc6ce51ca4770a7e9)
Reviewed: https:/ /review. opendev. org/742185 /git.openstack. org/cgit/ openstack/ tripleo- common/ commit/ ?id=258a4af1469 8b09be588d5eba0 f9449fce994dde
Committed: https:/
Submitter: Zuul
Branch: stable/train
commit 258a4af14698b09 be588d5eba0f944 9fce994dde
Author: Emilien Macchi <email address hidden>
Date: Thu Jul 16 14:34:40 2020 -0400
Retry fetching {{ deployment_uuid }}.notify.json file
During a deployment, there is a small chance that right after
55-heat-config run, the {{ deployment_uuid }}.notify.json file doesn't
exist yet on the filesystem.
This patch will retry to fetch the file during 20s and return an error
message if it can't be found.
Change-Id: Ia29944a07900ff 36d5d4a5826cdd0 76d11864962 e4513bb7fc6ce51 ca4770a7e9)
Closes-Bug: #1887846
(cherry picked from commit e6634751e5bb127