Print Heat stack before create/update to debug logs
Change-Id: I72e3366f9933f4a8d4caac5cd11b20dcffa664ee
This commit is contained in:
parent
e22142d94a
commit
b2d74a8a44
@ -127,9 +127,13 @@ class ClusterStack(object):
|
||||
'files': self.files}
|
||||
|
||||
if not update_existing:
|
||||
LOG.debug("Creating Heat stack with args: {args}"
|
||||
.format(args=kwargs))
|
||||
b.execute_with_retries(heat.stacks.create, **kwargs)
|
||||
else:
|
||||
stack = h.get_stack(self.cluster.name)
|
||||
LOG.debug("Updating Heat stack {stack} with args: "
|
||||
"{args}".format(stack=stack, args=kwargs))
|
||||
b.execute_with_retries(stack.update, **kwargs)
|
||||
|
||||
self.heat_stack = h.get_stack(self.cluster.name)
|
||||
|
Loading…
Reference in New Issue
Block a user