diff --git a/AUTHORS b/AUTHORS index 820a677385..bca25b43e7 100644 --- a/AUTHORS +++ b/AUTHORS @@ -11,6 +11,7 @@ Eddie Hebert Eoghan Glynn Gabriel Hurley Hengqing Hu +Hua ZHANG Jake Dahn James E. Blair Jason Cannavale diff --git a/stack.sh b/stack.sh index a7891afe54..e66f71d163 100755 --- a/stack.sh +++ b/stack.sh @@ -1723,7 +1723,7 @@ if is_service_enabled key; then # launch keystone and wait for it to answer before continuing screen_it key "cd $KEYSTONE_DIR && $KEYSTONE_DIR/bin/keystone-all --config-file $KEYSTONE_CONF $KEYSTONE_LOG_CONFIG -d --debug" echo "Waiting for keystone to start..." - if ! timeout $SERVICE_TIMEOUT sh -c "while http_proxy= wget -O- $KEYSTONE_AUTH_PROTOCOL://$SERVICE_HOST:$KEYSTONE_API_PORT/v2.0/ 2>&1 | grep -q 'refused'; do sleep 1; done"; then + if ! timeout $SERVICE_TIMEOUT sh -c "while ! http_proxy= wget -O- $KEYSTONE_AUTH_PROTOCOL://$SERVICE_HOST:$KEYSTONE_API_PORT/v2.0/ 2>&1 | grep -q '200 OK'; do sleep 1; done"; then echo "keystone did not start" exit 1 fi