Red Hat Bugzilla – Bug 1473271
Raise MiqProvisionError if instance is in error state
Last modified: 2017-12-18 15:27:26 EST
Description of problem:
if an error is raised in automation it can take all the checkprovisioned runs to catch it, which means a deployment can fail after 2 hours of run time.
Version-Release number of selected component (if applicable):
all the time
Steps to Reproduce:
1.set up a provision that will fail due to a provider side issue
the provision fails at the end of check_provisioned's 101 checks instead of raising the error immediately
the error is raised through the provision
this change made it to 5.8.0 - https://github.com/ManageIQ/manageiq/pull/13608/commits/58f4224ae96f38c703555829dc89bae6561e3fe2
Tzu-Mainn - Can you take a look and confirm if we can back-port just the commit listed in this BZ description. The other changes in the PR seem unrelated.
If so I would ask that we create a PR on the Euwe branch with just that commit change. Thanks.
Sam, what do you think?
Looks to me like that commit should do the trick. I've put up a backport PR here: https://github.com/ManageIQ/manageiq/pull/15629
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.