[Bug 1012551] Re: Cannot delete instance in ERROR status
Doug Goldstein
cardoe at gentoo.org
Wed Oct 10 18:42:31 UTC 2012
As pointed out to me by ev0ldave in #openstack the way to fix this is to
figure out exactly what the instance ID is.
$ mysql -u root -p
mysql> USE nova;
mysql> SELECT id, host, hostname FROM instances;
...
mysql> UPDATE instances SET deleted=1, deleted_at="2012-10-10 14:56:30", vm_state="deleted" WHERE id = 240;
...
mysql> quit;
$ sudo rm -rf /var/lib/nova/instances/instance-00000240
Solves the issue assuming your bad instance is ID 240. Rinse and repeat
for each instance.
It'd be nice to programatically fix this.
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1012551
Title:
Cannot delete instance in ERROR status
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1012551/+subscriptions
More information about the Ubuntu-server-bugs
mailing list