[OPNFLWPLUG-676] He plugin: Flows not pushed after inventory config Leader restarts and switch connects to it Created: 25/Apr/16  Updated: 27/Sep/21  Resolved: 12/Dec/17

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

Type: Bug
Reporter: Luis Gomez Assignee: Unassigned
Resolution: Won't Do 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: 5802

 Description   

Steps to reproduce:

  • Start 3 node cluster with odl-openflow-flow-services-ui
  • Connect switch to any node.
  • Push a flow into DS, switch gets the flow.
  • Disconnect switch.
  • Restart inventory conf leader.
  • Connect switch to restarted leader, no flow is being pushed.


 Comments   
Comment by Shuva Jyoti Kar [ 26/Apr/16 ]

Hi Luis,

In the above test, do you see any exception in the logs?

Comment by Shuva Jyoti Kar [ 26/Apr/16 ]

(In reply to Shuva Jyoti Kar from comment #1)
> Hi Luis,
>
> In the above test, do you see any exception in the logs?

Also do you connect the switch immediately, or you wait for the leadership election to be complete ?

Comment by Luis Gomez [ 09/May/16 ]

This bug was exposed after Sanjib's latest cluster test enhancement, you can see it consistently failing in this test:

https://jenkins.opendaylight.org/releng/view/CSIT-3node/job/openflowplugin-csit-3node-clustering-helium-design-only-beryllium/237/robot/report/log.html

  • I do not see any specific log messages when the error happens (switch connects and does not get flow).
  • We also make sure leadership is being resolved before connecting the switch.
  • The issue is only seen with He plugin.

BR/Luis

Comment by Shuva Jyoti Kar [ 09/May/16 ]

also is the entity-ownership-shard leadership also finished by this time ? and what if you restart the switch , is the switch getting populated with the switch.

Comment by Luis Gomez [ 09/May/16 ]

For both questions I modified the test so lets see:

https://git.opendaylight.org/gerrit/#/c/38608/

BR/Luis

Comment by Luis Gomez [ 09/May/16 ]

From first test results:

https://jenkins.opendaylight.org/releng/job/openflowplugin-csit-verify-3node-clustering-helium-design/69/

  • The issue occurs even when all shards (including entity-owner) are resolved.
  • It only happens the first time switch connects to old config leader, further connects attempts are good (switch receives flows).

This is consistent with what I have tested locally.

BR/Luis

Comment by Luis Gomez [ 23/May/16 ]

Last discovery on this bug is that if I add 5 secs between disconnect switch and restart Inv leader, things work stable at least in my setup.

Comment by Andrej Leitner [ 03/Oct/16 ]

Decreasing priority since no activity for more than 4 months and related to non-default helium design.

Comment by Anil Vishnoi [ 12/Dec/17 ]

No activity on the bug for a while and also He plugin is now deprecated. Please re-open the bug if you see the issue in carbon/nitrogen/oxygen branch.

Generated at Wed Feb 07 20:33:06 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.