Deletion of Instance is not possible when created Instance in Error State

Bug #1443457 reported by Noel Nelson Dsouza
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Nova
New
Undecided
Unassigned

Bug Description

Created instance with image file. But some time i may find that instance creation in error state, and then i want to delete that instance through cli or dashboard, but I am not able to delete it..

CLI i use : nova delete vmname.

According to me delete command always work.. Please suggest the inputs.

Thank you in advance

Regards
Noel

affects: glance → nova-project
summary: - Deletion of Instance is not possible when Instance in Error State
+ Deletion of Instance is not possible when created Instance in Error
+ State
Revision history for this message
Ankit Agrawal (ankitagrawal) wrote :

Can you please also check instance task_state and the error logs you get, while deleting the instance.

Revision history for this message
Noel Nelson Dsouza (noelnelson) wrote :

Ankit,

Thank you for your reply.

I am facing this issue not every time, if i get this issue again i will collect all the details as you mentioned above and post in this bug thread.

Regards
Noel Nelson Dsouza

Revision history for this message
Noel Nelson Dsouza (noelnelson) wrote :

Please find the details,

Version : Juno OpenStack Devstack

stack@onecloud-Standard-PC-i440FX-PIIX-1996:~/devstack$ nova list
+--------------------------------------+------+--------+------------+-------------+------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+------+--------+------------+-------------+------------------+
| 6e7def69-3a5d-4132-9357-23e6106ed401 | vm1 | ERROR | spawning | NOSTATE | private=10.0.0.2 |
+--------------------------------------+------+--------+------------+-------------+------------------+

stack@onecloud-Standard-PC-i440FX-PIIX-1996:~/devstack$ nova delete vm1
Request to delete server vm1 has been accepted.

stack@onecloud-Standard-PC-i440FX-PIIX-1996:~/devstack$ nova list
+--------------------------------------+------+--------+------------+-------------+------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+------+--------+------------+-------------+------------------+
| 6e7def69-3a5d-4132-9357-23e6106ed401 | vm1 | ERROR | - | NOSTATE | private=10.0.0.2 |
+--------------------------------------+------+--------+------------+-------------+------------------+

Regards
Noel Nelson Dsouza

Revision history for this message
Noel Nelson Dsouza (noelnelson) wrote :

Please Note,

 Task_state spawning to '-' state.

After that nova delete vm1 -- command executed..

Provide inputs for above.

Thank you in advance

Regards
Noel Nelson Dsouza

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.