← Back to team overview

openstack team mailing list archive

Re: [nova] VM stucks in deleting task state

 

Hi, Hien,
	I had same problem. The only way that I can get rid of it is to
remove the record for that instance from the following 3 mysql db tables in
the following order.

	security_group_instance_association
	instance_info_caches
	instances

	hope that helps.

Tong Li
Emerging Technologies & Standards



From:	Hien Phan <phanquochien@xxxxxxxxx>
To:	openstack@xxxxxxxxxxxxxxxxxxx
Date:	07/12/2012 02:08 PM
Subject:	[Openstack] [nova] VM stucks in deleting task state
Sent by:	openstack-bounces+litong01=us.ibm.com@xxxxxxxxxxxxxxxxxxx



Hello list,

I've just installed Openstack Essex on Ubuntu 12.04. Everything works well
except one problem I just faced:
When I try terminate VM in dashboard. It stuck in deleting ask for few
hours until now. I can not connect VM. I try reboot using nova command and
error :

root@openstack-node01:~# nova reboot hien-vm02
ERROR: Cannot 'reboot' while instance is in task_state deleting (HTTP 409)
root@openstack-node01:~# nova reboot hien-vm01
ERROR: Cannot 'reboot' while instance is in task_state deleting (HTTP 409)
root@openstack-node01:~# nova list
+--------------------------------------+-----------+--------+-------------------------------------+

|                  ID                  |    Name   | Status |
Networks              |
+--------------------------------------+-----------+--------+-------------------------------------+

| b924a325-b07f-480b-9a31-3049736fbfde | hien-vm02 | ACTIVE |
private=172.16.1.35, 192.168.255.34 |
| e7908096-83e6-480d-9131-efa4ea73ca0d | hien-vm01 | ACTIVE |
private=172.16.1.34, 192.168.255.33 |
+--------------------------------------+-----------+--------+-------------------------------------+




Openstack Dashboard screenshot image: http://i.imgur.com/7e4cf.png

How i can delete VMs completely ?
Thanks in advance.
--
Best regards,
Phan Quoc Hien


_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

GIF image


Follow ups

References