Merge "Catching 500 from heat during stack-create"

This commit is contained in:
Jenkins 2014-04-04 07:34:00 +00:00 committed by Gerrit Code Review
commit a8d1dde57f

View File

@ -475,6 +475,11 @@ class Overcloud(base.APIResourceWrapper):
self.stack.stack_name)]
except heatclient.exc.HTTPNotFound:
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:
return [Resource(r, request=self._request) for r in resources]