Merge "cleanup: fix cleanup containers"

This commit is contained in:
Zuul 2023-09-11 15:22:14 +00:00 committed by Gerrit Code Review
commit b5aa2890c1

View File

@ -42,7 +42,10 @@ fi
echo "Stopping containers..." echo "Stopping containers..."
for container in ${containers_to_kill}; do for container in ${containers_to_kill}; do
sudo systemctl disable kolla-${container}-container.service
sudo systemctl stop kolla-${container}-container.service sudo systemctl stop kolla-${container}-container.service
sudo systemctl is-failed kolla-${container}-container.service && \
sudo systemctl reset-failed kolla-${container}-container.service
done done
echo "Removing containers..." echo "Removing containers..."