1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
#!/bin/bash
#
#
set -o errexit
source $GRENADE_DIR/grenaderc
source $GRENADE_DIR/functions
source $BASE_DEVSTACK_DIR/functions
source $BASE_DEVSTACK_DIR/stackrc # needed for status directory
source $BASE_DEVSTACK_DIR/lib/tls
source $BASE_DEVSTACK_DIR/lib/apache
# Locate the aodh plugin and get its functions
AODH_DEVSTACK_DIR=$(dirname $(dirname $0))
source $AODH_DEVSTACK_DIR/plugin.sh
set -o xtrace
stop_aodh
# ensure everything is stopped
SERVICES_DOWN="aodh-api aodh-evaluator aodh-listener"
ensure_services_stopped $SERVICES_DOWN
|