Details
-
Bug
-
Status: Resolved
-
Resolution: Done
-
None
-
None
-
None
-
Operating System: Linux
Platform: Other
-
2668
-
Normal
Description
Hello,
Im using the openflowplugin version 0.1.0-SNAPSHOT in the SFC ODL project, and see a strange exception and error when an open flow switch started in mininet tries to connect.
I start mininet like this:
sudo mn --topo single,2 --mac --switch ovsk,protocols=OpenFlow13 --controller remote,ip=192.168.56.101
This is the error I get in the SFC logs:
2015-02-03 15:35:33,030 | WARN | entLoopGroup-6-1 | SessionManagerOFImpl | 245 - org.opendaylight.openflowplugin - 0.1.0.SNAPSHOT | context for invalidation not found
2015-02-03 15:35:33,405 | INFO | entLoopGroup-6-2 | ConnectionAdapterImpl | 243 - org.opendaylight.openflowjava.openflow-protocol-impl - 0.6.0.SNAPSHOT | Hello received / branch
2015-02-03 15:35:34,032 | INFO | OFHandshake-0-0 | ConnectionConductorImpl | 245 - org.opendaylight.openflowplugin - 0.1.0.SNAPSHOT | OF handshake failed, doing cleanup.
2015-02-03 15:35:35,034 | WARN | OFHandshake-0-0 | ErrorHandlerSimpleImpl | 245 - org.opendaylight.openflowplugin - 0.1.0.SNAPSHOT | exception -> FIRST HELLO sending failed because of connection issue., session -> null
org.opendaylight.openflowplugin.ConnectionException: FIRST HELLO sending failed because of connection issue.
at org.opendaylight.openflowplugin.openflow.md.core.HandshakeManagerImpl.sendHelloMessage(HandshakeManagerImpl.java:299)[245:org.opendaylight.openflowplugin:0.1.0.SNAPSHOT]
at org.opendaylight.openflowplugin.openflow.md.core.HandshakeManagerImpl.shake(HandshakeManagerImpl.java:98)[245:org.opendaylight.openflowplugin:0.1.0.SNAPSHOT]
at org.opendaylight.openflowplugin.openflow.md.core.HandshakeStepWrapper.run(HandshakeStepWrapper.java:47)[245:org.opendaylight.openflowplugin:0.1.0.SNAPSHOT]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)[:1.7.0_09]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)[:1.7.0_09]
at java.lang.Thread.run(Thread.java:722)[:1.7.0_09]
When I send this REST message with curl, I get a (huge) response, so it appears that it connects, but when I try to program flows, nothing appears in the switch.
curl -i -H "Content-Type: application/json" -H "Cache-Control: no-cache" -X GET --user admin:admin http://localhost:${PORT}/restconf/operational/opendaylight-inventory:nodes/
The HW Im using is the Ubuntu VM provided by ODL running in VirtualBox, where I execute mininet, and SFC running in a separate Ubuntu 14.04 VirtualBox VM.
Brady