Merge "Catching 500 from heat during stack-create"
This commit is contained in:
commit
a8d1dde57f
@ -475,6 +475,11 @@ class Overcloud(base.APIResourceWrapper):
|
|||||||
self.stack.stack_name)]
|
self.stack.stack_name)]
|
||||||
except heatclient.exc.HTTPNotFound:
|
except heatclient.exc.HTTPNotFound:
|
||||||
resources = []
|
resources = []
|
||||||
|
except heatclient.exc.HTTPInternalServerError:
|
||||||
|
# TODO(lsmola) There is a weird bug in heat, that after
|
||||||
|
# stack-create it returns 500 for a little while. This can be
|
||||||
|
# removed once the bug is fixed.
|
||||||
|
resources = []
|
||||||
|
|
||||||
if not with_joins:
|
if not with_joins:
|
||||||
return [Resource(r, request=self._request) for r in resources]
|
return [Resource(r, request=self._request) for r in resources]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user