<div dir="ltr"><div><div><br></div>Thank you  Devendran.  That did it<br><br></div>-Jon<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Aug 7, 2013 at 9:45 PM, Devendran Jagadisan <span dir="ltr"><<a href="mailto:devendran.jagadisan@gmail.com" target="_blank">devendran.jagadisan@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Jonathan,<div><br></div><div>You could try to run virsh  list --all on the node and check if there are</div><div>deleted instances defined. </div>
<div><br></div><div>Had the same error message during grizzly update and running virsh undefine</div>
<div>the deleted instances solved the issue.</div><div><br></div><div>Devendran</div><div><br></div><div><br></div><div><br><div class="gmail_quote"><div><div class="h5">On Thu, Aug 8, 2013 at 2:36 AM, Jonathan Proulx <span dir="ltr"><<a href="mailto:jon@jonproulx.com" target="_blank">jon@jonproulx.com</a>></span> wrote:<br>

</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div><div><div>Hi All,<br><br></div>I'm almost through my grizzly upgrade.  I'd upgraded everything except nova-compute before upgrading that (ubuntu 12.04 cloud archieve pkgs).<br>

<br></div>On most nodes the nova-compute service upgraded and restarted properly, but on some it imediately exits with:<br>
<br>CRITICAL nova [-] 'instance_type_memory_mb'<br><br></div>It would seem like this is <a href="https://code.launchpad.net/bugs/1161022" target="_blank">https://code.launchpad.net/bugs/1161022</a> but the fix for that was released in March and I've verified is in the packaged version I'm using.<br>


<br></div><div>The referenced bug involves the DB migration only updating non-deleted instances in the instance-system-metatata table and the patch skips the lookups that are broken (and irrelevant) for deleted instances.<br>


<br></div><div>Tracing the DB calls from the host shows it is trying to do lookups for instances that were deleted last October, which is a bit surprising as it's run thousands of instances since & it's not looking those up.<br>


<br></div><div>It is note worthy that that is around the time I upgraded from Essex -> Folsom so it's possible their state  is weirder than most having run through that update.<br><br></div><div>There were directories for the instances in question in /var/lib/nova/instances, so I thought "Aha!" and moved them, but on restart I still get the same failure and same DB query for the old instances. Where is nova getting the idea it should look these up & how can I stop it?<br>


<br></div><div>Suggestions for other solutions welcome as well.<br><br></div><div>Thanks,<br></div><div>-Jon<br></div><div><div><div><div><br><br></div></div></div></div></div>
<br></div></div>_______________________________________________<br>
OpenStack-operators mailing list<br>
<a href="mailto:OpenStack-operators@lists.openstack.org" target="_blank">OpenStack-operators@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>