[Openstack-operators] manually deleting instances

Razique Mahroua razique.mahroua at gmail.com
Tue Jan 15 04:45:59 UTC 2013


You can also make sure instances are not indeed running by connecting to
the adequate hypervisor and perform an $ virsh list for instance.
Razique

Le mardi 15 janvier 2013, a écrit :

> You can set the state to be deleted in mysql.  This usually works for me,
> you can vary the 'where' statement to find the exact instance you're
> looking for(hostname, uuid, id, etc):
>
> mysql> use nova
>
> select * from instances where uuid='25ab2f48-508d-49a0-9a74-ee42e32c6674';
> update instances set vm_state='deleted' where
> uuid='25ab2f48-508d-49a0-9a74-ee42e32c6674';
> flush privileges;
>
>
>
> Peter
>
>
>
>
>
> On Mon, 14 Jan 2013 23:09:38 +0400, Alexander Rubtsov
> <arubtsov at mirantis.com <javascript:;>> wrote:
> > Hi, Nux
> >
> > Try delete them from database:
> >
>
> http://www.sebastien-han.fr/blog/2012/10/08/delete-a-vm-in-error-state-folsom/
> >
> http://www.sebastien-han.fr/blog/2012/07/10/delete-a-vm-in-an-error-state/
> >
> >
> > On Mon, Jan 14, 2013 at 8:43 PM, Nux! <nux at li.nux.ro <javascript:;>>
> wrote:
> >
> >> Hi,
> >>
> >> I'm stuck with some instances in "Deleting" mode for some reason.
> >> Terminating them from dashboard doesn't work.
> >> I also tried reseting the state with "nova reset-state", but all that
> >> gets
> >> me is:
> >> ERROR: Policy doesn't allow
> compute_extension:admin_**actions:resetState
> >> to be performed.
> >>
> >> What steps are to be performed when manually deleting instances?
> >>
> >> --
> >> Sent from the Delta quadrant using Borg technology!
> >>
> >> Nux!
> >> www.nux.ro
> >>
> >> ______________________________**_________________
> >> OpenStack-operators mailing list
> >>
> OpenStack-operators at lists.**openstack.org<
> OpenStack-operators at lists.openstack.org <javascript:;>>
> >> http://lists.openstack.org/**cgi-bin/mailman/listinfo/**
> >>
> openstack-operators<
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators>
> >>
>
> _______________________________________________
> OpenStack-operators mailing list
> OpenStack-operators at lists.openstack.org <javascript:;>
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>


-- 
*Nuage & Co - Razique Mahroua*
razique.mahroua at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20130115/8ca20f3c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: NUAGECO-LOGO-Fblan_petit.jpg
Type: image/jpeg
Size: 10122 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20130115/8ca20f3c/attachment.jpg>


More information about the OpenStack-operators mailing list