murano/devstack/upgrade/shutdown.sh

24 lines
548 B
Bash
Executable File

#!/bin/bash
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 $BASE_DEVSTACK_DIR/lib/apache
MURANO_DEVSTACK_DIR=$(dirname $(dirname $0))
source $MURANO_DEVSTACK_DIR/settings
source $MURANO_DEVSTACK_DIR/plugin.sh
set -o xtrace
stop_murano
# sanity check that service is actually down
ensure_services_stopped murano-api murano-engine