[Openstack-operators] manually deleting instances

pborghard at choopa.com pborghard at choopa.com
Mon Jan 14 23:15:40 UTC 2013


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> 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> 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>
>> http://lists.openstack.org/**cgi-bin/mailman/listinfo/**
>>
openstack-operators<http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators>
>>



More information about the OpenStack-operators mailing list