Remove automatic deletion of failed stacks
Prior to this patch, Magnum would delete stacks that entered the FAILED state. This resulted in the information about why the orchestration failed being lost to the user, and only avaialble in the system logs. Instead, keep the stack around so it can be inspected and delete it when the bay is deleted. Change-Id: Ie61b84ee00ea4f96580f5725e72ca35b855e0417 Closes-Bug: 1412213
This commit is contained in:
parent
c91ab4f571
commit
f579bc8235
|
@ -136,7 +136,6 @@ class Handler(object):
|
|||
(attempts_count > cfg.CONF.k8s_heat.max_attempts)):
|
||||
# TODO(yuanying): update status to failed
|
||||
LOG.error('Unable to create bay, stack_id: %s' % bay.stack_id)
|
||||
osc.heat().stacks.delete(bay.stack_id)
|
||||
raise loopingcall.LoopingCallDone()
|
||||
|
||||
lc = loopingcall.FixedIntervalLoopingCall(f=poll_and_check)
|
||||
|
|
Loading…
Reference in New Issue