diff options
| author | Jenkins <jenkins@review.openstack.org> | 2015-03-23 20:06:29 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2015-03-23 20:06:29 +0000 |
| commit | 73725e535bb406986bd977833ca1c74b46dcdf3b (patch) | |
| tree | a32ef1335fd1d1a9c6e6cf1de3bc9ece5e42f6e5 /tools | |
| parent | 12b00b2959cc25c228c0e6cca099c5079963ccc9 (diff) | |
| parent | 3f036e3f9355aca39e4a28b74740df5342481920 (diff) | |
| download | kolla-73725e535bb406986bd977833ca1c74b46dcdf3b.tar.gz kolla-73725e535bb406986bd977833ca1c74b46dcdf3b.zip | |
Merge "Add a stop command to shut down Kolla AIO"
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/stop | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/tools/stop b/tools/stop new file mode 100755 index 000000000..1c0eb25c6 --- /dev/null +++ b/tools/stop @@ -0,0 +1,35 @@ +#!/bin/bash +# +# This script can be used to start a minimal set of containers that allows +# you to boot an instance. Note that it requires that you have some openstack +# clients available: keystone, glance, and nova, as well as mysql to ensure +# services are up. You will also need these in order to interact with the +# installation once started. + +# Move to top level directory +REAL_PATH=$(python -c "import os,sys;print os.path.realpath('$0')") +cd "$(dirname "$REAL_PATH")/.." + +echo Stopping rabbitmq. +docker-compose -f ./compose/rabbitmq.yml stop + +echo Stopping mariadb. +docker-compose -f ./compose/mariadb.yml stop + +echo Stopping keystone. +docker-compose -f ./compose/keystone.yml stop + +echo Stopping glance. +docker-compose -f ./compose/glance-api-registry.yml stop + +echo Stopping nova. +docker-compose -f ./compose/nova-api-conductor-scheduler.yml stop + +echo Stopping nova compute with nova networking. +docker-compose -f ./compose/nova-compute-network.yml stop + +echo Stopping heat. +docker-compose -f ./compose/heat-api-engine.yml stop + +echo Stopping Horizon. +docker-compose -f ./compose/horizon.yml stop |
