From 75a6c3bc9f9569b615b055597e9d73a9bccef287 Mon Sep 17 00:00:00 2001 From: Martin André Date: Wed, 15 Apr 2015 17:24:04 +0900 Subject: 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 --- tools/status | 47 ----------------------------------------------- 1 file changed, 47 deletions(-) delete mode 100755 tools/status (limited to 'tools/status') 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 -- cgit v1.2.3