Rackspace seems to be returning NULL status lately on some calls to get
the stack status before returning a valid status in the next call. If we
exit the script it will fail the build too soon.
Change-Id: Ia18938d27a316712e0c20d0703405f4163fe295b
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
;;
*)
echo "Unexpected status: $OS_STATUS"
- exit 1
+ # DO NOT exit on unexpected status. Rackspace sometimes returns unexpected status
+ # before returning an expected status. Just print the message and loop until we have
+ # a confirmed state or timeout.
+ # exit 1
;;
esac
done