I think that the quick solution is set deteled to 1 on the offending instances<div><br></div><div>Are u using euca tools ? some inconsistencies are generated by them often</div><div><br></div><div>Regards<br>Lean<br><br><div class="gmail_quote">
On Tue, Mar 20, 2012 at 12:19 PM, David Kranz <span dir="ltr"><<a href="mailto:david.kranz@qrclab.com">david.kranz@qrclab.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
In a diablo/kvm cluster that has been running for a long time, a user reported problems with some vms, tried rebooting them and eventually deleted them. I recently noticed messages in the nova compute log like: Found 13 in the database and 10 on the hypervisor.<br>
<br>
Looking at the source code I understand that this means the instances have been deleted as far as the hypervisor is concerned, but nova still thinks they are there.<br>
I found the offending instances in the database and they were still listed as in the active state even though they<br>
had a deletion date recorded. I tried to delete them but was unable due to a foreign key error with virtual_interfaces. I could play around with deleting various things from the database but there are real users. Is their a documented way to "clean up" the state of the nova database in such situations? It seems like a bug that the database could get into this state.<br>
<br>
Also, it seems that deleted instances are never removed from the database. Is that a bug?<br>
<br>
-David<br>
<br>
______________________________<u></u>_________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~<u></u>openstack</a><br>
Post to : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~<u></u>openstack</a><br>
More help : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/<u></u>ListHelp</a><br>
</blockquote></div><br></div>