From 4a1a6b3766b7cd63afff36307a8044cf3b848a31 Mon Sep 17 00:00:00 2001 From: Thomas Herve Date: Thu, 24 Nov 2016 09:29:30 +0100 Subject: [PATCH] Remove startup check from devstack The gate sometimes fails with "Zaqar did not start" without any way to know what's going on. Let's remove that check and let usage of Zaqar fails with proper error later on. Change-Id: I04692763eb15a849541eb1903bb0fad6c16435db --- devstack/plugin.sh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/devstack/plugin.sh b/devstack/plugin.sh index a9809b8ff..d1b0ec272 100755 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -231,12 +231,6 @@ function start_zaqar { cat $ZAQAR_UWSGI_CONF run_process zaqar-wsgi "uwsgi --ini $ZAQAR_UWSGI_CONF --pidfile2 $ZAQAR_UWSGI_MASTER_PIDFILE" run_process zaqar-websocket "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