[Openstack] After deleted an instance, nobody can create any instance.

Sam Su susltd.su at gmail.com
Wed Aug 29 22:03:26 UTC 2012


Hi,

Thank you all for you suggestions.
After updated the table fixed_ips and floating_ips, this problem was
eventually fixed.

I finally figure out how to reproduce this problem:
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.

Also this is a known issue:https://bugs.launchpad.net/nova/+bug/997763

If someone can make a backport for Essex, that will be great.

Thanks,
Sam



On Tue, Aug 28, 2012 at 10:30 PM, Emilien Macchi <
emilien.macchi at stackops.com> wrote:

> Hi,
>
> I think the best way is to delete the instance from the database :
> Look at the "nova" database and "fixed_ips" table.
>
> If you have the old instance number here, try put the "instance_id" filed
> into NULL where instance_id is 603.
>
> If you have still this issue, find every field corresponding to 603 into
> the database and delete it.
>
> Restart nova-api service, and that should be good.
>
>
> Good luck !
>
>
> Regards
>
>  On Wed, Aug 29, 2012 at 4:44 AM, Sam Su <susltd.su at gmail.com> wrote:
>
>>  Hi,
>>
>> 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.
>>
>> When create a new instance in the project, it displays:
>> *Error: *An error occurred. Please try again.
>>
>> the following error info will come up in the file nova-api.log:
>> 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.
>>
>> Here is the info of nova-api.log :
>> http://pastebin.com/evuDMdrU
>> .
>>
>> Actually this instance with id 603 has been deleted, it's very strange.
>> Does anyone has any idea about this issue?
>>
>> By the way, if an existing instance in another project is terminated, the
>> same problem occurs in that project.
>>
>> Thanks ahead,
>> Sam
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~openstack
>> Post to     : openstack at lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~openstack
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Emilien Macchi
> *System Engineer*
> *www.stackops.com
>
> | *emilien.macchi at stackops.com**  *|* skype:emilien.macchi*
> * <http://www.stackops.com>
> *
>
> *
>
> ******************** ADVERTENCIA LEGAL ********************
> 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.
>
> ***************** PRIVILEGED AND CONFIDENTIAL ****************
> 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.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120829/9903f71b/attachment.html>


More information about the Openstack mailing list