attache many port as soon as possible, some ports was lost in "instance_info_caches"

Bug #1578520 reported by bailin.zhang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Undecided
Unassigned

Bug Description

In version mitaka

for example:
1. a VM has two ports.
2. create two new ports
3. attach new ports to VM as soon as possible
4. the two new ports were attached to the VM,but there are only three ports in the "network_info" of table "instance_info_caches"

Detail infomation: http://paste.openstack.org/show/496176/

When attach a port , the update of table "instance_info_caches" is delayed.
attach another port quickly, the current instance_info_caches do not has the first port. the first port is lost.

Matt Riedemann (mriedem)
tags: added: network neutron
Changed in nova:
assignee: nobody → LiuYong (liu-yong8)
Changed in nova:
status: New → Invalid
Revision history for this message
Qijing Li (qijing-lee) wrote :

I could not reproduce the bug on my all-in-one single node devstack, I guess the tricky part would be how busy is your system, and how quickly you attach the ports to the VM.

To attach new ports to VM as soon as possible, I put them into shell file, then ran it.
 nova interface-attach --port-id 686747b0-9b96-49af-9588-1edd9434502e vm
 nova interface-attach --port-id cc9b9d7a-b422-4d9c-9810-510bc860eb43 vm

I was wondering how often you can catch this bug.

Revision history for this message
bailin.zhang (bailin-zhang) wrote : Re: [Bug 1578520] Re: attache many port as soon as possible, some ports was lost in "instance_info_caches"

I make a mistake
this bug was fixed at mitaka。。。
before update network info of info-cache,it will refresh it。

> 在 2016年5月19日,02:42,Qijing Li <email address hidden> 写道:
>
> I could not reproduce the bug on my all-in-one single node devstack, I
> guess the tricky part would be how busy is your system, and how quickly
> you attach the ports to the VM.
>
> To attach new ports to VM as soon as possible, I put them into shell file, then ran it.
> nova interface-attach --port-id 686747b0-9b96-49af-9588-1edd9434502e vm
> nova interface-attach --port-id cc9b9d7a-b422-4d9c-9810-510bc860eb43 vm
>
> I was wondering how often you can catch this bug.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1578520
>
> Title:
> attache many port as soon as possible, some ports was lost in
> "instance_info_caches"
>
> Status in OpenStack Compute (nova):
> Invalid
>
> Bug description:
> In version mitaka
>
> for example:
> 1. a VM has two ports.
> 2. create two new ports
> 3. attach new ports to VM as soon as possible
> 4. the two new ports were attached to the VM,but there are only three ports in the "network_info" of table "instance_info_caches"
>
>
> Detail infomation: http://paste.openstack.org/show/496176/
>
> When attach a port , the update of table "instance_info_caches" is delayed.
> attach another port quickly, the current instance_info_caches do not has the first port. the first port is lost.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/nova/+bug/1578520/+subscriptions

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.