[Openstack-operators] How to delete instances

Lorin Hochstein lorin at nimbisservices.com
Tue Aug 28 02:53:40 UTC 2012


On Aug 27, 2012, at 6:53 AM, Vivek Singh Raghuwanshi <vivekraghuwanshi at gmail.com> wrote:

> Hi All,
> 
> Please help me how i can remove some instances which are stucked in deletion phase.
> 
> root at node1:~# nova list
> +--------------------------------------+--------+--------+----------+
> |                  ID                  |  Name  | Status | Networks |
> +--------------------------------------+--------+--------+----------+
> | 507fbaaa-451e-40ab-90c4-32d01c767c63 | vikas  | BUILD  |          |
> | 5fc2ce61-f397-41d8-a1ad-4de3c6ab5212 | test1  | ACTIVE |          |
> | 98c4f7d0-d58e-4c5f-a34f-5d06c0250823 | redhat | ACTIVE |          |
> +--------------------------------------+--------+--------+----------+
> root at node1:~# nova delete vikas
> root at node1:~# nova delete test1
> root at node1:~# nova delete redhat
> root at node1:~# nova list
> +--------------------------------------+--------+--------+----------+
> |                  ID                  |  Name  | Status | Networks |
> +--------------------------------------+--------+--------+----------+
> | 507fbaaa-451e-40ab-90c4-32d01c767c63 | vikas  | BUILD  |          |
> | 5fc2ce61-f397-41d8-a1ad-4de3c6ab5212 | test1  | ACTIVE |          |
> | 98c4f7d0-d58e-4c5f-a34f-5d06c0250823 | redhat | ACTIVE |          |
> +--------------------------------------+--------+--------+----------+
> root at node1:~# 
> 
> 

Hi Vivek:

You should be able to use "nova reset-state" and then "nova-delete" in order to delete them if they're stuck. See http://docs.openstack.org/essex/openstack-compute/admin/content/reset-state.html



Take care,

Lorin
--
Lorin Hochstein
Lead Architect - Cloud Services
Nimbis Services, Inc.
www.nimbisservices.com


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20120827/1a4b42fa/attachment.html>


More information about the OpenStack-operators mailing list