Interrupted stack-update leaves undeletable stack
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
In Progress
|
High
|
Steven Hardy |
Bug Description
After doing a series of updates on a tripleo overcloud, I interrupted one by restarting the heat-engine, which as expected set the stack to UPDATE_FAILED.
I then attempted to delete the stack, which proved impossible, due to a persistent error deleting the backup stack:
[-] Unexpected exception in delete: The Resource Type (OS::TripleO:
[-] Stack DELETE FAILED (overcloud): The Resource Type (OS::TripleO:
[-] Unhandled error in asynchronous task
Traceback (most recent call last):
.py", line 127, in log_exceptions
gt.wait()
File "/usr/lib/
return self._exit_
File "/usr/lib/
current.
File "/usr/lib/
result = function(*args, **kwargs)
.py", line 118, in _start_with_trace
return func(*args, **kwargs)
File "/usr/lib/
return f(*args, **kwargs)
File "/usr/lib/
{'func': func.__name__, 'msg': errmsg})
File "/usr/lib/
six.
File "/usr/lib/
return func(stack, *args, **kwargs)
File "/usr/lib/
if backup_stack:
File "/usr/lib/
return len(self.resources)
File "/usr/lib/
self.
File "/usr/lib/
for (name, data) in
File "/usr/lib/
resource_
File "/usr/lib/
raise exception.
StackValidatio
I'm not sure if this is due to the recent changes to the environment re TemplateResource class generation, but the root cause appears to be an inconsistent stored template/
In this case, it seems like we need to tolerate the StackValidation
Changed in heat: | |
assignee: | nobody → Steven Hardy (shardy) |
importance: | Undecided → High |
status: | New → Triaged |
Fix proposed to branch: master /review. openstack. org/264275
Review: https:/