anytime this happend with me I do the following.<br><br>create a lost_instance.xml with the content below(I think it's possible to create a simpler file, with less content) just to register a VM with libvirt. Make sure to change the <name></name> tag. In your case<br>

<br><br><domain type='kvm'><br>  <name>instance-0000002a</name><br>  <memory unit='KiB'>4194304</memory><br>  <currentMemory unit='KiB'>4194304</currentMemory><br>

  <vcpu placement='static'>4</vcpu><br>  <os><br>    <type arch='x86_64' machine='pc-1.0'>hvm</type><br>    <boot dev='hd'/><br>  </os><br>  <features><br>

    <acpi/><br>    <apic/><br>    <pae/><br>  </features><br>  <clock offset='utc'/><br>  <on_poweroff>destroy</on_poweroff><br>  <on_reboot>restart</on_reboot><br>

  <on_crash>restart</on_crash><br>  <devices><br>    <emulator>/usr/bin/kvm</emulator><br>    <controller type='ide' index='0'><br>      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/><br>

    </controller><br>    <controller type='usb' index='0'><br>      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/><br>

    </controller><br>    <serial type='pty'><br>      <target port='0'/><br>    </serial><br>    <console type='pty'><br>      <target type='serial' port='0'/><br>

    </console><br>    <input type='mouse' bus='ps2'/><br>    <graphics type='vnc' port='-1' autoport='yes'/><br>    <video><br>      <model type='cirrus' vram='9216' heads='1'/><br>

      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/><br>    </video><br>    <memballoon model='virtio'><br>      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/><br>

    </memballoon><br>  </devices><br></domain><br><br><br>save and exit<br><br>and then<br># virsh define lost_instance.xml<br># service nova-compute restart<br><br>it's easier then mess with the database.<br>

<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Dec 13, 2012 at 8:56 AM, Razique Mahroua <span dir="ltr"><<a href="mailto:razique.mahroua@gmail.com" target="_blank">razique.mahroua@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">I think the instance ID is the database ID (base 8) encoded in base 16.  0x2A = ID 52 into the database.<div>

Did you updated the ID 52 ?</div><div><br><div>I may be wrong ^^</div><div><div class="im"><br><div>
<span style="border-spacing:0px;text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:'Lucida Grande';word-spacing:0px"><span style="font-weight:normal;font-family:Helvetica"><b style="color:rgb(19,112,138)">Razique Mahroua</b></span><span style="font-weight:normal;font-family:Helvetica;color:rgb(19,112,138)"><b> - </b></span><span style="font-family:Helvetica"><span style="font-weight:normal;font-family:Helvetica"><b style="color:rgb(19,112,138)">Nuage & Co</b></span><span style="border-collapse:separate;font-family:Helvetica;font-style:normal;font-variant:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px;font-size:medium"><span style="border-spacing:0px;text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><span style="border-collapse:separate;font-variant:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px"><div style="font-style:normal;font-size:medium;font-family:Helvetica;font-weight:normal">

<font color="#13708a"><a href="mailto:razique.mahroua@gmail.com" target="_blank">razique.mahroua@gmail.com</a></font></div><div style="font-style:normal;font-size:medium;font-family:Helvetica"><font color="#13708a">Tel : +33 9 72 37 94 15</font></div>

</span><br><span></span><span style="font-style:normal;font-size:medium;font-family:Helvetica;font-weight:normal"></span><span style="font-weight:normal"></span></span><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><span><span><span><img src="cid:00E07450-433E-43E6-9005-48B8FD5C669F@la.fabrique" height="125" width="125"></span>
</span></span></span></span></span></span></div>
<br></div><div><div>Le 13 déc. 2012 à 11:51, Joe Warren-Meeks <<a href="mailto:joe.warren.meeks@gmail.com" target="_blank">joe.warren.meeks@gmail.com</a>> a écrit :</div><br><blockquote type="cite"><div class="im">

It turned out to be that last one. What I don't understand is where openstack found the instance id from. That doesn't exist in the database, or anywhere on the file system I could find.<div><br></div><div>Kind regards</div>


<div><br></div><div> -- joe.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div class="im">On 13 December 2012 10:27, Razique Mahroua <span dir="ltr"><<a href="mailto:razique.mahroua@gmail.com" target="_blank">razique.mahroua@gmail.com</a>></span> wrote:<br>


</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div class="im">Hey Joe, <div>yes, several solutions there</div><div>First, check if the domain exists by running</div>


<div>$ virsh list --all (supposing you use libvirt)</div><div><br></div><div>check /var/lib/nova/instances/instance-0000002a</div><div>if the dir. exists $cd into it and run "virsh define libvirt.xml"</div><div>


then restart nova-compute</div><div><br></div><div>If the dir. doesn't exist, you may want to update the nova database,  figure out your instance entry within the "instances" table and update the field "deleted" to 1</div>


<div><br></div></div><div>Regards,<br><div>
<span style="border-spacing:0px;text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:'Lucida Grande';word-spacing:0px"><span style="font-weight:normal;font-family:Helvetica"><b style="color:rgb(19,112,138)">Razique Mahroua</b></span><span style="font-weight:normal;font-family:Helvetica;color:rgb(19,112,138)"><b> - </b></span><span style="font-family:Helvetica"><span style="font-weight:normal;font-family:Helvetica"><b style="color:rgb(19,112,138)">Nuage & Co</b></span><span style="border-collapse:separate;font-family:Helvetica;font-style:normal;font-variant:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px;font-size:medium"><div class="im">

<span style="border-spacing:0px;text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><span style="border-collapse:separate;font-variant:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px"><div style="font-style:normal;font-size:medium;font-family:Helvetica;font-weight:normal">


<font color="#13708a"><a href="mailto:razique.mahroua@gmail.com" target="_blank">razique.mahroua@gmail.com</a></font></div><div style="font-style:normal;font-size:medium;font-family:Helvetica"><font color="#13708a">Tel : <a href="tel:%2B33%209%2072%2037%2094%2015" value="+33972379415" target="_blank">+33 9 72 37 94 15</a></font></div>


</span><br><span></span><span style="font-style:normal;font-size:medium;font-family:Helvetica;font-weight:normal"></span><span style="font-weight:normal"></span></span></div><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><span><span><span><span><NUAGECO-LOGO-Fblan_petit.jpg></span></span>
</span></span></span></span></span></span></div><div class="im">
<br><div><div>Le 12 déc. 2012 à 17:07, Joe Warren-Meeks <<a href="mailto:joe.warren.meeks@gmail.com" target="_blank">joe.warren.meeks@gmail.com</a>> a écrit :</div><br><blockquote type="cite"><div><div>Hi guys,<div>


<br></div><div>You think you have Openstack working, then you cough and it all breaks.</div><div><br></div><div>I'm getting the following error when trying to start nova-compute after a reboot of the compute node (to install non-related patches)</div>



<div><br></div><div>libvirtError: Domain not found: no domain with matching name 'instance-0000002a'<br></div><div><br></div><div>Now, I've dumped all the DBs to disk and grepped through it for '00002a' and grep -R'ed /etc/ and /var/</div>



<div><br></div><div>I can't find any reference to that anywhere, but it is causing nova-compute to fail to start.</div><div><br></div><div>Anyone know how to fix that? If not, anyone know a cloud platform that isn't made from very thin glass, pre-shattered for your pleasure?</div>



<div><br></div><div> -- joe.</div><div><br></div></div></div><div>
_______________________________________________<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" target="_blank">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>


</div></blockquote></div><br></div></div></div></blockquote></div><br></div>
</blockquote></div><br></div></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><font face="Arial, Helvetica, sans-serif"><b>guilherme</b> \n<br>\<font>t</font> <b>maluf</b><br></font><br>
</div>