[OPNFLWPLUG-534] Topology is not learned after controller restart Created: 11/Aug/15  Updated: 27/Sep/21  Resolved: 10/Nov/15

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

Type: Bug
Reporter: Luis Gomez Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Linux
Platform: PC


Issue Links:
Duplicate
is duplicated by OPNFLWPLUG-298 LLDPSpeaker throwing NPE Resolved
External issue ID: 4121

 Description   

These are the steps to reproduce:

1) Start controller with default openflow feature (I do not see the issue with Li redesign code):

feature:install odl-openflowplugin-flow-services-ui

2) Start mininet any topology (i.e. tree,2)

3) Stop controller, you can do proper shutdown (bin/stop) or shut abruptly (kill java)

4) Start controller again (bin/karaf, bin/start)

5) Pull topology with REST and check for links:

GET http://localhost:8181/restconf/operational/network-topology:network-topology/

You will need to repeat 3-5 steps more than once if you do not see all links missing but I saw the issue very clear after retrying a few times.

Additional information:

  • There is no logging in karaf.log indicating a fault situation, this is same logging is seen when it works and when it does not.
  • Using wireshark when the issue pops up, I can see no LLDP packet-out from controller down to the switches.

BR/Luis



 Comments   
Comment by Icaro Camelo [ 19/Aug/15 ]

Hi Luis,

I've followed the same instructions you mentioned but it works perfectly.

I'm sending you two log files (before and after shutdown) if you want to check.

1) Before: http://pastebin.com/QUfNEdB5
2) After: http://pastebin.com/madi8PLk

Comment by Icaro Camelo [ 19/Aug/15 ]

Hi Luis,

I've followed the same instructions you mentioned but it works perfectly.

I'm sending you two log files (before and after shutdown) if you want to check.

1) Before: http://pastebin.com/QUfNEdB5
2) After: http://pastebin.com/madi8PLk

About LLDP, check line 232 of the second file.

Comment by Luis Gomez [ 19/Aug/15 ]

I saw the issue in Li release and after but it is not in Li SR1 so I guess it got fixed somehow.

Comment by Luis Gomez [ 19/Aug/15 ]

Thanks Icaro for taking a look at this

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