From f1b8eec20dfe3bd7a9cec8ac6107eff71ff8bc80 Mon Sep 17 00:00:00 2001
From: Mauricio Lima <mauriciolimab@gmail.com>
Date: Fri, 19 Feb 2016 13:11:20 -0500
Subject: [PATCH] Update cleanup-containers to remove ceph containers

TrivialFix

Change-Id: Ia47429a38503d4982049c3fa1fc6fca4a8000fbd
---
 tools/cleanup-containers | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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 \
-- 
GitLab