diff options
| author | Jenkins <jenkins@review.openstack.org> | 2015-04-21 16:37:55 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2015-04-21 16:37:55 +0000 |
| commit | a2eb42744baaf1c4af5e4dbbf11435622ec0c011 (patch) | |
| tree | 054d23a2c9a6dbe724a18c725bf9e5fd2ae49e2a /tools/status | |
| parent | 17fc2d9b475da15a571fe6ed1aa51fadc3b076cc (diff) | |
| parent | 75a6c3bc9f9569b615b055597e9d73a9bccef287 (diff) | |
| download | kolla-a2eb42744baaf1c4af5e4dbbf11435622ec0c011.tar.gz kolla-a2eb42744baaf1c4af5e4dbbf11435622ec0c011.zip | |
Merge "Introduce `tools/kolla` to interact with kolla"
Diffstat (limited to 'tools/status')
| -rwxr-xr-x | tools/status | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/tools/status b/tools/status deleted file mode 100755 index 8a1a18f7c..000000000 --- a/tools/status +++ /dev/null @@ -1,47 +0,0 @@ -#!/bin/bash -# -# This script can be used to check the Kolla containers deployed -# from the start script. - -if [[ $EUID -ne 0 ]]; then - echo "You must execute this script as root." 1>&2 - exit 1 -fi - -# Move to top level directory -REAL_PATH=$(python -c "import os,sys;print os.path.realpath('$0')") -cd "$(dirname "$REAL_PATH")/.." - -# Check what network manager is set in the ENV file. -NETWORK_MANAGER=$(grep -ri NETWORK_MANAGER compose/openstack.env | cut -f2 -d'=') - -echo Checking rabbitmq. -docker-compose -f ./compose/rabbitmq.yml ps - -echo Checking mariadb. -docker-compose -f ./compose/mariadb.yml ps - -echo Checking keystone. -docker-compose -f ./compose/keystone.yml ps - -echo Checking glance. -docker-compose -f ./compose/glance-api-registry.yml ps - -echo Checking nova. -docker-compose -f ./compose/nova-api-conductor-scheduler.yml ps - -if [[ "${NETWORK_MANAGER}" == "nova" ]] ; then - echo Checking nova compute with nova networking. - docker-compose -f ./compose/nova-compute-network.yml ps -elif [[ "${NETWORK_MANAGER}" == "neutron" ]] ; then - echo Checking nova compute with neutron networking. - docker-compose -f ./compose/nova-compute.yml ps - docker-compose -f ./compose/neutron-server.yml ps - docker-compose -f ./compose/neutron-agents.yml ps -fi - -echo Checking heat. -docker-compose -f ./compose/heat-api-engine.yml ps - -echo Checking Horizon. -docker-compose -f ./compose/horizon.yml ps |
