[OPNFLWPLUG-159] Controller does not learn node connectors from mininet OF10 Created: 13/May/14  Updated: 27/Sep/21  Resolved: 23/May/14

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

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

Operating System: Linux
Platform: PC


External issue ID: 995

 Description   

Very easy to reproduce:

  • start controller -of13 option
  • start mininet OF10: sudo mn --controller 'remote,ip=127.0.0.1,port=6633' --topo tree,2
  • Switch connectors are missing from inventory, topology, etc...

BR/Luis



 Comments   
Comment by Michal Rehak [ 19/May/14 ]

In ConnectionConductorImpl.postHandshakeBasic() there is hsPool.shutdownNow() invoked in order to stop processing handshake even for some queued HelloMessages, which can be safely removed.

shutdownNow() removes all tasks from pool queue and invoked interrupt on running threads. But postHandshake method is invoked by HandshakeManagerImpl.shake().. which runs in a thread from this very pool. So basically it interrupts itself.

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

Comment by Michal Rehak [ 19/May/14 ]

Luis, could you please retest?

Comment by Luis Gomez [ 19/May/14 ]

Any idea when this patch will be merged so I can pick and test the distribution?

Comment by Kamal Rameshan [ 20/May/14 ]

The patch would also resolve missing node-connectors issue found with OF1.3

2014-05-19 17:18:22.789 PDT [pool-13-thread-1] WARN o.o.c.t.internal.TopologyManagerImpl - Ignore edge that contains invalid node connector: (MD_SAL|openflow:1:1@MD_SAL|openflow:1->MD_SAL|openflow:2:3@MD_SAL|openflow:2)

Comment by Luis Gomez [ 20/May/14 ]

OK, because I also reported this issue in OPNFLWPLUG-165

Comment by Michal Rehak [ 20/May/14 ]

change 7127 has been merged

Comment by Luis Gomez [ 20/May/14 ]

And now it works. I change this to resolved.

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