"Already has an action" is frustrating for the user when trying to delete an in-progress stack
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Triaged
|
Medium
|
Unassigned |
Bug Description
After creating a stack and have it stall, I tried to delete it, but got this error from python-heatclient:
Traceback (most recent call last):
File "/opt/stack/
result = self.applicatio
File "/opt/stack/
resp = self.call_func(req, *args, **self.kwargs)
File "/opt/stack/
return self.func(req, *args, **kwargs)
File "/opt/stack/
response = req.get_
File "/opt/stack/
application, catch_exc_
File "/opt/stack/
app_iter = application(
File "/opt/stack/
return self.app(env, start_response)
File "/opt/stack/
resp = self.call_func(req, *args, **self.kwargs)
File "/opt/stack/
return self.func(req, *args, **kwargs)
File "/opt/stack/
response = req.get_
File "/opt/stack/
application, catch_exc_
File "/opt/stack/
app_iter = application(
File "/opt/stack/
return resp(environ, start_response)
File "/opt/stack/
response = self.app(environ, start_response)
File "/opt/stack/
return resp(environ, start_response)
File "/opt/stack/
resp = self.call_func(req, *args, **self.kwargs)
File "/opt/stack/
return self.func(req, *args, **kwargs)
File "/opt/stack/
raise translate_
ActionInProgres
Traceback (most recent call last):
File "/opt/stack/
**args)
File "/opt/stack/
result = getattr(proxyobj, method)(ctxt, **kwargs)
File "/opt/stack/
return func(self, ctx, *args, **kwargs)
File "/opt/stack/
self.
ActionInProgress: Stack bignested already has an action (CREATE) in progress
Restarting heat-engine got rid of the error, but it should never have shown up in the first place IMO. Delete means you want to get rid of it. So we should queue it up and do it if the user has requested it and we can't quite make it happen right away.
Dupe of https:/ /bugs.launchpad .net/heat/ +bug/1211276 AFAICT?