Browse code

Merge "Always check keystone using http"

Jenkins authored on 2014/06/26 06:14:35
Showing 1 changed files
... ...
@@ -479,7 +479,10 @@ function start_keystone {
479 479
     fi
480 480
 
481 481
     echo "Waiting for keystone to start..."
482
-    if ! timeout $SERVICE_TIMEOUT sh -c "while ! curl --noproxy '*' -k -s $KEYSTONE_AUTH_PROTOCOL://$SERVICE_HOST:$service_port/v$IDENTITY_API_VERSION/ >/dev/null; do sleep 1; done"; then
482
+    # Check that the keystone service is running. Even if the tls tunnel
483
+    # should be enabled, make sure the internal port is checked using
484
+    # unencryted traffic at this point.
485
+    if ! timeout $SERVICE_TIMEOUT sh -c "while ! curl --noproxy '*' -k -s http://$KEYSTONE_SERVICE_HOST:$service_port/v$IDENTITY_API_VERSION/ >/dev/null; do sleep 1; done"; then
483 486
         die $LINENO "keystone did not start"
484 487
     fi
485 488