Re: [openstack-dev] [qa] How to delete a VM which is in ERROR state?
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 wrote: > 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 > wrote: > 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 wrote: > > > 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 > >> Ken'ichi Ohmichi > >> > >> --- > >> > >> 2014-12-10 6:32 GMT+09:00 Joe Gordon : > >>> > >>> > >>> On Sat, Dec 6, 2014 at 5:08 PM, Danny Choi (dannchoi) > >>> 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? > >>> > >>> > >>> What version of nova are you using? This is definitely a serious bug, you > >>> should be able to delete an instance in error state. Can you file a bug > >>> that > >>> includes steps on how to reproduce the bug along with all relevant logs. > >>> > >>> bugs.launchpad.net/nova > >>> > > > 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 > >>> > >> > >> ___ > >> OpenStack-dev mailing list > >> OpenStack-dev@lists.openstack.org > >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > >> > > Hi, > > > > I've encountered this in my own testing and have found that it appears to > > be tied to libvirt. > > > > When I hit this, reset-state as the admin user reports success (and state > > is set), *but* things aren't really working as advertised and subsequent > > attempts to do anything with the errant vm's will send them right back into > > 'FLAIL' / can't delete / endless DELETING mode. > > > > restarting libvirt-bin on my machine fixes this - after restart, the > > deleting vm's are properly wiped without any further user input to > > nova/horizon and all seems right in the world. > > > > using: > > devstack > > ubuntu 14.04 > > libvirtd (libvirt) 1.2.2 > > > > triggered via: > > lots of random create/reboot/resize/delete requests of varying validity and > > sanity. > > > > Am in the process of cleaning up my test code so as not to hurt anyone's > > brain with the ugly and will file a bug once done, but thought this worth > > sharing. > > > > Thanks, > > Patrick > > > > ___ > > 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 > ___ > 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
Re: [openstack-dev] [qa] How to delete a VM which is in ERROR state?
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 wrote: > > 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 wrote: > > > 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 > >> Ken'ichi Ohmichi > >> > >> --- > >> > >> 2014-12-10 6:32 GMT+09:00 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 | 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? > >>> > >>> > >>> What version of nova are you using? This is definitely a serious bug, > you > >>> should be able to delete an instance in error state. Can you file a > bug that > >>> includes steps on how to reproduce the bug along with all relevant > logs. > >>> > >>> bugs.launchpad.net/nova > >>> > > > 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 > >>> > >> > >> ___ > >> OpenStack-dev mailing list > >> OpenStack-dev@lists.openstack.org > >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > >> > > Hi, > > > > I've encountered this in my own testing and have found that it appears > to be tied to libvirt. > > > > When I hit this, reset-state as the admin user reports success (and > state is set), *but* things aren't really working as advertised and > subsequent attempts to do anything with the errant vm's will send them > right back into 'FLAIL' / can't delete / endless DELETING mode. > > > > restarting libvirt-bin on my machine fixes this - after restart, the > deleting vm's are properly wiped without any further user input to > nova/horizon and all seems right in the world. > > > > using: > > devstack > > ubuntu 14.04 > > libvirtd (libvirt) 1.2.2 > > > > triggered via: > > lots of random create/reboot/resize/delete requests of varying validity > and sanity. > > > > Am in the process of cleaning up my test code so as not to hurt anyone's > brain with the ugly and will file a bug once done, but thought this worth > sharing. > > > > Thanks, > > Patrick > > > > ___ > > 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 > ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [qa] How to delete a VM which is in ERROR state?
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 wrote: > 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 >> Ken'ichi Ohmichi >> >> --- >> >> 2014-12-10 6:32 GMT+09:00 Joe Gordon : >>> >>> >>> On Sat, Dec 6, 2014 at 5:08 PM, Danny Choi (dannchoi) >>> 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? >>> >>> >>> What version of nova are you using? This is definitely a serious bug, you >>> should be able to delete an instance in error state. Can you file a bug that >>> includes steps on how to reproduce the bug along with all relevant logs. >>> >>> bugs.launchpad.net/nova >>> 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 >>> >> >> ___ >> OpenStack-dev mailing list >> OpenStack-dev@lists.openstack.org >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev >> > Hi, > > I've encountered this in my own testing and have found that it appears to be > tied to libvirt. > > When I hit this, reset-state as the admin user reports success (and state is > set), *but* things aren't really working as advertised and subsequent > attempts to do anything with the errant vm's will send them right back into > 'FLAIL' / can't delete / endless DELETING mode. > > restarting libvirt-bin on my machine fixes this - after restart, the deleting > vm's are properly wiped without any further user input to nova/horizon and > all seems right in the world. > > using: > devstack > ubuntu 14.04 > libvirtd (libvirt) 1.2.2 > > triggered via: > lots of random create/reboot/resize/delete requests of varying validity and > sanity. > > Am in the process of cleaning up my test code so as not to hurt anyone's > brain with the ugly and will file a bug once done, but thought this worth > sharing. > > Thanks, > Patrick > > ___ > 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
Re: [openstack-dev] [qa] How to delete a VM which is in ERROR state?
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 wrote: > 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 > > Ken'ichi Ohmichi > > > > --- > > > > 2014-12-10 6:32 GMT+09:00 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 | 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? > >> > >> > >> What version of nova are you using? This is definitely a serious bug, > you > >> should be able to delete an instance in error state. Can you file a bug > that > >> includes steps on how to reproduce the bug along with all relevant logs. > >> > >> bugs.launchpad.net/nova > >> > >>> > >>> > >>> 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 > >> > > > > ___ > > OpenStack-dev mailing list > > OpenStack-dev@lists.openstack.org > > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > > > Hi, > > I've encountered this in my own testing and have found that it appears > to be tied to libvirt. > > When I hit this, reset-state as the admin user reports success (and > state is set), *but* things aren't really working as advertised and > subsequent attempts to do anything with the errant vm's will send them > right back into 'FLAIL' / can't delete / endless DELETING mode. > > restarting libvirt-bin on my machine fixes this - after restart, the > deleting vm's are properly wiped without any further user input to > nova/horizon and all seems right in the world. > > using: > devstack > ubuntu 14.04 > libvirtd (libvirt) 1.2.2 > > triggered via: > lots of random create/reboot/resize/delete requests of varying validity > and sanity. > > Am in the process of cleaning up my test code so as not to hurt anyone's > brain with the ugly and will file a bug once done, but thought this > worth sharing. > > Thanks, > Patrick > > ___ > 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
Re: [openstack-dev] [qa] How to delete a VM which is in ERROR state?
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 Ken'ichi Ohmichi --- 2014-12-10 6:32 GMT+09:00 Joe Gordon : On Sat, Dec 6, 2014 at 5:08 PM, Danny Choi (dannchoi) 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? What version of nova are you using? This is definitely a serious bug, you should be able to delete an instance in error state. Can you file a bug that includes steps on how to reproduce the bug along with all relevant logs. bugs.launchpad.net/nova 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 ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev Hi, I've encountered this in my own testing and have found that it appears to be tied to libvirt. When I hit this, reset-state as the admin user reports success (and state is set), *but* things aren't really working as advertised and subsequent attempts to do anything with the errant vm's will send them right back into 'FLAIL' / can't delete / endless DELETING mode. restarting libvirt-bin on my machine fixes this - after restart, the deleting vm's are properly wiped without any further user input to nova/horizon and all seems right in the world. using: devstack ubuntu 14.04 libvirtd (libvirt) 1.2.2 triggered via: lots of random create/reboot/resize/delete requests of varying validity and sanity. Am in the process of cleaning up my test code so as not to hurt anyone's brain with the ugly and will file a bug once done, but thought this worth sharing. Thanks, Patrick ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [qa] How to delete a VM which is in ERROR state?
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 Gordon : > > > On Sat, Dec 6, 2014 at 5:08 PM, Danny Choi (dannchoi) > 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? > > > What version of nova are you using? This is definitely a serious bug, you > should be able to delete an instance in error state. Can you file a bug that > includes steps on how to reproduce the bug along with all relevant logs. > > bugs.launchpad.net/nova > >> >> >> 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 > ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [qa] How to delete a VM which is in ERROR state?
On Sat, Dec 6, 2014 at 5:08 PM, Danny Choi (dannchoi) 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? > What version of nova are you using? This is definitely a serious bug, you should be able to delete an instance in error state. Can you file a bug that includes steps on how to reproduce the bug along with all relevant logs. bugs.launchpad.net/nova > > 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
Re: [openstack-dev] [qa] How to delete a VM which is in ERROR state?
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 mailto:thefossg...@gmail.com>> To: "OpenStack Development Mailing List (not for usage questions)" mailto:openstack-dev@lists.openstack.org>> Subject: Re: [openstack-dev] [qa] How to delete a VM which is in ERROR state? Message-ID: 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 Force delete a server. Positional arguments: Name or ID of server. -- Thanks & Regards E-Mail: thefossg...@gmail.com<mailto:thefossg...@gmail.com> IRC: neophy Blog : http://lmohanphy.livejournal.com/ On Sun, Dec 7, 2014 at 9:10 PM, foss geek mailto:thefossg...@gmail.com>> wrote: Have you tried to delete after reset? # nova reset-state --active # nova delete It works well for me if the VM state is error state. -- Thanks & Regards E-Mail: thefossg...@gmail.com<mailto:thefossg...@gmail.com> IRC: neophy Blog : http://lmohanphy.livejournal.com/ On Sun, Dec 7, 2014 at 7:17 PM, Danny Choi (dannchoi) mailto: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 ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [qa] How to delete a VM which is in ERROR state?
Also try with nova force-delete after reset: $ nova help force-delete usage: nova force-delete Force delete a server. Positional arguments: Name or ID of server. -- Thanks & Regards E-Mail: thefossg...@gmail.com IRC: neophy Blog : http://lmohanphy.livejournal.com/ On Sun, Dec 7, 2014 at 9:10 PM, foss geek wrote: > Have you tried to delete after reset? > > # nova reset-state --active > > # nova delete > > 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) > 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" >> To: "OpenStack Development Mailing List (not for usage questions)" >> >> Subject: Re: [openstack-dev] [qa] How to delete a VM which is in ERROR >> state? >> Message-ID: >> >> Content-Type: text/plain; charset="utf-8" >> >> Try "nova reset-state --active uuid". >> >> On Saturday, December 6, 2014, Danny Choi (dannchoi) > > >> 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
Re: [openstack-dev] [qa] How to delete a VM which is in ERROR state?
Have you tried to delete after reset? # nova reset-state --active # nova delete 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) 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" > To: "OpenStack Development Mailing List (not for usage questions)" > > Subject: Re: [openstack-dev] [qa] How to delete a VM which is in ERROR > state? > Message-ID: > > Content-Type: text/plain; charset="utf-8" > > Try "nova reset-state --active uuid". > > On Saturday, December 6, 2014, Danny Choi (dannchoi) > 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
Re: [openstack-dev] [qa] How to delete a VM which is in ERROR state?
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" mailto:xche...@gmail.com>> To: "OpenStack Development Mailing List (not for usage questions)" mailto:openstack-dev@lists.openstack.org>> Subject: Re: [openstack-dev] [qa] How to delete a VM which is in ERROR state? Message-ID: mailto: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) mailto: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
Re: [openstack-dev] [qa] How to delete a VM which is in ERROR state?
Try "nova reset-state --active uuid". On Saturday, December 6, 2014, Danny Choi (dannchoi) 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] [qa] How to delete a VM which is in ERROR state?
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