<div>Hi,</div><div><br></div><div>Thank you all for you suggestions.</div><div>After updated the table fixed_ips and floating_ips, this problem was eventually fixed.</div><div><br></div><div>I finally figure out how to reproduce this problem:</div>
<div><span style="font-family:arial,sans,sans-serif;font-size:12.800000190734863px;white-space:pre-wrap;background-color:rgb(239,239,239)">If an instance associated with a floating IP is terminated, the instance can be successfully terminated, but the floating IP is also associated with the deleted instance in database.</span>
</div><div><span style="font-family:arial,sans,sans-serif;font-size:12.800000190734863px;white-space:pre-wrap;background-color:rgb(239,239,239)"><br></span></div><div><span style="font-family:arial,sans,sans-serif;font-size:12.800000190734863px;white-space:pre-wrap;background-color:rgb(239,239,239)">Also this is a known issue:</span><a href="https://bugs.launchpad.net/nova/+bug/997763">https://bugs.launchpad.net/nova/+bug/997763</a></div>
<div><br></div><div>If someone can make a backport for Essex, that will be great.</div><div><br></div><div>Thanks,</div><div>Sam</div><div><br></div><div><br></div><br><div class="gmail_quote">On Tue, Aug 28, 2012 at 10:30 PM, Emilien Macchi <span dir="ltr"><<a href="mailto:emilien.macchi@stackops.com" target="_blank">emilien.macchi@stackops.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br><br>I think the best way is to delete the instance from the database :<br>Look at the "nova" database and "fixed_ips" table.<br>

<br>If you have the old instance number here, try put the "instance_id" filed into NULL where instance_id is 603.<br>

<br>If you have still this issue, find every field corresponding to 603 into the database and delete it.<br><br>Restart nova-api service, and that should be good.<br><br><br>Good luck !<br><br><br>Regards<br><br><div class="gmail_quote">

<div><div>

On Wed, Aug 29, 2012 at 4:44 AM, Sam Su <span dir="ltr"><<a href="mailto:susltd.su@gmail.com" target="_blank">susltd.su@gmail.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>

<div>Hi,</div><div><br></div><div>I have an Essex cluster with 6 compute nodes and one control node, and it worked fine in the past several months. Last week, since someone deleted an instance in a project, no new instance can be launched in that project. </div>




<div><br></div><div>When create a new instance in the project, it displays:</div><div><b style="font-size:13px;color:rgb(185,74,72);font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;line-height:18px;background-color:rgb(242,222,222)">Error: </b><span style="font-size:13px;color:rgb(185,74,72);font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;line-height:18px;background-color:rgb(242,222,222)">An error occurred. Please try again.</span>
</div><div><br></div><div>the following error info will come up in the file nova-api.log:</div><div>2012-08-28 19:14:23 ERROR nova.api.openstack [req-6fb211c1-60cf-4a69-83e1-f9e7da30b458 6023cea36f784448b667922894ca7102 afdee06258774b2d9e768c08b62dbbf2] Caught error: Remote error: InstanceNotFound Instance 603 could not be found.</div>




<div><br></div><div>Here is the info of nova-api.log :</div><div><a href="http://pastebin.com/evuDMdrU" target="_blank">http://pastebin.com/evuDMdrU</a></div><div>.</div><div><br></div><div>Actually this instance with id 603 has been deleted, it's very strange. Does anyone has any idea about this issue?</div>




<div><br></div><div>By the way, if an existing instance in another project is terminated, the same problem occurs in that project.</div><div><br></div><div>Thanks ahead,</div><div>Sam</div>
<br></div></div><div>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/%7Eopenstack" 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/%7Eopenstack" 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></div></blockquote></div><br><br clear="all"><br>-- <br><font color="#888888"><span style="line-height:normal;text-indent:0px;border-collapse:separate;letter-spacing:normal;font-variant:normal;text-transform:none;font-size:medium;font-style:normal;white-space:normal;font-family:Times;word-spacing:0px"><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px"><div align="left">





<div>Emilien Macchi<font><span style="font-family:Arial" lang="ES"><br><font><font face="Arial"><b>System Engineer</b></font></font></span></font><br><span><font color="#888888"><span style="line-height:normal;text-indent:0px;border-collapse:separate;letter-spacing:normal;font-variant:normal;text-transform:none;font-size:medium;font-style:normal;white-space:normal;font-family:Times;word-spacing:0px"><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px"><b><font style="font-family:arial,helvetica,sans-serif" face="Arial" size="2"><a href="http://www.stackops.com" target="_blank"><b>www.stackops.com</b></a><div style="display:inline-block;width:16px;min-height:16px">



 </div> |<font size="1"> </font></font></b><font style="font-family:arial,helvetica,sans-serif" face="Arial" size="2"><font size="1"><a href="mailto:emilien.macchi@stackops.com" target="_blank">emilien.macchi@stackops.com</a></font></font><span style="line-height:normal;text-indent:0px;border-collapse:separate;letter-spacing:normal;font-variant:normal;text-transform:none;font-size:medium;font-style:normal;white-space:normal;font-family:Times;word-spacing:0px"><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px"><font color="#004438" face="Arial"><b><b><span style="font-size:10pt;color:rgb(0,68,56);font-family:Arial" lang="EN-GB"></span></b></b></font></span></span><span style="line-height:normal;text-indent:0px;border-collapse:separate;letter-spacing:normal;font-variant:normal;text-transform:none;font-size:medium;font-style:normal;white-space:normal;font-family:Times;word-spacing:0px"><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px"><font style="font-family:arial,helvetica,sans-serif" face="Arial" size="2"><font size="1">  </font></font></span></span></span></span></font></span><font color="#888888"><span style="line-height:normal;text-indent:0px;border-collapse:separate;letter-spacing:normal;font-variant:normal;text-transform:none;font-size:medium;font-style:normal;white-space:normal;font-family:Times;word-spacing:0px"><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px"><span><font color="#888888"><span style="line-height:normal;text-indent:0px;border-collapse:separate;letter-spacing:normal;font-variant:normal;text-transform:none;font-size:medium;font-style:normal;white-space:normal;font-family:Times;word-spacing:0px"><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px"><b><font style="font-family:arial,helvetica,sans-serif" face="Arial" size="2">|</font></b></span></span></font></span></span></span></font><span><font color="#888888"><span style="line-height:normal;text-indent:0px;border-collapse:separate;letter-spacing:normal;font-variant:normal;text-transform:none;font-size:medium;font-style:normal;white-space:normal;font-family:Times;word-spacing:0px"><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px"><span style="line-height:normal;text-indent:0px;border-collapse:separate;letter-spacing:normal;font-variant:normal;text-transform:none;font-size:medium;font-style:normal;white-space:normal;font-family:Times;word-spacing:0px"><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px"><font style="font-family:arial,helvetica,sans-serif" face="Arial" size="2"><font size="1"> <a>skype:emilien.macchi</a></font></font></span></span><font style="font-family:arial,helvetica,sans-serif" face="Arial" size="2"><a href="http://www.stackops.com" target="_blank"><b><br>





</b></a></font></span></span></font></span></div></div><div><font color="#004438" face="Arial"><b><p><span style="line-height:normal;text-indent:0px;border-collapse:separate;letter-spacing:normal;font-variant:normal;text-transform:none;font-size:medium;font-style:normal;white-space:normal;font-family:Times;word-spacing:0px"><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px"><span style="line-height:normal;text-indent:0px;border-collapse:separate;letter-spacing:normal;font-variant:normal;text-transform:none;font-size:medium;font-style:normal;white-space:normal;font-family:Times;word-spacing:0px"><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px"><font color="#004438" face="Arial"><b><b><span style="font-size:10pt;color:rgb(0,68,56);font-family:Arial" lang="EN-GB"><img></span></b></b></font></span></span></span></span></p>





</b></font></div><div><p><font color="#000000" size="1">******************** ADVERTENCIA LEGAL ********************<span> </span><br>Le
 informamos, como destinatario de este mensaje, que el correo 
electrónico y las comunicaciones por medio de Internet no permiten 
asegurar ni garantizar la confidencialidad de los mensajes transmitidos,
 así como tampoco su integridad o su correcta recepción, por lo que 
STACKOPS TECHNOLOGIES S.L. no asume responsabilidad alguna por tales 
circunstancias. Si no consintiese en la utilización del correo 
electrónico o de las comunicaciones vía Internet le rogamos nos lo 
comunique y ponga en nuestro conocimiento de manera inmediata. Este 
mensaje va dirigido, de manera exclusiva, a su destinatario y contiene 
información confidencial y sujeta al secreto profesional, cuya 
divulgación no está permitida por la ley. En caso de haber recibido este
 mensaje por error, le rogamos que, de forma inmediata, nos lo comunique
 mediante correo electrónico remitido a nuestra atención y proceda a su 
eliminación, así como a la de cualquier documento adjunto al mismo. 
Asimismo, le comunicamos que la distribución, copia o utilización de 
este mensaje, o de cualquier documento adjunto al mismo, cualquiera que 
fuera su finalidad, están prohibidas por la ley.<span> </span><br><br>***************** PRIVILEGED AND CONFIDENTIAL ****************<span> </span><br>We
 hereby inform you, as addressee of this message, that e-mail and 
Internet do not guarantee the confidentiality, nor the completeness or 
proper reception of the messages sent and, thus, STACKOPS TECHNOLOGIES 
S.L. does not assume any liability for those circumstances. Should you 
not agree to the use of e-mail or to communications via Internet, you 
are kindly requested to notify us immediately. This message is intended 
exclusively for the person to whom it is addressed and contains 
privileged and confidential information protected from disclosure by 
law. If you are not the addressee indicated in this message, you should 
immediately delete it and any attachments and notify the sender by reply
 e-mail. In such case, you are hereby notified that any dissemination, 
distribution, copying or use of this message or any attachments, for any
 purpose, is strictly prohibited by law.</font></p></div></span></span></font><br>
</blockquote></div><br>