
When tls-proxy is enabled, few functions in lib/tls relies on lib/apache functions (restart_apache_server, stop_apache_server, enable_apache_site, enable_apache_mod). It is thus necessary to source lib/apache whenever lib/tls is used. Change-Id: Ia9ffdc490d0cba04a084d572312e177b19791585
26 lines
534 B
Bash
Executable File
26 lines
534 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/apache
|
|
source $BASE_DEVSTACK_DIR/lib/tls
|
|
source $BASE_DEVSTACK_DIR/lib/cinder
|
|
|
|
set -o xtrace
|
|
|
|
# BUG: do we really need this?
|
|
SCSI_PERSIST_DIR=$CINDER_STATE_PATH/volumes/*
|
|
|
|
stop_cinder
|
|
|
|
# sanity check that services are actually down
|
|
ensure_services_stopped cinder-api
|