| ... | ... |
@@ -644,7 +644,7 @@ fi |
| 644 | 644 |
if [[ "$ENABLED_SERVICES" =~ "g-api" ]]; then |
| 645 | 645 |
screen_it g-api "cd $GLANCE_DIR; bin/glance-api --config-file=etc/glance-api.conf" |
| 646 | 646 |
echo "Waiting for g-api ($GLANCE_HOSTPORT) to start..." |
| 647 |
- if ! timeout 600 sh -c "while ! wget -q -O- http://$GLANCE_HOSTPORT; do sleep 1; done"; then |
|
| 647 |
+ if ! timeout 60 sh -c "while ! wget -q -O- http://$GLANCE_HOSTPORT; do sleep 1; done"; then |
|
| 648 | 648 |
echo "g-api did not start" |
| 649 | 649 |
exit 1 |
| 650 | 650 |
fi |
| ... | ... |
@@ -654,7 +654,7 @@ fi |
| 654 | 654 |
if [[ "$ENABLED_SERVICES" =~ "key" ]]; then |
| 655 | 655 |
screen_it key "cd $KEYSTONE_DIR && $KEYSTONE_DIR/bin/keystone --config-file $KEYSTONE_CONF -d" |
| 656 | 656 |
echo "Waiting for keystone to start..." |
| 657 |
- if ! timeout 600 sh -c "while ! wget -q -O- http://127.0.0.1:5000; do sleep 1; done"; then |
|
| 657 |
+ if ! timeout 60 sh -c "while ! wget -q -O- http://127.0.0.1:5000; do sleep 1; done"; then |
|
| 658 | 658 |
echo "keystone did not start" |
| 659 | 659 |
exit 1 |
| 660 | 660 |
fi |
| ... | ... |
@@ -664,7 +664,7 @@ fi |
| 664 | 664 |
if [[ "$ENABLED_SERVICES" =~ "n-api" ]]; then |
| 665 | 665 |
screen_it n-api "cd $NOVA_DIR && $NOVA_DIR/bin/nova-api" |
| 666 | 666 |
echo "Waiting for nova-api to start..." |
| 667 |
- if ! timeout 600 sh -c "while ! wget -q -O- http://127.0.0.1:8774; do sleep 1; done"; then |
|
| 667 |
+ if ! timeout 60 sh -c "while ! wget -q -O- http://127.0.0.1:8774; do sleep 1; done"; then |
|
| 668 | 668 |
echo "nova-api did not start" |
| 669 | 669 |
exit 1 |
| 670 | 670 |
fi |
| ... | ... |
@@ -18,7 +18,7 @@ run_bm STACKMASTER $HEAD_HOST "ENABLED_SERVICES=g-api,g-reg,key,n-api,n-sch,n-vn |
| 18 | 18 |
# Wait till the head node is up |
| 19 | 19 |
if [ ! "$TERMINATE" = "1" ]; then |
| 20 | 20 |
echo "Waiting for head node ($HEAD_HOST) to start..." |
| 21 |
- if ! timeout 600 sh -c "while ! wget -q -O- http://$HEAD_HOST | grep -q username; do sleep 1; done"; then |
|
| 21 |
+ if ! timeout 60 sh -c "while ! wget -q -O- http://$HEAD_HOST | grep -q username; do sleep 1; done"; then |
|
| 22 | 22 |
echo "Head node did not start" |
| 23 | 23 |
exit 1 |
| 24 | 24 |
fi |