podman/create: make containers_to_check more realistic
containers_to_check is a list of containers that run something and then
exit with a return code. Later we will check what their return code is
and make sure the containers didn't fail before we continue with the
deployment.
Also, if a container failed to be created or updated; we don't want to include
it in the list that contains the containers in which we want to check if
the returned RC is valid; since we already know the container didn't
terminate correctly.
Reviewed: https:/ /review. opendev. org/729238 /git.openstack. org/cgit/ openstack/ tripleo- ansible/ commit/ ?id=d160d8c4b0e 54dcb0089c85933 5415f6fa99d6cd
Committed: https:/
Submitter: Zuul
Branch: master
commit d160d8c4b0e54dc b0089c859335415 f6fa99d6cd
Author: Emilien Macchi <email address hidden>
Date: Tue May 19 08:44:20 2020 -0400
podman/create: make containers_to_check more realistic
containers_ to_check is a list of containers that run something and then
exit with a return code. Later we will check what their return code is
and make sure the containers didn't fail before we continue with the
deployment.
Also, if a container failed to be created or updated; we don't want to include
it in the list that contains the containers in which we want to check if
the returned RC is valid; since we already know the container didn't
terminate correctly.
Closes-Bug: #1878405 4babaae601f3ba6 2b6d48659da
Change-Id: Ia3a985d923c5f4