d1f5adb7e1
Add grenade plugin under devstack folder to support cold migration verified by grenade job. Implement blueprint: cold-migration Co-Authored-By: wangxiyuan<wangxiyuan@huawei.com> Change-Id: I9c399ee7fcac0f9d3488084cb0c0718882952eaf
26 lines
539 B
Bash
Executable File
26 lines
539 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
|
|
|
|
# Keep track of the DevStack directory
|
|
ZAQAR_DEVSTACK_DIR=$(dirname "$0")/..
|
|
source $ZAQAR_DEVSTACK_DIR/settings
|
|
source $ZAQAR_DEVSTACK_DIR/plugin.sh
|
|
|
|
set -o xtrace
|
|
|
|
for serv in zaqar-websocket; do
|
|
stop_process $serv
|
|
done
|
|
|
|
uwsgi --stop $ZAQAR_UWSGI_MASTER_PIDFILE |