Commit 77de1b96 authored by David Johnson's avatar David Johnson

Really wait until all VMs are running, not just the first result "page".

(The CLI clients do automatic result paging; who would ever think this is
a good idea to default to in an API?!)
parent a8a1c40a
Pipeline #1877 passed with stage
in 2 seconds
......@@ -121,7 +121,7 @@ allrunning=0
while [ $allrunning -eq 0 ]; do
print "*** Still waiting for nodes to reach Running state ..."
sleep 5
vsl=`nova list | awk ' / [0-9a-fA-F]*-[0-9a-fA-F-]* / { print $10 }' | xargs`
vsl=`nova list --limit -1 | awk ' / [0-9a-fA-F]*-[0-9a-fA-F-]* / { print $10 }' | xargs`
allrunning=1
for status in $vsl ; do
if [ ! "x$status" = "xRunning" ]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment