diff options
| author | Martin André <martin.andre@kvhasia.com> | 2015-04-15 17:24:04 +0900 |
|---|---|---|
| committer | Martin André <martin.andre@kvhasia.com> | 2015-04-16 14:56:48 +0900 |
| commit | 75a6c3bc9f9569b615b055597e9d73a9bccef287 (patch) | |
| tree | 3aba42c1259d0dc7dca1311a70cb7b1540cfe5f2 /tools/stop | |
| parent | b3bee1b927ee98d29cb03be8f383038753cc073f (diff) | |
| download | kolla-75a6c3bc9f9569b615b055597e9d73a9bccef287.tar.gz kolla-75a6c3bc9f9569b615b055597e9d73a9bccef287.zip | |
Introduce `tools/kolla` to interact with kolla
This is supposed to prevent proliferation of scripts in "tools"
directory and reduce code duplication.
This first patch replaces tools/{start,stop,pull,status} scripts and
more commands are to be added in the future.
Change-Id: I3d99cf5033be8631d8e6f32a4c34d3b5ffcae7e8
Diffstat (limited to 'tools/stop')
| -rwxr-xr-x | tools/stop | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/tools/stop b/tools/stop deleted file mode 100755 index 3a3db3d51..000000000 --- a/tools/stop +++ /dev/null @@ -1,44 +0,0 @@ -#!/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")/.." - -NETWORK_MANAGER=$(grep -ri NETWORK_MANAGER compose/openstack.env | cut -f2 -d'=') - -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 - -if [[ "${NETWORK_MANAGER}" == "nova" ]] ; then - echo Stopping nova compute with nova networking. - docker-compose -f ./compose/nova-compute-network.yml stop -elif [[ "${NETWORK_MANAGER}" == "neutron" ]] ; then - echo Stopping nova compute with neutron networking. - docker-compose -f ./compose/nova-compute.yml stop - docker-compose -f ./compose/neutron-server.yml up -d - docker-compose -f ./compose/neutron-agents.yml stop -fi - -echo Stopping heat. -docker-compose -f ./compose/heat-api-engine.yml stop - -echo Stopping Horizon. -docker-compose -f ./compose/horizon.yml stop |
