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

Danny Choi (dannchoi) dannchoi at cisco.com
Sun Dec 7 13:47:26 UTC 2014


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<mailto:xchenum at gmail.com>>
To: "OpenStack Development Mailing List (not for usage questions)"
<openstack-dev at lists.openstack.org<mailto: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<mailto: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<mailto: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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20141207/3764b53e/attachment.html>


More information about the OpenStack-dev mailing list