According bug description, if the nova instances goto error, the cluster
building poll still work until timeout. To solve this problem, instance
task status was added in the cluster building poll detection.
Also provide a test case to validate the method.
Reviewed: https:/ /review. openstack. org/518639 /git.openstack. org/cgit/ openstack/ trove/commit/ ?id=d7286833e1c bd7b1263f97ed38 c8606fd6437904
Committed: https:/
Submitter: Zuul
Branch: master
commit d7286833e1cbd7b 1263f97ed38c860 6fd6437904
Author: wangyao <email address hidden>
Date: Thu Nov 9 09:37:20 2017 +0800
Stop polling if nova instances goto error
According bug description, if the nova instances goto error, the cluster
building poll still work until timeout. To solve this problem, instance
task status was added in the cluster building poll detection.
Also provide a test case to validate the method.
Change-Id: Id772d5528c93fc d061aa9d2b2e56c 89229ad655c
Closes-Bug: #1516763