solum assembly delete does not delete heat-stack/nova instance on failure

Bug #1340297 reported by Paul Czarkowski on 2014-07-10
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Solum
Medium
Devdatta Kulkarni

Bug Description

I create an assembly but nova fails to launch a VM because the scheduler doesn't find a valid host ( not enough memory ).

I then delete that assembly which succeeds, but the resultant heat stack and nova instance remain ( in a failed state ).

agrant@devstack:~/devstack$ solum assembly list
+--------------------------------------+-------+-------------+--------+
| uuid | name | description | status |
+--------------------------------------+-------+-------------+--------+
| b7c9242c-faf0-4b1a-9b4a-7c0e79e2960b | osatx | None | ERROR |
+--------------------------------------+-------+-------------+--------+
vagrant@devstack:~/devstack$ solum assembly delete b7c9242c-faf0-4b1a-9b4a-7c0e79e2960b
vagrant@devstack:~/devstack$ nova list
+--------------------------------------+-------+--------+------------+-------------+------------------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+-------+--------+------------+-------------+------------------------------+
| 2888e764-ef8d-4f58-9a6d-1a6d5864648e | osatx | ERROR | - | NOSTATE | private=10.0.0.2, 172.24.4.3 |
+--------------------------------------+-------+--------+------------+-------------+------------------------------+
vagrant@devstack:~/devstack$ nova list
+--------------------------------------+-------+--------+------------+-------------+------------------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+-------+--------+------------+-------------+------------------------------+
| 2888e764-ef8d-4f58-9a6d-1a6d5864648e | osatx | ERROR | - | NOSTATE | private=10.0.0.2, 172.24.4.3 |
+--------------------------------------+-------+--------+------------+-------------+------------------------------+
vagrant@devstack:~/devstack$ nova list
+--------------------------------------+-------+--------+------------+-------------+------------------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+-------+--------+------------+-------------+------------------------------+
| 2888e764-ef8d-4f58-9a6d-1a6d5864648e | osatx | ERROR | - | NOSTATE | private=10.0.0.2, 172.24.4.3 |
+--------------------------------------+-------+--------+------------+-------------+------------------------------+
vagrant@devstack:~/devstack$ heat stack-list
+--------------------------------------+--------------------------------------------+---------------+----------------------+
| id | stack_name | stack_status | creation_time |
+--------------------------------------+--------------------------------------------+---------------+----------------------+
| d06cd411-30fb-4b33-9592-f11d0757f286 | osatx-b7c9242c-faf0-4b1a-9b4a-7c0e79e2960b | CREATE_FAILED | 2014-07-10T16:44:54Z |
+--------------------------------------+--------------------------------------------+---------------+----------------------+
vagrant@devstack:~/devstack$ solum assembly list
+------+------+-------------+--------+
| uuid | name | description | status |
+------+------+-------------+--------+
+------+------+-------------+--------+

Adrian Otto (aotto) wrote :

Instead of accumulating orphaned resources, we should delete them, and leave only the assembly in a failed state.

Changed in solum:
status: New → Triaged
importance: Undecided → Low
Adrian Otto (aotto) on 2015-06-12
Changed in solum:
milestone: none → 2015.1.1
importance: Low → Medium
Adrian Otto (aotto) on 2015-06-16
Changed in solum:
assignee: nobody → Devdatta (devdatta-kulkarni)
tags: added: solum-deployer
Changed in solum:
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers