Hello romi,<br><br>    Image got into a stuck state , only solution is to hack your database for this particular instance and mark it as deleted, den restart nova-* service, it would start working.<br><br><div class="gmail_quote">
On Thu, Sep 13, 2012 at 9:45 PM, romi zhang <span dir="ltr"><<a href="mailto:romizhang1968@163.com" target="_blank">romizhang1968@163.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="ZH-CN"><div><p class="MsoNormal"><span lang="EN-US">Hi,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">I’ve installed essex and when I reboot one of the nova-compute node and next when I start nova-compute service again,the system promote:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Libvirt: QEMU error: Domain not found: no domain with matching name ‘instance-0000000a’<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal">
<span lang="EN-US">Then I found:  <u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">#ls /var/lib/nova/instances<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">_base instance-0000000a instance-0000000b instance-0000000c<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">#ls /etc/libvirt/qemu<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">instance-0000000b.xml instance-0000000c.xml Network<u></u><u></u></span></p><p class="MsoNormal">
<span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">So:<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">/var/lib/nova/instances/instance-0000000a# virsh define libvirt.xml<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Domain instance-0000000a defined from libvirt.xml<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">And:<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">#ls /etc/libvirt/qemu<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Instance-0000000a.xml instance-0000000b.xml instance-0000000c.xml network<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal">
<span lang="EN-US">Then I restart: nova-compute &, and nova-compute could normally started.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">I did not understand why reboot compute node,and usually the first instance’s xml file was deleted and nova-compute will terminate.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">By the way, when I create a new instance, the first line in the log also is : Libvirt: QEMU error: Domain not found: no domain with matching name ‘instance-0000000a’<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">Anyone who had met such a problem and why?<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Regards,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">romi<u></u><u></u></span></p></div></div><br>
_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><p style="margin:0cm 0cm 0pt;color:rgb(0,0,153)"><b><span style="font-size:10pt;font-family:Arial"> With Regards  <br></span></b></p><p style="margin:0cm 0cm 0pt;color:rgb(0,0,153)">
<b><span style="font-size:10pt;font-family:Arial"> Ritesh Nanda<br></span></b></p><p style="margin:0cm 0cm 0pt;color:rgb(0,0,153)"></p><p style="margin:0cm 0cm 0pt;color:rgb(51,51,51)"><span style="color:rgb(0,0,153)"></span><span style="font-size:9pt;color:rgb(51,51,51);font-family:Arial"><span style="color:rgb(51,51,255)"><b><span style="color:rgb(0,0,153)"></span></b></span></span><span style="font-size:9pt;color:rgb(51,51,51);font-family:Arial"><span style="color:rgb(51,51,255)"><b><span style="color:rgb(0,0,153)"><br>
</span></b></span></span></p><a href="http://www.ericsson.com/" target="_blank"></a><p style="margin:0cm 0cm 0pt"><span style="font-size:9pt;font-family:Arial"><br><br></span></p><br>