stack delete fails although all resources are deleted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
In Progress
|
Undecided
|
Vishakha Agarwal |
Bug Description
This is very similar to [1]. We're running Ocata on openSUSE Leap 42.3, with heat version:
openstack-
We were trying to launch a stack where volumes are created from images, then they are supposed to be attached to instances. After the stack failed, we tried to delete it, but it's stuck with status "Delete_
---cut here---
control:~ # openstack stack list
+------
| ID | Stack Name | Stack Status | Creation Time |
+------
| c687176c-94c7 | stack1 | DELETE_IN_PROGRESS | 2018-04-
+------
control:~ # openstack stack resource list c687176c-94c7
+------
| resource_name | phys_res | resource_type | resource_status |
+------
| xxxx201_router | e14ada6c | OS::Neutron::Router | DELETE_COMPLETE |
| xxxx201_router_mgr | e14ada6c | OS::Neutron:
| xxxx201-vda | 85c801a5 | OS::Cinder::Volume | DELETE_COMPLETE |
| xxx_subnet | 5c456eda | OS::Neutron::Subnet | DELETE_COMPLETE |
| xxxx201-admin | dda3b9c6 | OS::Nova::Server | DELETE_COMPLETE |
| xxxx_floating_port | 47d35e66 | OS::Neutron::Port | DELETE_COMPLETE |
| xxxx201-vdb | e7c5377c | OS::Cinder::Volume | DELETE_COMPLETE |
| xxxx201-vdc | fa3b793a | OS::Cinder::Volume | DELETE_COMPLETE |
| xxxx201-vda | beab6790 | OS::Cinder::Volume | DELETE_COMPLETE |
| mgr_net | 55e17138 | OS::Neutron::Net | DELETE_COMPLETE |
+------
---cut here---
The stack trace says the deleting process canceled during check_resource:
---cut here---
2018-04-20 09:27:38.651 24724 INFO heat.engine.stack [req-b5ace8fc-
2018-04-20 09:27:38.764 24724 INFO heat.engine.worker [req-b5ace8fc-
2018-04-20 09:27:39.059 24724 INFO heat.engine.stack [req-b5ace8fc-
2018-04-20 09:27:39.128 24724 INFO heat.engine.stack [req-b5ace8fc-
2018-04-20 09:27:39.246 24724 INFO heat.engine.stack [req-b5ace8fc-
2018-04-20 09:27:39.284 24718 ERROR heat.engine.worker [req-b5ace8fc-
2018-04-20 09:27:39.284 24718 ERROR heat.engine.worker Traceback (most recent call last):
2018-04-20 09:27:39.284 24718 ERROR heat.engine.worker File "/usr/lib/
2018-04-20 09:27:39.284 24718 ERROR heat.engine.worker return func(*args, **kwargs)
2018-04-20 09:27:39.284 24718 ERROR heat.engine.worker File "/usr/lib/
2018-04-20 09:27:39.284 24718 ERROR heat.engine.worker cnxt, resource_id, resource_data, is_update)
2018-04-20 09:27:39.284 24718 ERROR heat.engine.worker File "/usr/lib/
2018-04-20 09:27:39.284 24718 ERROR heat.engine.worker is_update, cache_data)
2018-04-20 09:27:39.284 24718 ERROR heat.engine.worker File "/usr/lib/
2018-04-20 09:27:39.284 24718 ERROR heat.engine.worker stack=db_stack)
2018-04-20 09:27:39.284 24718 ERROR heat.engine.worker File "/usr/lib/
2018-04-20 09:27:39.284 24718 ERROR heat.engine.worker load_template=
2018-04-20 09:27:39.284 24718 ERROR heat.engine.worker File "/usr/lib/
2018-04-20 09:27:39.284 24718 ERROR heat.engine.worker context, stack.raw_
2018-04-20 09:27:39.284 24718 ERROR heat.engine.worker File "/usr/lib/
2018-04-20 09:27:39.284 24718 ERROR heat.engine.worker t = template_
2018-04-20 09:27:39.284 24718 ERROR heat.engine.worker File "/usr/lib/
2018-04-20 09:27:39.284 24718 ERROR heat.engine.worker raw_template_db = db_api.
2018-04-20 09:27:39.284 24718 ERROR heat.engine.worker File "/usr/lib/
2018-04-20 09:27:39.284 24718 ERROR heat.engine.worker result = context.
2018-04-20 09:27:39.284 24718 ERROR heat.engine.worker File "/usr/lib64/
2018-04-20 09:27:39.284 24718 ERROR heat.engine.worker return self._get_
2018-04-20 09:27:39.284 24718 ERROR heat.engine.worker File "/usr/lib64/
2018-04-20 09:27:39.284 24718 ERROR heat.engine.worker if len(ident) != len(mapper.
2018-04-20 09:27:39.284 24718 ERROR heat.engine.worker TypeError: object of type 'NoneType' has no len()
---cut here---
Expected result:
If all resources have been deleted successfully, the stack itself should be deleted, too.
Actual result:
The stack seems to check for resources that aren't available anymore (deleted successfully), and gets stuck in "delete_
description: | updated |
Changed in heat: | |
milestone: | none → no-priority-tag-bugs |
Changed in heat: | |
assignee: | nobody → Vishakha Agarwal (vishakha.agarwal) |
Is there a kind of rule or guideline in which case to use what? I didn't know about StoryBoard before and for future reference I'd like to know when to use launchpad or StoryBoard.