[Openstack] [nova] VM stucks in deleting task state

Sébastien Han han.sebastien at gmail.com
Thu Jul 12 19:48:09 UTC 2012


http://www.sebastien-han.fr/blog/2012/07/10/delete-a-vm-in-an-error-state/


On Thu, Jul 12, 2012 at 8:34 PM, Tong Li <litong01 at us.ibm.com> wrote:

>  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
>
> [image: Inactive hide details for Hien Phan ---07/12/2012 02:08:58
> PM---Hello list, I've just installed Openstack Essex on Ubuntu 12.04]Hien
> Phan ---07/12/2012 02:08:58 PM---Hello list, I've just installed Openstack
> Essex on Ubuntu 12.04. Everything works well
>
> From: Hien Phan <phanquochien at gmail.com>
> To: openstack at lists.launchpad.net
> Date: 07/12/2012 02:08 PM
> Subject: [Openstack] [nova] VM stucks in deleting task state
> Sent by: openstack-bounces+litong01=us.ibm.com at lists.launchpad.net
> ------------------------------
>
>
>
> 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 at openstack-node01:~# nova reboot hien-vm02
> ERROR: Cannot 'reboot' while instance is in task_state deleting (HTTP 409)
> root at openstack-node01:~# nova reboot hien-vm01
> ERROR: Cannot 'reboot' while instance is in task_state deleting (HTTP 409)
> root at 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*<http://i.imgur.com/7e4cf.png>
>
> How i can delete VMs completely ?
> Thanks in advance.
> --
> Best regards,
> Phan Quoc Hien
> *
> * <http://www.mrhien.info/>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120712/127bce90/attachment.html>


More information about the Openstack mailing list