← Back to team overview

openstack-qa-team team mailing list archive

Re: Getting rid of bad vms

 

Yeah, this a bit of a troublesome problem. Unfortunately, it depends on your exact situation. If you have instances stuck in a state such as build, rebuild, or resize, you can manually change the instance's status by updating the vm_state field in the instances table to active and then trying to delete again. If that fails, the next thing I've seen is that sometimes the compute process has crashed on the compute node. If neither of those work then I'm a bit stumped.

Daryl
________________________________________
From: openstack-qa-team-bounces+daryl.walleck=rackspace.com@xxxxxxxxxxxxxxxxxxx [openstack-qa-team-bounces+daryl.walleck=rackspace.com@xxxxxxxxxxxxxxxxxxx] on behalf of David Kranz [david.kranz@xxxxxxxxxx]
Sent: Wednesday, February 01, 2012 9:05 AM
To: openstack-qa-team@xxxxxxxxxxxxxxxxxxx
Subject: [Openstack-qa-team] Getting rid of bad vms

Due to some bugs in nova it can happen that a vm fails to start and, due
to another bug, 'nova delete' will not delete it. There was a mention
somewhere that you have to manually remove it from the database but I am
not sure exactly what command will do that. Can some one help me out?

  -David

--
Mailing list: https://launchpad.net/~openstack-qa-team
Post to     : openstack-qa-team@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~openstack-qa-team
More help   : https://help.launchpad.net/ListHelp


References