[GENIUS-88] Race condition on openflow based tunnels Created: 16/Aug/17  Updated: 24/Aug/17  Resolved: 24/Aug/17

Status: Resolved
Project: genius
Component/s: General
Affects Version/s: Nitrogen
Fix Version/s: None

Type: Bug
Reporter: Jaime Caamaño Ruiz Assignee: Jaime Caamaño Ruiz
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 9001

 Description   

Many times when adding a OF based tunnel interface in IFM, sometimes the child interface state is not added.

This is due two reasons:

1. A race condition between the child interface entry and child interface state add tasks. Both tasks are run at the same time in parallel. Usually the former resolves first so the latter is aware of the existing children. But when it does not, the children interface state wont be added. This case applies for the first OF interface added on a node.

2. For successive OF tunnel interfaces on the same node, the interface state is never added. That is because the add state method invoked from the interface config add helper in this case is inappropriate.



 Comments   
Comment by Jaime Caamaño Ruiz [ 17/Aug/17 ]

[Oxygen] https://git.opendaylight.org/gerrit/#/c/60770
[Nitrogen] https://git.opendaylight.org/gerrit/#/c/61853

Generated at Wed Feb 07 19:59:53 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.