Use alphabetical order in cleanup-containers

TrivialFix
Change-Id: I95f2e6d17ba7960b2f87344f30b7884d621f9ecb
This commit is contained in:
Éric Lemoine 2016-03-03 08:13:17 +01:00
parent 491aff0b88
commit 97ae06341a

View File

@ -14,13 +14,16 @@ else
bootstrap_{ceph_mon,cinder,glance,heat,heka,ironic,ironic_pxe,keystone,magnum,mistral,mongodb,murano,neutron,nova,nova_compute} \
cinder_{volume,scheduler,backup,api} \
ceph_{mon,rgw} \
elasticsearch \
glance_{api,registry} \
haproxy \
heat_{api{,_cfn},engine} \
heka \
horizon \
ironic_{inspector,conductor,api,pxe} \
keepalived \
keystone \
kibana \
kolla_toolbox \
magnum_{api,conductor} \
manila_{api,share,scheduler} \
@ -32,29 +35,26 @@ else
nova_{scheduler,novncproxy,consoleauth,conductor,api,compute,libvirt,spicehtml5proxy,compute_ironic} \
openvswitch_{vswitchd,db} \
rabbitmq{,_bootstrap} \
heka \
swift_{account_{auditor,reaper,replicator,server},container_{auditor,replicator,server,updater},object_{auditor,expirer,replicator,server,updater},proxy_server,rsyncd} \
elasticsearch \
kibana
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}}")
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 \
ironic_pxe \
mariadb \
openvswitch_db \
neutron_metadata_socket \
nova_{compute,libvirt} \
ceph_mon{,_config} \
rabbitmq \
mongodb \
elasticsearch \
glance \
haproxy_socket \
heka{,_socket} \
ironic_pxe \
kolla_logs \
elasticsearch
mariadb \
mongodb \
neutron_metadata_socket \
nova_{compute,libvirt} \
openvswitch_db \
rabbitmq
)
fi