deb-sahara/devstack/upgrade/shutdown.sh
Vitaly Gridnev 3bc9f05e9d Fix grenade
this commit fixes grenade job

Change-Id: I766d61cd0d8864f07c0cb1963b2efeadaf2a0b56
2016-05-16 17:14:51 +00:00

24 lines
504 B
Bash
Executable File

#!/bin/bash
# ``shutdown-sahara``
set -o errexit
source $GRENADE_DIR/grenaderc
source $GRENADE_DIR/functions
# We need base DevStack functions for this
source $BASE_DEVSTACK_DIR/functions
source $BASE_DEVSTACK_DIR/stackrc # needed for status directory
source $BASE_DEVSTACK_DIR/lib/tls
source ${GITDIR[sahara]}/devstack/plugin.sh
set -o xtrace
export ENABLED_SERVICES+=,sahara-api,sahara-eng,
stop_sahara
# sanity check that service is actually down
ensure_services_stopped sahara-api sahara-eng