[Openstack-operators] Manually nuking a misbehaving instance

Samuel Winchenbach swinchen at gmail.com
Wed Sep 19 03:19:16 UTC 2012

Hi All,

I was wondering what the correct way to handle a misbehaving instance
is?  I have, on several occasions, gotten VM instances stuck in an odd
state such as reboot, deleting, or active when either KVM failed to
start, or who knows what.   What is the correct procedure for manually
removing/repairing a misbehaving VM?

Right now I have been using this SQL script: http://paste2.org/p/2240202
The problem is, this does not undo all the networking changes, or
delete the various files in /var/lib/nova/instances and

Is there a better way to handle this situation than completely nuking
the database?  If not then what do I need to do to undo the changes to
the network/iptables?


More information about the OpenStack-operators mailing list