aboutsummaryrefslogtreecommitdiff
path: root/tools/cleanup-containers
diff options
context:
space:
mode:
Diffstat (limited to 'tools/cleanup-containers')
-rwxr-xr-xtools/cleanup-containers4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/cleanup-containers b/tools/cleanup-containers
index 1ac6d6e31..d33ea0010 100755
--- a/tools/cleanup-containers
+++ b/tools/cleanup-containers
@@ -13,6 +13,7 @@ else
containers_to_kill=(
bootstrap_{ceph_mon,cinder,glance,heat,ironic,ironic_pxe,keystone,magnum,mistral,mongodb,murano,neutron,nova,nova_compute} \
cinder_{volume,scheduler,backup,api} \
+ ceph_{mon,rgw} \
glance_{api,registry} \
haproxy \
heat_{api{,_cfn},engine} \
@@ -35,7 +36,8 @@ else
swift_{account_{auditor,reaper,replicator,server},container_{auditor,replicator,server,updater},object_{auditor,expirer,replicator,server,updater},proxy_server,rsyncd}
)
ceph_osd_bootstrap=$(docker ps -a --filter "name=bootstrap_osd_*" --format "{{.Names}}")
- containers_to_kill="${containers_to_kill} ${ceph_osd_bootstrap}"
+ ceph_osd_containers=$(docker ps -a --filter "name=ceph_osd_*" --format "{{.Names}}")
+ containers_to_kill="${containers_to_kill} ${ceph_osd_containers} ${ceph_osd_bootstrap}"
volumes_to_remove=(
glance \