Revert "Remove startup check from devstack"
This reverts commit 4a1a6b3766
. It didn't
improve the situation, and at least it's failing early.
Conflicts:
devstack/plugin.sh
Change-Id: Idf16037e6a3bbc7f915e12827348eda663721d5e
This commit is contained in:
parent
a68a03a228
commit
30c72fa978
@ -242,6 +242,12 @@ function start_zaqar {
|
||||
cat $ZAQAR_UWSGI_CONF
|
||||
run_process zaqar-wsgi "$ZAQAR_BIN_DIR/uwsgi --ini $ZAQAR_UWSGI_CONF --pidfile2 $ZAQAR_UWSGI_MASTER_PIDFILE"
|
||||
run_process zaqar-websocket "$ZAQAR_BIN_DIR/zaqar-server --config-file $ZAQAR_CONF"
|
||||
|
||||
echo "Waiting for Zaqar to start..."
|
||||
token=$(openstack token issue -c id -f value)
|
||||
if ! timeout $SERVICE_TIMEOUT sh -c "while ! wget --no-proxy -q --header=\"Client-ID:$(uuidgen)\" --header=\"X-Auth-Token:$token\" -O- $ZAQAR_SERVICE_PROTOCOL://$ZAQAR_SERVICE_HOST:$ZAQAR_SERVICE_PORT/v2/ping; do sleep 1; done"; then
|
||||
die $LINENO "Zaqar did not start"
|
||||
fi
|
||||
}
|
||||
|
||||
# stop_zaqar() - Stop running processes
|
||||
|
Loading…
Reference in New Issue
Block a user