association seems to take a bit longer on multi host configs
This commit is contained in:
parent
70506b1b74
commit
9d8e8cf1ee
1 changed files with 2 additions and 2 deletions
|
@ -123,7 +123,7 @@ FLOATING_IP=`nova floating-ip-list | grep None | head -1 | cut -d '|' -f2 | sed
|
||||||
nova add-floating-ip $NAME $FLOATING_IP
|
nova add-floating-ip $NAME $FLOATING_IP
|
||||||
|
|
||||||
# sleep for a smidge
|
# sleep for a smidge
|
||||||
sleep 1
|
sleep 5
|
||||||
|
|
||||||
# ping our floating ip
|
# ping our floating ip
|
||||||
ping -c1 -w1 $FLOATING_IP
|
ping -c1 -w1 $FLOATING_IP
|
||||||
|
@ -132,7 +132,7 @@ ping -c1 -w1 $FLOATING_IP
|
||||||
nova secgroup-delete-rule $SECGROUP icmp -1 -1 0.0.0.0/0
|
nova secgroup-delete-rule $SECGROUP icmp -1 -1 0.0.0.0/0
|
||||||
|
|
||||||
# sleep for a smidge
|
# sleep for a smidge
|
||||||
sleep 1
|
sleep 5
|
||||||
|
|
||||||
# ping our floating ip
|
# ping our floating ip
|
||||||
if ( ping -c1 -w1 $FLOATING_IP ); then
|
if ( ping -c1 -w1 $FLOATING_IP ); then
|
||||||
|
|
Loading…
Reference in a new issue