Skip to content

Commit

Permalink
Fix handle_create of ResourceGroup
Browse files Browse the repository at this point in the history
When doing a non-batched create we call create_with_template(),
where we pass `self.stack.timeout_secs()` as `timeout_mins` which
increases the timeout by 60 times.

Change-Id: I225ece0d8e4b6cb4eba2d3a748bd3ce5cda4f5c9
Closes-Bug: #1705009
(cherry picked from commit 1591aca)
  • Loading branch information
rabi authored and ricolin committed Jul 27, 2017
1 parent 5034bc1 commit eae88de
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions heat/engine/resources/openstack/heat/resource_group.py
Expand Up @@ -364,8 +364,7 @@ def handle_create(self):
else:
names = self._resource_names()
self.create_with_template(self._assemble_nested(names),
self.child_params(),
self.stack.timeout_secs())
self.child_params())

def check_create_complete(self, checkers=None):
if checkers is None:
Expand Down

0 comments on commit eae88de

Please sign in to comment.