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: thefossg...@gmail.com
IRC: neophy
Blog : http://lmohanphy.livejournal.com/



On Sun, Dec 7, 2014 at 7:17 PM, Danny Choi (dannchoi) <dannc...@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" <xche...@gmail.com>
> To: "OpenStack Development Mailing List (not for usage questions)"
> <openstack-dev@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_oqo1nhf0njghhx7er...@mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
>  Try "nova reset-state --active uuid".
>
>  On Saturday, December 6, 2014, Danny Choi (dannchoi) <dannc...@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@lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
_______________________________________________
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to