commit 65f063f946662bb85308b030922caac086ab4e5f
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/698571 /git.openstack. org/cgit/ openstack/ paunch/ commit/ ?id=65f063f9466 62bb85308b03092 2caac086ab4e5f
Committed: https:/
Submitter: Zuul
Branch: stable/stein
commit 65f063f946662bb 85308b030922caa c086ab4e5f
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