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

2014-12-17 Thread Belmiro Moreira
Hi Vish, do you have more info about the libvirt deadlocks that you observed? Maybe I'm observing the same on SLC6 where I can't even kill libvirtd process. Belmiro On Tue, Dec 16, 2014 at 12:01 AM, Vishvananda Ishaya vishvana...@gmail.com wrote: I have seen deadlocks in libvirt that could

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

2014-12-17 Thread Vishvananda Ishaya
There have been a few, but we were specifically hitting this one: https://www.redhat.com/archives/libvir-list/2014-March/msg00501.html Vish On Dec 17, 2014, at 7:03 AM, Belmiro Moreira moreira.belmiro.email.li...@gmail.com wrote: Hi Vish, do you have more info about the libvirt deadlocks

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

2014-12-15 Thread Vishvananda Ishaya
I have seen deadlocks in libvirt that could cause this. When you are in this state, check to see if you can do a virsh list on the node. If not, libvirt is deadlocked, and ubuntu may need to pull in a fix/newer version. Vish On Dec 12, 2014, at 2:12 PM, pcrews glee...@gmail.com wrote: On

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

2014-12-13 Thread Christopher Yeoh
If force delete doesn't work please do submit the bug report along with as much of the relevant nova logs as you can. Even better if it's easily repeatable with devstack. Chris On Sat, 13 Dec 2014 at 8:43 am, pcrews glee...@gmail.com wrote: On 12/09/2014 03:54 PM, Ken'ichi Ohmichi wrote: Hi,

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

2014-12-12 Thread pcrews
On 12/09/2014 03:54 PM, Ken'ichi Ohmichi wrote: Hi, This case is always tested by Tempest on the gate. https://github.com/openstack/tempest/blob/master/tempest/api/compute/servers/test_delete_server.py#L152 So I guess this problem wouldn't happen on the latest version at least. Thanks

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

2014-12-09 Thread Joe Gordon
On Sat, Dec 6, 2014 at 5:08 PM, Danny Choi (dannchoi) dannc...@cisco.com wrote: Hi, I have a VM which is in ERROR state. +--+--+++-++ | ID

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

2014-12-09 Thread Ken'ichi Ohmichi
Hi, This case is always tested by Tempest on the gate. https://github.com/openstack/tempest/blob/master/tempest/api/compute/servers/test_delete_server.py#L152 So I guess this problem wouldn't happen on the latest version at least. Thanks Ken'ichi Ohmichi --- 2014-12-10 6:32 GMT+09:00 Joe

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

2014-12-08 Thread Danny Choi (dannchoi)
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 thefossg...@gmail.commailto:thefossg...@gmail.com To: OpenStack Development Mailing List (not for usage questions)

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

2014-12-07 Thread foss geek
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,

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

2014-12-07 Thread foss geek
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: thefossg...@gmail.com IRC: neophy Blog : http://lmohanphy.livejournal.com/ On Sun,

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

2014-12-06 Thread Danny Choi (dannchoi)
Hi, I have a VM which is in ERROR state. +--+--+++-++ | ID | Name | Status | Task State

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

2014-12-06 Thread Xu (Simon) Chen
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.