<div dir="ltr">What version of nova is this in? <div><br></div><div><span style="font-size:13px;font-family:arial,sans-serif">The 'running_deleted_instance_</span><span style="font-size:13px;font-family:arial,sans-serif">action=reap'</span> setting is not gated on, which is how this bug got through.</div>
<div><br></div><div>best,</div><div>Joe</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jun 11, 2013 at 5:16 AM, McNally, Dave (HP Cloud Services) <span dir="ltr"><<a href="mailto:dave.mcnally@hp.com" target="_blank">dave.mcnally@hp.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal">Hello,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I’ve been trying to test nova’s cleanup of instances marked as deleted in the database which are still running on the hypervisor and it doesn’t work for me.
<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I’ve set running_deleted_instance_action to ‘reap’ and the correct code attempts to execute (_cleanup_running_deleted_instances in the compute manager) but there is then a key error thrown from nova.compute.flavors: extract_instance_type
which looks to be due to the instance object being retrieved from the database not containing all the required information, I think because it restricts the query to the instances table only.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I’ve had a look through the open bugs in Launchpad and I can’t find anything related and from my reading of the issue it looks like this functionality could never work so I’m curious to find out if anyone else has come across this or if
I’m missing something before I raise a bug.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Anyone else experience this?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Regards,<u></u><u></u></p>
<p class="MsoNormal">Dave<u></u><u></u></p>
</div>
</div>
<br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div></div>