24 lines
504 B
Bash
Executable File
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
|