commit 3ab0936c03dfdd8b12fb931d3a3480982a76574e
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/697666 /git.openstack. org/cgit/ openstack/ paunch/ commit/ ?id=3ab0936c03d fdd8b12fb931d3a 3480982a76574e
Committed: https:/
Submitter: Zuul
Branch: master
commit 3ab0936c03dfdd8 b12fb931d3a3480 982a76574e
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
Change-Id: I67860a79572c0f
Closes-Bug: #1855444