From 0fda8badd2e16edc65a624c34f0d09809bf9b22c Mon Sep 17 00:00:00 2001 From: prithiv Date: Wed, 4 May 2016 17:11:33 +0100 Subject: [PATCH] Deletes fake containers on cleanup Closes-Bug: #1576277 Change-Id: Ie68d1d5da620f26a0aa21aa5c6473bc464994ed8 --- tools/cleanup-containers | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/cleanup-containers b/tools/cleanup-containers index 261e1b8b8f..7148bd3cf0 100755 --- a/tools/cleanup-containers +++ b/tools/cleanup-containers @@ -41,7 +41,8 @@ else ) ceph_osd_bootstrap=$(docker ps -a --filter "name=bootstrap_osd_*" --format "{{.Names}}") ceph_osd_containers=$(docker ps -a --filter "name=ceph_osd_*" --format "{{.Names}}") - containers_to_kill="${containers_to_kill} ${ceph_osd_containers} ${ceph_osd_bootstrap}" + fake_containers=$(docker ps -a --filter "name=neutron_openvswitch_agent_fake_*" --filter "name=nova_compute_fake_*" --format "{{.Names}}") + containers_to_kill="${containers_to_kill} ${ceph_osd_containers} ${ceph_osd_bootstrap} ${fake_containers}" volumes_to_remove=( ceph_mon{,_config} \