From 0ae742c3b9267dd6ffd7ae0a4dcdfd9147dc63ea Mon Sep 17 00:00:00 2001 From: Aaron Rosen Date: Thu, 21 Feb 2013 12:10:30 -0800 Subject: [PATCH] Fix hard coded quantum url and port Fixes bug 1131384 Change-Id: I88804808e9b2c2d181a3c74af82bd3fad05f63cc --- lib/quantum | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/quantum b/lib/quantum index 61a5218e5d..daf945a9c4 100644 --- a/lib/quantum +++ b/lib/quantum @@ -348,7 +348,7 @@ function start_quantum_service_and_check() { # Start the Quantum service screen_it q-svc "cd $QUANTUM_DIR && python $QUANTUM_DIR/bin/quantum-server --config-file $QUANTUM_CONF --config-file /$Q_PLUGIN_CONF_FILE" echo "Waiting for Quantum to start..." - if ! timeout $SERVICE_TIMEOUT sh -c "while ! http_proxy= wget -q -O- http://127.0.0.1:9696; do sleep 1; done"; then + if ! timeout $SERVICE_TIMEOUT sh -c "while ! http_proxy= wget -q -O- http://$Q_HOST:$Q_PORT; do sleep 1; done"; then echo "Quantum did not start" exit 1 fi