[openstack-dev] [qa] How to delete a VM which is in ERROR state?

foss geek thefossgeek at gmail.com
Sun Dec 7 15:47:30 UTC 2014


Also try with nova force-delete after reset:

$ nova help force-delete
usage: nova force-delete <server>

Force delete a server.

Positional arguments:
  <server>  Name or ID of server.

-- 
Thanks & Regards
E-Mail: thefossgeek at gmail.com
IRC: neophy
Blog : http://lmohanphy.livejournal.com/


On Sun, Dec 7, 2014 at 9:10 PM, foss geek <thefossgeek at gmail.com> wrote:

> Have you tried to delete after reset?
>
> # nova reset-state --active  <Name or ID of server>
>
> #  nova delete <Name or ID of server>
>
> It works well for me if the VM state is error state.
>
>
> --
> Thanks & Regards
> E-Mail: thefossgeek at gmail.com
> IRC: neophy
> Blog : http://lmohanphy.livejournal.com/
>
>
>
> On Sun, Dec 7, 2014 at 7:17 PM, Danny Choi (dannchoi) <dannchoi at cisco.com>
> wrote:
>
>>  That does not work.
>>
>>  It put the VM in ACTIVE Status, but in NOSTATE Power State.
>>
>>  Subsequent delete still won’t remove the VM.
>>
>>
>> +--------------------------------------+----------------------------------------------+--------+------------+-------------+--------------------+
>>
>> | ID                                   | Name
>>             | Status | Task State | Power State | Networks           |
>>
>>
>> +--------------------------------------+----------------------------------------------+--------+------------+-------------+--------------------+
>> | 1cb5bf96-619c-4174-baae-dd0d8c3d40c5 |
>> cirros--1cb5bf96-619c-4174-baae-dd0d8c3d40c5 | ACTIVE | -          |
>> NOSTATE     |                    |
>>
>>
>>  Regards,
>> Danny
>>
>>
>>  Date: Sat, 6 Dec 2014 21:25:30 -0500
>> From: "Xu (Simon) Chen" <xchenum at gmail.com>
>> To: "OpenStack Development Mailing List (not for usage questions)"
>> <openstack-dev at lists.openstack.org>
>> Subject: Re: [openstack-dev] [qa] How to delete a VM which is in ERROR
>> state?
>> Message-ID:
>> <CAGNyuhV=r+YGMfTd+D-y7=vRUzQ8o_oQo1Nhf0nJghHX7erGLQ at mail.gmail.com>
>> Content-Type: text/plain; charset="utf-8"
>>
>>  Try "nova reset-state --active uuid".
>>
>>  On Saturday, December 6, 2014, Danny Choi (dannchoi) <dannchoi at cisco.com
>> >
>> wrote:
>>
>>    Hi,
>>
>>    I have a VM which is in ERROR state.
>>
>>
>>
>> +--------------------------------------+----------------------------------------------+--------+------------+-------------+--------------------+
>>
>>  | ID                                   | Name
>>              | Status | Task State | Power State | Networks           |
>>
>>
>>
>> +--------------------------------------+----------------------------------------------+--------+------------+-------------+--------------------+
>>
>>  | 1cb5bf96-619c-4174-baae-dd0d8c3d40c5 |
>> cirros--1cb5bf96-619c-4174-baae-dd0d8c3d40c5 | ERROR  | -          |
>> NOSTATE     |                    |
>>
>>    I tried in both CLI ?nova delete? and Horizon ?terminate instance?.
>> Both accepted the delete command without any error.
>> However, the VM never got deleted.
>>
>>    Is there a way to remove the VM?
>>
>>    Thanks,
>> Danny
>>
>>
>> _______________________________________________
>> OpenStack-dev mailing list
>> OpenStack-dev at lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20141207/df74b300/attachment.html>


More information about the OpenStack-dev mailing list