diff options
| author | Zuul <zuul@review.opendev.org> | 2023-09-11 15:22:14 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2023-09-11 15:22:14 +0000 |
| commit | b5aa2890c11ad78c29c23b99c4e5398240559a03 (patch) | |
| tree | f734af2bdfc916e136aff0b2920eb98942ab5316 /tools | |
| parent | 59514880271d734efdce5de624d7c59134c38bef (diff) | |
| parent | 40cf91aab62481429d012c7dffbe8d5897f220de (diff) | |
| download | kolla-ansible-b5aa2890c11ad78c29c23b99c4e5398240559a03.tar.gz kolla-ansible-b5aa2890c11ad78c29c23b99c4e5398240559a03.zip | |
Merge "cleanup: fix cleanup containers"
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/cleanup-containers | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/cleanup-containers b/tools/cleanup-containers index 549fa553d..d2759c598 100755 --- a/tools/cleanup-containers +++ b/tools/cleanup-containers @@ -42,7 +42,10 @@ fi echo "Stopping containers..." for container in ${containers_to_kill}; do +sudo systemctl disable 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 echo "Removing containers..." |
