Both “delete” and “force-delete” did not work for me; they failed to remove the 
VM.

Danny


Date: Sun, 7 Dec 2014 21:17:30 +0530
From: foss geek <[email protected]<mailto:[email protected]>>
To: "OpenStack Development Mailing List (not for usage questions)"
<[email protected]<mailto:[email protected]>>
Subject: Re: [openstack-dev] [qa] How to delete a VM which is in ERROR
state?
Message-ID:
<cadxhynxtvakcg58s2_ym5koozm6yufk9urok7wxtceya7oa...@mail.gmail.com<mailto:cadxhynxtvakcg58s2_ym5koozm6yufk9urok7wxtceya7oa...@mail.gmail.com>>
Content-Type: text/plain; charset="utf-8"

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: [email protected]<mailto:[email protected]>
IRC: neophy
Blog : http://lmohanphy.livejournal.com/


On Sun, Dec 7, 2014 at 9:10 PM, foss geek 
<[email protected]<mailto:[email protected]>> 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: [email protected]<mailto:[email protected]>
IRC: neophy
Blog : http://lmohanphy.livejournal.com/



On Sun, Dec 7, 2014 at 7:17 PM, Danny Choi (dannchoi) 
<[email protected]<mailto:[email protected]>>
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

_______________________________________________
OpenStack-dev mailing list
[email protected]
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to