Until now, only environment files were tested for their eXistenZ. This
patch corrects this issue, allowing to get a graceful failure before
plan is compiled and uploaded.
The following files are now checked, and deploy will gracefully fail in
case of non-existing file:
- plan-environment-file
- answers-file
- networks-file
No Bioport nor Pod was harmed for this patch.
Change-Id: Ifd4229b68571fd6b91574675c1f04d7b5c755eab
Closes-Bug: #1834307
(cherry picked from commit bd354f1fc8ae7a36898a22e01e52815d85d8378d)
(cherry picked from commit f78809a3e3122f268bcc8fa1a9c12974735654b9)
Reviewed: https:/ /review. opendev. org/668689 /git.openstack. org/cgit/ openstack/ python- tripleoclient/ commit/ ?id=cb976f67295 9f3a14360390d6b c8b6ba8e873fa2
Committed: https:/
Submitter: Zuul
Branch: stable/rocky
commit cb976f672959f3a 14360390d6bc8b6 ba8e873fa2
Author: Cédric Jeanneret <email address hidden>
Date: Wed Jun 26 11:24:14 2019 +0200
Ensure files exist before building/uploading plan
Until now, only environment files were tested for their eXistenZ. This
patch corrects this issue, allowing to get a graceful failure before
plan is compiled and uploaded.
The following files are now checked, and deploy will gracefully fail in t-file
case of non-existing file:
- plan-environmen
- answers-file
- networks-file
No Bioport nor Pod was harmed for this patch.
Change-Id: Ifd4229b68571fd 6b91574675c1f04 d7b5c755eab 6898a22e01e5281 5d85d8378d) 68bcc8fa1a9c129 74735654b9)
Closes-Bug: #1834307
(cherry picked from commit bd354f1fc8ae7a3
(cherry picked from commit f78809a3e3122f2