Jakub Libosvar 29b4ccbd41 Remove side-car containers in Create status
The change Ib3c41a8bee349856d21f360595e41a9eafd79323 added a mechanism
to remove side-car containers before spawning a new one for the same
network.

For dnsmasq side-car, it matches on container statuses Exited
and Created, while all remaining containers match on Exited only.
However if a node running side-car is shut down ungracefully, containers
end in Created status and wrapper script won't be able to start the
containers because they already exist.

This is a forward port to ussuri because we went back to the puppet
managed versions after issues with the ansible version.

Change-Id: I7909cd18c7a123d64d24ebc33167d415a8cfb228
(cherry picked from commit 378580d3d8b3909c113e8d5c9bcae1fbf3315376)
2021-07-07 07:32:51 -06:00
..