commit e0f444396309cc0275e58900d6b398deeb44935d
Author: James Slagle <email address hidden>
Date: Fri Dec 6 08:37:40 2019 -0500
Exit 1 if a container fails and return the error
When a container's volumes failed validation, paunch still exited 0.
This caused the deployment to continue running even though not all
containers had been started.
This patch changes the rc to 1 when a container's volumes fail
validation and the container can't be started. The error message is also
returned in stderr so that it's available to the paunch ansible module
and will be seen in the deployment output.
Reviewed: https:/ /review. opendev. org/698570 /git.openstack. org/cgit/ openstack/ paunch/ commit/ ?id=e0f44439630 9cc0275e58900d6 b398deeb44935d
Committed: https:/
Submitter: Zuul
Branch: stable/train
commit e0f444396309cc0 275e58900d6b398 deeb44935d
Author: James Slagle <email address hidden>
Date: Fri Dec 6 08:37:40 2019 -0500
Exit 1 if a container fails and return the error
When a container's volumes failed validation, paunch still exited 0.
This caused the deployment to continue running even though not all
containers had been started.
This patch changes the rc to 1 when a container's volumes fail
validation and the container can't be started. The error message is also
returned in stderr so that it's available to the paunch ansible module
and will be seen in the deployment output.
Depends-On: I1f062b8b9f936e 6fbf2febf64244e 91b59b8ba1b f4dcaca9ec9597c 41f56792fca b12fb931d3a3480 982a76574e)
Change-Id: I67860a79572c0f
Closes-Bug: #1855444
(cherry picked from commit 3ab0936c03dfdd8