Fix return code when failing before launching the stack
Until now when a configuration error was detected early during the
pre-deployment verifications, the command would correctly return before
attempting to create/update the Heat stack, however the return code
would still show as '0', preventing scripts from picking up the
problem.
Change-Id: I8bd16e9753618e4c234440d7a6626e0ce4bd9972
Closes-Bug: #1672790
(cherry picked from commit 28051613c9c1c5231140981fca76fa704af55d5d)
Reviewed: https:/ /review. openstack. org/452634 /git.openstack. org/cgit/ openstack/ python- tripleoclient/ commit/ ?id=fe3ece15f6b 18401abc1d17aa4 4cb620409e1365
Committed: https:/
Submitter: Jenkins
Branch: stable/ocata
commit fe3ece15f6b1840 1abc1d17aa44cb6 20409e1365
Author: Julie Pichon <email address hidden>
Date: Thu Mar 16 11:09:00 2017 +0000
Fix return code when failing before launching the stack
Until now when a configuration error was detected early during the
pre-deployment verifications, the command would correctly return before
attempting to create/update the Heat stack, however the return code
would still show as '0', preventing scripts from picking up the
problem.
Change-Id: I8bd16e9753618e 4c234440d7a6626 e0ce4bd9972 31140981fca76fa 704af55d5d)
Closes-Bug: #1672790
(cherry picked from commit 28051613c9c1c52