Closed sushiljain1989 closed 5 years ago
Hi @sushiljain1989 ,
If you look at the Ryu logs, it says:
pkg_resources.VersionConflict: (six 1.5.2 (/usr/lib/python2.7/dist-packages), Requirement.parse('six>=1.9.0'))
So probably you need to fix that packages version conflict before running the Engine.
Can you run Ryu in standalone mode and it works? Once you make sure it works, I'd go for the Engine.
As for the tests, you need to run one shim (e.g. Ryu, ODL or ONOS) and one or more backends (e.g. Ryu or Floodlight). But I'd recommend to use any of them but the Floodlight backend, because it is currently under development for some upgrades in the code. Then, an easy option would be first testing Ryu alone, then Ryu backend + Ryu shim, and finally Ryu backend + any other shim :wink:
Hi @ElisaRojas , Thanks for your reply.That was part of OS so I could not remove that. But I tried to install NetIDE Engine in a new environment. And when I am trying to deploy the core, its giving following error :
ubuntu@ubuntu-xenial:~/NetIDE$ ./runEngine.sh -c Java
===========================
====== NetIDE Engine ======
===========================
=> Core: Java
Starting Karaf...
Logging in as karaf
609 [sshd-SshClient[7a4ccb53]-nio2-thread-3] WARN org.apache.sshd.client.keyverifier.AcceptAllServerKeyVerifier - Server at [/0.0.0.0:8101, DSA, 17:d6:b9:a6:44:0e:99:ab:f5:cd:7b:c5:a0:79:62:91] presented unverified {} key: {}
Adding feature url mvn:eu.netide.core/core.features/1.1.0-SNAPSHOT/xml/features
Error executing command: Error resolving artifact eu.netide.core:core.features:xml:features:1.1.0-SNAPSHOT: Could not find artifact eu.netide.core:core.features:xml:features:1.1.0-SNAPSHOT in defaultlocal (file:/home/ubuntu/NetIDE/Engine-mixed/odl-shim/karaf/target/assembly/system/)
Logging in as karaf
653 [sshd-SshClient[7a4ccb53]-nio2-thread-3] WARN org.apache.sshd.client.keyverifier.AcceptAllServerKeyVerifier - Server at [/0.0.0.0:8101, DSA, 17:d6:b9:a6:44:0e:99:ab:f5:cd:7b:c5:a0:79:62:91] presented unverified {} key: {}
Error executing command: No feature matching core/0.0.0
Logging in as karaf
634 [sshd-SshClient[7a4ccb53]-nio2-thread-3] WARN org.apache.sshd.client.keyverifier.AcceptAllServerKeyVerifier - Server at [/0.0.0.0:8101, DSA, 17:d6:b9:a6:44:0e:99:ab:f5:cd:7b:c5:a0:79:62:91] presented unverified {} key: {}
Command not found: netide:loadcomposition
> To list NetIDE modules:
netide:listmodules
> To shutdown Karaf:
shutdown -f
Logging in as karaf
682 [sshd-SshClient[7a4ccb53]-nio2-thread-3] WARN org.apache.sshd.client.keyverifier.AcceptAllServerKeyVerifier - Server at [/0.0.0.0:8101, DSA, 17:d6:b9:a6:44:0e:99:ab:f5:cd:7b:c5:a0:79:62:91] presented unverified {} key: {}
________ ________ .__ .__ .__ __
\_____ \ ______ ____ ____ \______ \ _____ ___.__.| | |__| ____ | |___/ |_
/ | \\____ \_/ __ \ / \ | | \\__ \< | || | | |/ ___\| | \ __\
/ | \ |_> > ___/| | \| ` \/ __ \\___ || |_| / /_/ > Y \ |
\_______ / __/ \___ >___| /_______ (____ / ____||____/__\___ /|___| /__|
\/|__| \/ \/ \/ \/\/ /_____/ \/
Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown OpenDaylight.
Could you please tell me what could be the possible reason of it and how can it be fixed ?
~SJ
Hi @sushiljain1989 ,
First of all, is this the same output or two different ones? Because it looks as if it's trying to run the core and then it finally runs ODL... If they are two different outputs, then it's ok. But if they are the same, then you should take a look at your installation and variables, because the core and ODL should use two different Karaf instances and they look mixed.
Secondly, the initial error shown:
Error executing command: Error resolving artifact eu.netide.core:core.features:xml:features:1.1.0-SNAPSHOT: Could not find artifact eu.netide.core:core.features:xml:features:1.1.0-SNAPSHOT in defaultlocal (file:/home/ubuntu/NetIDE/Engine-mixed/odl-shim/karaf/target/assembly/system/)
seems to say that the NetIDE core is not correctly installed. Could you please check your Maven repository and see if you have the NetIDE artifact there?
The default location should be: ~/.m2/repository/eu/netide/...
or something like that, and you should have the 1.1.0-SNAPSHOT in there. If it is there, check why Maven is not finding it (maybe the default config has been changed in some way). If not there, try to compile it again (make sure you don't use sudo
or the location will be a different one and that will be the reason why it does not work).
Yes, I have it there .
ubuntu@ubuntu-xenial:~/.m2/repository/eu/netide/core/core.features/1.1.0-SNAPSHOT$ ls -l
total 20
-rw-rw-r-- 1 ubuntu ubuntu 247 Nov 9 15:58 _remote.repositories
-rw-rw-r-- 1 ubuntu ubuntu 2740 Nov 9 15:58 core.features-1.1.0-SNAPSHOT-features.xml
-rw-rw-r-- 1 ubuntu ubuntu 2380 Nov 9 15:58 core.features-1.1.0-SNAPSHOT.jar
-rw-rw-r-- 1 ubuntu ubuntu 4043 Nov 9 15:57 core.features-1.1.0-SNAPSHOT.pom
-rw-rw-r-- 1 ubuntu ubuntu 919 Nov 9 15:58 maven-metadata-local.xml
I am following vagrant script to install it, and they are executing "set/updateEngine.sh" with su. I did the exactly. I will try without su and see if it works.
I just saw this during installation(still running) :
*--
*-- Installing ONOS (1.4):
*--
Cloning into 'onos'...
remote: Counting objects: 32030, done
remote: Finding sources: 100% (15565/15565)
error: RPC failed; curl 56 GnuTLS recv error (-110): The TLS connection was non-properly terminated.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
Hi @sushiljain1989,
In the vagrant script, updateEngine.sh is executing with su netide because in the Vagrant VM there is a user with username netide. In your case, you don't have to use su netide if you are using your ubuntu user.
About your problem when you execute git clone from ONOS repository, you can try some of this solutions: https://bugs.launchpad.net/ubuntu/+source/gnutls26/+bug/1111882
Should I execute the setEngine.sh
as well w/o su ?
Yes, it is not necessary. If you are using all the time the same user you don't have to use su user.
@ralvarep : thanks for your reply.
Great, actually I again started a fresh installation with setEngine.sh
but with sudo option and then I ran updateEngine.sh
without sudo option. It was throwing some permission error, so just to make it work I changed permissions of all files/dir in NetIDE to 777 (which I should not do). But again I ended up in the same error while running the core with command ./runEngine.sh -c Java
Error executing command: Error resolving artifact eu.netide.core:core.features:xml:features:1.1.0-SNAPSHOT: Could not find artifact eu.netide.core:core.features:xml:features:1.1.0-SNAPSHOT in defaultlocal (file:/home/ubuntu/NetIDE/Engine-mixed/odl-shim/karaf/target/assembly/system/)
Now I am going start again, I removed .m2 directory as well, without using sudo anywhere.
Do you guys have any VM ready for NetIDE engine which you might like to share ? It's really a big pain to repeat all the process again and wait for like ages.
If you have installed Vagrant and VirtualBox, you can go to https://github.com/fp7-netide/Engine/tree/master/utils/vagrant-vm and execute the script createVM.sh. It should create a VM with NetIDE Engine. If you have some problem executing this script, say to us :)
I am trying it and it started a VM and showing like this(#screenshot). I don't know if I did something wrong
Hi,
I am still at same when trying to run the Core. I am getting following error :
ubuntu@ubuntu-xenial:~/NetIDE$ ./runEngine.sh -c Java
===========================
====== NetIDE Engine ======
===========================
=> Core: Java
Starting Karaf...
Logging in as karaf
886 [sshd-SshClient[56a6d5a6]-nio2-thread-1] WARN org.apache.sshd.client.keyverifier.AcceptAllServerKeyVerifier - Server at [/0.0.0.0:8101, DSA, dd:7b:9a:09:8c:4f:cf:72:68:1c:3f:bd:dd:42:ed:00] presented unverified {} key: {}
Adding feature url mvn:eu.netide.core/core.features/1.1.0-SNAPSHOT/xml/features
Error executing command: Error resolving artifact eu.netide.core:core.features:xml:features:1.1.0-SNAPSHOT: Could not find artifact eu.netide.core:core.features:xml:features:1.1.0-SNAPSHOT in defaultlocal (file:/home/ubuntu/NetIDE/Engine-mixed/odl-shim/karaf/target/assembly/system/)
Logging in as karaf
663 [sshd-SshClient[56a6d5a6]-nio2-thread-3] WARN org.apache.sshd.client.keyverifier.AcceptAllServerKeyVerifier - Server at [/0.0.0.0:8101, DSA, dd:7b:9a:09:8c:4f:cf:72:68:1c:3f:bd:dd:42:ed:00] presented unverified {} key: {}
Error executing command: No feature matching core/0.0.0
Logging in as karaf
689 [sshd-SshClient[56a6d5a6]-nio2-thread-2] WARN org.apache.sshd.client.keyverifier.AcceptAllServerKeyVerifier - Server at [/0.0.0.0:8101, DSA, dd:7b:9a:09:8c:4f:cf:72:68:1c:3f:bd:dd:42:ed:00] presented unverified {} key: {}
Command not found: netide:loadcomposition
> To list NetIDE modules:
netide:listmodules
> To shutdown Karaf:
shutdown -f
Logging in as karaf
824 [sshd-SshClient[56a6d5a6]-nio2-thread-3] WARN org.apache.sshd.client.keyverifier.AcceptAllServerKeyVerifier - Server at [/0.0.0.0:8101, DSA, dd:7b:9a:09:8c:4f:cf:72:68:1c:3f:bd:dd:42:ed:00] presented unverified {} key: {}
________ ________ .__ .__ .__ __
\_____ \ ______ ____ ____ \______ \ _____ ___.__.| | |__| ____ | |___/ |_
/ | \\____ \_/ __ \ / \ | | \\__ \< | || | | |/ ___\| | \ __\
/ | \ |_> > ___/| | \| ` \/ __ \\___ || |_| / /_/ > Y \ |
\_______ / __/ \___ >___| /_______ (____ / ____||____/__\___ /|___| /__|
\/|__| \/ \/ \/ \/\/ /_____/ \/
Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown OpenDaylight.
opendaylight-user@root>
I am not sure what is wrong with my installation. I am attaching logs of setEngine.sh
and updateEngine.sh
Please help to make it up and running.
updateEngine.txt setEngine.txt
~SJ
Hi @sushiljain1989,
I have seen that you have some 'Permission denied' problems. Your user ubuntu doesn't have root privileges. To solve this, you can:
Hi @ralvarep ,
Thanks for your reply. I shall do it right now.
Hi,
I was getting the same error even after executing all the scripts as sudo. When I tried to run the core again, there was same error. So I executed shutdown command and executed ./runEngine.sh -c Java again. And in another terminal, I found that ODL shim which was running has also been shut down. So I started that as well and both things started successfully.
But now there was another problem while running Ryu background + Firewall application.
I executed ./runEngine.sh -b Ryu of13-fw and it is showing thatWaiting for handshake to be completed...
It was printing the same line every few seconds.
And something was wrong with Floodlight as well. I am attaching logs here.
Then I stopped everything and thought of trying to run these again. Now I again I am getting the same error while running the core. I am not sure if I am doing something wrong or there's some problem at Engine's end.
runEngine-s-ODL.txt core.txt ryu-back-end.txt floodlight-backend.txt
~SJ
Hi @sushiljain1989 , Did you start a mininet topology connected to the ODL shim? The backend may not complete the handshake process without it.
Yes, I did
On Mon, 14 Nov 2016 at 13:57, Juanma-Sanchez notifications@github.com wrote:
Hi @sushiljain1989 https://github.com/sushiljain1989 , Did you start a mininet topology connected to the ODL shim? The backend may not complete the handshake process without it.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/fp7-netide/Engine/issues/129#issuecomment-260275253, or mute the thread https://github.com/notifications/unsubscribe-auth/AEGxWjceMnIzLKwc-Ggjm66EVljWURyZks5q-BtpgaJpZM4Ktfex .
Was it the one that can be called with ./runEngine -m? With the options for of1.3 and port 6644?
Yes, it was ./runEngine.sh -m netide-topo of13 6644
Hi @sushiljain1989,
Regarding Vagrant VM, it seems that there is some connectivity problem between your host and the Vagrant VM managed by VirtualBox.
I suggest executing vagrant destroy and try again ./createVM.sh. While the VM is booting go to another terminal and execute virtualbox to open it. You will see NetIDE-Engine VM, go to Settings, Network, Advanced Options and check that you have a NAT interface with the cable connected option activated. If it is not activated, activate it.
Hi @ralvarep ,
Thanks createVM.sh script worked for me after applying your solution. But unfortunately, I am still stuck with same error : Waiting for handshake to be completed...
:(
Hello @sushiljain1989 ,
If you used the scripts to install the engine, you may be using the Beryllium release of ODL, which isn't up to date with the netide internal protocol and that could be the reason why the handshake doesn't complete. I have updated the updateEngine.sh
and runEngine.sh
to download the Boron release and use openjdk 8. Could you please try them and tell me if it works or at least if the handshake completes?
Thanks @Juanma-Sanchez
Sure, I'll start executing these scripts right now
Hi,
I tried it with createVM.sh and on another VM box(ubuntu14) but I am getting following error :
Error executing command: Error resolving artifact eu.netide.core:core.features:xml:features:1.1.0-SNAPSHOT: Could not find artifact eu.netide.core:core.features:xml:features:1.1.0-SNAPSHOT in defaultlocal (file:/root/NetIDE/Engine-mixed/odl-shim/karaf/target/assembly/system/)
I solved the above error by starting shim and core at same time. But I am still get getting the "Waiting for handshake..."
What do you mean by "starting shim and core at same time"?
Hi @Juanma-Sanchez ,
When I execute the "./runEngine -s ODL" and then "./runEngine -c Java" then I get this error : Error executing command: Error resolving artifact eu.netide.core:core.features:xml:features:1.1.0-SNAPSHOT: Could not find artifact eu.netide.core:core.features:xml:features:1.1.0-SNAPSHOT in defaultlocal (file:/root/NetIDE/Engine-mixed/odl-shim/karaf/target/assembly/system/) I have explained about it above comments
but when I execute the both at same time then I do not get this error but handshake never gets completed.
Hello @sushiljain1989 , There has been a misunderstanding, what I meant is what have you done to start them simultaneously. The idea is to first start the core, and then in another terminal the shim. The error you have showed us looks like the core hasn't compiled properly, but I don't know how what have you done to solve it nor how could it possibly have worked without recompiling.
I did exactly the same what you just said. First I started the core and in different terminal I started the shim. I was following youtube video tutorial where 1st step was to start the shim and then core. I don't think there is no need to recompile the core because I made a fresh installation.
But the thing is, even after starting the core before shim, and then running Ryu backend after mininet. It never completes the handshake signal.
Logs(taken just now) :
Hi @sushiljain1989 , logs look fine (apart from the handshake problem, of course). Just one small test before, could you check if it works using the Ryu shim instead of the ODL shim? Because I know that should work for sure (I've tested myself, together with @Juanma-Sanchez , for example), but I'm not so sure about the last ODL shim (I just tested the previous release one).
Also, @sergiotamu , @peppepetra , you've both been working with the ODL shim, could you provide some inputs for @sushiljain1989 ? Thank you!
Hi @ElisaRojas,
When I run with Ryu shim, it works fine for Ryu backend but when I run floodlight backend, it throws an exception which is following :
2016-11-22 05:48:37.990 ERROR [n.f.c.i.OFChannelHandler] Disconnecting switch [00:00:00:00:00:00:00:02 from 127.0.0.1:44580] due to switch state error: Switch: [[/127.0.0.1:44580 DPID[00:00:00:00:00:00:00:02]]], State: [net.floodlightcontroller.core.internal.OFSwitchHandshakeHandler$WaitDescriptionStatReplyState@dc76dcd], received: [GET_CONFIG_REPLY], details: Switch should never send this message in the current state
2016-11-22 05:48:38.93 DEBUG [n.f.c.i.OFChannelHandler] StackTrace for previous Exception:
net.floodlightcontroller.core.internal.SwitchStateException: Switch: [[/127.0.0.1:44580 DPID[00:00:00:00:00:00:00:02]]], State: [net.floodlightcontroller.core.internal.OFSwitchHandshakeHandler$WaitDescriptionStatReplyState@dc76dcd], received: [GET_CONFIG_REPLY], details: Switch should never send this message in the current state
at net.floodlightcontroller.core.internal.OFSwitchHandshakeHandler$OFSwitchHandshakeState.illegalMessageReceived(OFSwitchHandshakeHandler.java:659) ~[floodlight.jar:na]
at net.floodlightcontroller.core.internal.OFSwitchHandshakeHandler$OFSwitchHandshakeState.processOFGetConfigReply(OFSwitchHandshakeHandler.java:545) ~[floodlight.jar:na]
at net.floodlightcontroller.core.internal.OFSwitchHandshakeHandler$OFSwitchHandshakeState.processOFMessage(OFSwitchHandshakeHandler.java:799) ~[floodlight.jar:na]
at net.floodlightcontroller.core.internal.OFSwitchHandshakeHandler.processOFMessage(OFSwitchHandshakeHandler.java:1621) ~[floodlight.jar:na]
at net.floodlightcontroller.core.internal.OFSwitchHandshakeHandler.messageReceived(OFSwitchHandshakeHandler.java:1785) ~[floodlight.jar:na]
at net.floodlightcontroller.core.OFConnection.messageReceived(OFConnection.java:380) ~[floodlight.jar:na]
at net.floodlightcontroller.core.internal.OFChannelHandler.sendMessageToConnection(OFChannelHandler.java:458) ~[floodlight.jar:na]
at net.floodlightcontroller.core.internal.OFChannelHandler.access$600(OFChannelHandler.java:55) ~[floodlight.jar:na]
at net.floodlightcontroller.core.internal.OFChannelHandler$OFChannelState.processOFMessage(OFChannelHandler.java:278) ~[floodlight.jar:na]
at net.floodlightcontroller.core.internal.OFChannelHandler.messageReceived(OFChannelHandler.java:630) ~[floodlight.jar:na]
at org.jboss.netty.channel.SimpleChannelHandler.handleUpstream(SimpleChannelHandler.java:88) [floodlight.jar:na]
at org.jboss.netty.handler.timeout.IdleStateAwareChannelHandler.handleUpstream(IdleStateAwareChannelHandler.java:36) [floodlight.jar:na]
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) [floodlight.jar:na]
at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791) [floodlight.jar:na]
at org.jboss.netty.channel.SimpleChannelUpstreamHandler.messageReceived(SimpleChannelUpstreamHandler.java:124) [floodlight.jar:na]
at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) [floodlight.jar:na]
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) [floodlight.jar:na]
at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791) [floodlight.jar:na]
at org.jboss.netty.handler.timeout.ReadTimeoutHandler.messageReceived(ReadTimeoutHandler.java:184) [floodlight.jar:na]
at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) [floodlight.jar:na]
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) [floodlight.jar:na]
at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791) [floodlight.jar:na]
at org.jboss.netty.handler.timeout.IdleStateHandler.messageReceived(IdleStateHandler.java:294) [floodlight.jar:na]
at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) [floodlight.jar:na]
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) [floodlight.jar:na]
at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791) [floodlight.jar:na]
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296) [floodlight.jar:na]
at org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:462) [floodlight.jar:na]
at org.jboss.netty.handler.codec.frame.FrameDecoder.callDecode(FrameDecoder.java:443) [floodlight.jar:na]
at org.jboss.netty.handler.codec.frame.FrameDecoder.messageReceived(FrameDecoder.java:303) [floodlight.jar:na]
at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) [floodlight.jar:na]
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) [floodlight.jar:na]
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:559) [floodlight.jar:na]
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268) [floodlight.jar:na]
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:255) [floodlight.jar:na]
at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:88) [floodlight.jar:na]
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:108) [floodlight.jar:na]
at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:337) [floodlight.jar:na]
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:89) [floodlight.jar:na]
at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178) [floodlight.jar:na]
at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108) [floodlight.jar:na]
at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42) [floodlight.jar:na]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_111]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_111]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_111]
2016-11-22 05:48:38.100 DEBUG [n.f.c.i.OFChannelHandler] StackTrace for previous Exception:
net.floodlightcontroller.core.internal.SwitchStateException: Switch: [[/127.0.0.1:44579 DPID[00:00:00:00:00:00:00:0a]]], State: [net.floodlightcontroller.core.internal.OFSwitchHandshakeHandler$WaitDescriptionStatReplyState@139c09dc], received: [GET_CONFIG_REPLY], details: Switch should never send this message in the current state
at net.floodlightcontroller.core.internal.OFSwitchHandshakeHandler$OFSwitchHandshakeState.illegalMessageReceived(OFSwitchHandshakeHandler.java:659) ~[floodlight.jar:na]
at net.floodlightcontroller.core.internal.OFSwitchHandshakeHandler$OFSwitchHandshakeState.processOFGetConfigReply(OFSwitchHandshakeHandler.java:545) ~[floodlight.jar:na]
at net.floodlightcontroller.core.internal.OFSwitchHandshakeHandler$OFSwitchHandshakeState.processOFMessage(OFSwitchHandshakeHandler.java:799) ~[floodlight.jar:na]
at net.floodlightcontroller.core.internal.OFSwitchHandshakeHandler.processOFMessage(OFSwitchHandshakeHandler.java:1621) ~[floodlight.jar:na]
at net.floodlightcontroller.core.internal.OFSwitchHandshakeHandler.messageReceived(OFSwitchHandshakeHandler.java:1785) ~[floodlight.jar:na]
at net.floodlightcontroller.core.OFConnection.messageReceived(OFConnection.java:380) ~[floodlight.jar:na]
at net.floodlightcontroller.core.internal.OFChannelHandler.sendMessageToConnection(OFChannelHandler.java:458) ~[floodlight.jar:na]
at net.floodlightcontroller.core.internal.OFChannelHandler.access$600(OFChannelHandler.java:55) ~[floodlight.jar:na]
at net.floodlightcontroller.core.internal.OFChannelHandler$OFChannelState.processOFMessage(OFChannelHandler.java:278) ~[floodlight.jar:na]
at net.floodlightcontroller.core.internal.OFChannelHandler.messageReceived(OFChannelHandler.java:630) ~[floodlight.jar:na]
at org.jboss.netty.channel.SimpleChannelHandler.handleUpstream(SimpleChannelHandler.java:88) [floodlight.jar:na]
at org.jboss.netty.handler.timeout.IdleStateAwareChannelHandler.handleUpstream(IdleStateAwareChannelHandler.java:36) [floodlight.jar:na]
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) [floodlight.jar:na]
at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791) [floodlight.jar:na]
at org.jboss.netty.channel.SimpleChannelUpstreamHandler.messageReceived(SimpleChannelUpstreamHandler.java:124) [floodlight.jar:na]
at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) [floodlight.jar:na]
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) [floodlight.jar:na]
at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791) [floodlight.jar:na]
at org.jboss.netty.handler.timeout.ReadTimeoutHandler.messageReceived(ReadTimeoutHandler.java:184) [floodlight.jar:na]
at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) [floodlight.jar:na]
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) [floodlight.jar:na]
at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791) [floodlight.jar:na]
at org.jboss.netty.handler.timeout.IdleStateHandler.messageReceived(IdleStateHandler.java:294) [floodlight.jar:na]
at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) [floodlight.jar:na]
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) [floodlight.jar:na]
at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791) [floodlight.jar:na]
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296) [floodlight.jar:na]
at org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:462) [floodlight.jar:na]
at org.jboss.netty.handler.codec.frame.FrameDecoder.callDecode(FrameDecoder.java:443) [floodlight.jar:na]
at org.jboss.netty.handler.codec.frame.FrameDecoder.messageReceived(FrameDecoder.java:303) [floodlight.jar:na]
at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) [floodlight.jar:na]
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) [floodlight.jar:na]
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:559) [floodlight.jar:na]
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268) [floodlight.jar:na]
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:255) [floodlight.jar:na]
at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:88) [floodlight.jar:na]
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:108) [floodlight.jar:na]
at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:337) [floodlight.jar:na]
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:89) [floodlight.jar:na]
at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178) [floodlight.jar:na]
at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108) [floodlight.jar:na]
at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42) [floodlight.jar:na]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_111]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_111]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_111]
2016-11-22 05:48:38.144 INFO [n.f.c.i.OFChannelHandler] [[00:00:00:00:00:00:00:0a from 127.0.0.1:44579]] Disconnected connection
2016-11-22 05:48:38.155 INFO [n.f.c.i.OFChannelHandler] [[00:00:00:00:00:00:00:02 from 127.0.0.1:44580]] Disconnected connection
2016-11-22 05:48:38.168 WARN [n.f.c.i.OFSwitchHandshakeHandler] Config Reply from switch [/127.0.0.1:44581 DPID[00:00:00:00:00:00:00:01]] hasmiss length set to 128
2016-11-22 05:48:38.169 DEBUG [n.f.c.i.OFSwitchHandshakeHandler] [00:00:00:00:00:00:00:01] - Switch Handshake - enter state WaitDescriptionStatReplyState
2016-11-22 05:48:38.170 DEBUG [n.f.c.OFConnection] OFConnection [00:00:00:00:00:00:00:01(0x0)@/127.0.0.1:44581]: send OFDescStatsRequestVer10(xid=4294967292, flags=[])
2016-11-22 05:48:38.171 DEBUG [n.f.i.SwitchChannelHandler] Message received channel handler: STATS_REQUEST switch datapathID: 1
2016-11-22 05:48:38.172 ERROR [n.f.c.i.OFChannelHandler] Disconnecting switch [00:00:00:00:00:00:00:01 from 127.0.0.1:44581] due to switch state error: Switch: [[/127.0.0.1:44581 DPID[00:00:00:00:00:00:00:01]]], State: [net.floodlightcontroller.core.internal.OFSwitchHandshakeHandler$WaitDescriptionStatReplyState@ab42b87], received: [GET_CONFIG_REPLY], details: Switch should never send this message in the current state
2016-11-22 05:48:38.173 WARN [n.f.c.i.OFSwitchHandshakeHandler] Config Reply from switch [/127.0.0.1:44578 DPID[00:00:00:00:00:00:00:03]] hasmiss length set to 128
2016-11-22 05:48:38.179 DEBUG [n.f.c.i.OFSwitchHandshakeHandler] [00:00:00:00:00:00:00:03] - Switch Handshake - enter state WaitDescriptionStatReplyState
2016-11-22 05:48:38.179 DEBUG [n.f.c.OFConnection] OFConnection [00:00:00:00:00:00:00:03(0x0)@/127.0.0.1:44578]: send OFDescStatsRequestVer10(xid=4294967292, flags=[])
2016-11-22 05:48:38.179 DEBUG [n.f.i.SwitchChannelHandler] Message received channel handler: STATS_REQUEST switch datapathID: 3
2016-11-22 05:48:38.180 ERROR [n.f.c.i.OFChannelHandler] Disconnecting switch [00:00:00:00:00:00:00:03 from 127.0.0.1:44578] due to switch state error: Switch: [[/127.0.0.1:44578 DPID[00:00:00:00:00:00:00:03]]], State: [net.floodlightcontroller.core.internal.OFSwitchHandshakeHandler$WaitDescriptionStatReplyState@4f703ac8], received: [GET_CONFIG_REPLY], details: Switch should never send this message in the current state
2016-11-22 05:48:38.181 DEBUG [n.f.c.i.OFChannelHandler] StackTrace for previous Exception:
net.floodlightcontroller.core.internal.SwitchStateException: Switch: [[/127.0.0.1:44578 DPID[00:00:00:00:00:00:00:03]]], State: [net.floodlightcontroller.core.internal.OFSwitchHandshakeHandler$WaitDescriptionStatReplyState@4f703ac8], received: [GET_CONFIG_REPLY], details: Switch should never send this message in the current state
at net.floodlightcontroller.core.internal.OFSwitchHandshakeHandler$OFSwitchHandshakeState.illegalMessageReceived(OFSwitchHandshakeHandler.java:659) ~[floodlight.jar:na]
at net.floodlightcontroller.core.internal.OFSwitchHandshakeHandler$OFSwitchHandshakeState.processOFGetConfigReply(OFSwitchHandshakeHandler.java:545) ~[floodlight.jar:na]
at net.floodlightcontroller.core.internal.OFSwitchHandshakeHandler$OFSwitchHandshakeState.processOFMessage(OFSwitchHandshakeHandler.java:799) ~[floodlight.jar:na]
at net.floodlightcontroller.core.internal.OFSwitchHandshakeHandler.processOFMessage(OFSwitchHandshakeHandler.java:1621) ~[floodlight.jar:na]
at net.floodlightcontroller.core.internal.OFSwitchHandshakeHandler.messageReceived(OFSwitchHandshakeHandler.java:1785) ~[floodlight.jar:na]
at net.floodlightcontroller.core.OFConnection.messageReceived(OFConnection.java:380) ~[floodlight.jar:na]
at net.floodlightcontroller.core.internal.OFChannelHandler.sendMessageToConnection(OFChannelHandler.java:458) ~[floodlight.jar:na]
at net.floodlightcontroller.core.internal.OFChannelHandler.access$600(OFChannelHandler.java:55) ~[floodlight.jar:na]
at net.floodlightcontroller.core.internal.OFChannelHandler$OFChannelState.processOFMessage(OFChannelHandler.java:278) ~[floodlight.jar:na]
at net.floodlightcontroller.core.internal.OFChannelHandler.messageReceived(OFChannelHandler.java:630) ~[floodlight.jar:na]
at org.jboss.netty.channel.SimpleChannelHandler.handleUpstream(SimpleChannelHandler.java:88) [floodlight.jar:na]
at org.jboss.netty.handler.timeout.IdleStateAwareChannelHandler.handleUpstream(IdleStateAwareChannelHandler.java:36) [floodlight.jar:na]
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) [floodlight.jar:na]
at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791) [floodlight.jar:na]
at org.jboss.netty.channel.SimpleChannelUpstreamHandler.messageReceived(SimpleChannelUpstreamHandler.java:124) [floodlight.jar:na]
at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) [floodlight.jar:na]
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) [floodlight.jar:na]
at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791) [floodlight.jar:na]
at org.jboss.netty.handler.timeout.ReadTimeoutHandler.messageReceived(ReadTimeoutHandler.java:184) [floodlight.jar:na]
at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) [floodlight.jar:na]
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) [floodlight.jar:na]
at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791) [floodlight.jar:na]
at org.jboss.netty.handler.timeout.IdleStateHandler.messageReceived(IdleStateHandler.java:294) [floodlight.jar:na]
at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) [floodlight.jar:na]
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) [floodlight.jar:na]
at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791) [floodlight.jar:na]
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296) [floodlight.jar:na]
at org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:462) [floodlight.jar:na]
at org.jboss.netty.handler.codec.frame.FrameDecoder.callDecode(FrameDecoder.java:443) [floodlight.jar:na]
at org.jboss.netty.handler.codec.frame.FrameDecoder.messageReceived(FrameDecoder.java:303) [floodlight.jar:na]
at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) [floodlight.jar:na]
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) [floodlight.jar:na]
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:559) [floodlight.jar:na]
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268) [floodlight.jar:na]
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:255) [floodlight.jar:na]
at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:88) [floodlight.jar:na]
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:108) [floodlight.jar:na]
at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:337) [floodlight.jar:na]
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:89) [floodlight.jar:na]
at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178) [floodlight.jar:na]
at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108) [floodlight.jar:na]
at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42) [floodlight.jar:na]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_111]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_111]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_111]
2016-11-22 05:48:38.182 DEBUG [n.f.c.i.OFChannelHandler] StackTrace for previous Exception:
net.floodlightcontroller.core.internal.SwitchStateException: Switch: [[/127.0.0.1:44581 DPID[00:00:00:00:00:00:00:01]]], State: [net.floodlightcontroller.core.internal.OFSwitchHandshakeHandler$WaitDescriptionStatReplyState@ab42b87], received: [GET_CONFIG_REPLY], details: Switch should never send this message in the current state
at net.floodlightcontroller.core.internal.OFSwitchHandshakeHandler$OFSwitchHandshakeState.illegalMessageReceived(OFSwitchHandshakeHandler.java:659) ~[floodlight.jar:na]
at net.floodlightcontroller.core.internal.OFSwitchHandshakeHandler$OFSwitchHandshakeState.processOFGetConfigReply(OFSwitchHandshakeHandler.java:545) ~[floodlight.jar:na]
at net.floodlightcontroller.core.internal.OFSwitchHandshakeHandler$OFSwitchHandshakeState.processOFMessage(OFSwitchHandshakeHandler.java:799) ~[floodlight.jar:na]
at net.floodlightcontroller.core.internal.OFSwitchHandshakeHandler.processOFMessage(OFSwitchHandshakeHandler.java:1621) ~[floodlight.jar:na]
at net.floodlightcontroller.core.internal.OFSwitchHandshakeHandler.messageReceived(OFSwitchHandshakeHandler.java:1785) ~[floodlight.jar:na]
at net.floodlightcontroller.core.OFConnection.messageReceived(OFConnection.java:380) ~[floodlight.jar:na]
at net.floodlightcontroller.core.internal.OFChannelHandler.sendMessageToConnection(OFChannelHandler.java:458) ~[floodlight.jar:na]
at net.floodlightcontroller.core.internal.OFChannelHandler.access$600(OFChannelHandler.java:55) ~[floodlight.jar:na]
at net.floodlightcontroller.core.internal.OFChannelHandler$OFChannelState.processOFMessage(OFChannelHandler.java:278) ~[floodlight.jar:na]
at net.floodlightcontroller.core.internal.OFChannelHandler.messageReceived(OFChannelHandler.java:630) ~[floodlight.jar:na]
at org.jboss.netty.channel.SimpleChannelHandler.handleUpstream(SimpleChannelHandler.java:88) [floodlight.jar:na]
at org.jboss.netty.handler.timeout.IdleStateAwareChannelHandler.handleUpstream(IdleStateAwareChannelHandler.java:36) [floodlight.jar:na]
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) [floodlight.jar:na]
at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791) [floodlight.jar:na]
at org.jboss.netty.channel.SimpleChannelUpstreamHandler.messageReceived(SimpleChannelUpstreamHandler.java:124) [floodlight.jar:na]
at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) [floodlight.jar:na]
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) [floodlight.jar:na]
at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791) [floodlight.jar:na]
at org.jboss.netty.handler.timeout.ReadTimeoutHandler.messageReceived(ReadTimeoutHandler.java:184) [floodlight.jar:na]
at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) [floodlight.jar:na]
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) [floodlight.jar:na]
at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791) [floodlight.jar:na]
at org.jboss.netty.handler.timeout.IdleStateHandler.messageReceived(IdleStateHandler.java:294) [floodlight.jar:na]
at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) [floodlight.jar:na]
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) [floodlight.jar:na]
at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791) [floodlight.jar:na]
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296) [floodlight.jar:na]
at org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:462) [floodlight.jar:na]
at org.jboss.netty.handler.codec.frame.FrameDecoder.callDecode(FrameDecoder.java:443) [floodlight.jar:na]
at org.jboss.netty.handler.codec.frame.FrameDecoder.messageReceived(FrameDecoder.java:303) [floodlight.jar:na]
at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) [floodlight.jar:na]
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) [floodlight.jar:na]
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:559) [floodlight.jar:na]
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268) [floodlight.jar:na]
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:255) [floodlight.jar:na]
at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:88) [floodlight.jar:na]
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:108) [floodlight.jar:na]
at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:337) [floodlight.jar:na]
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:89) [floodlight.jar:na]
at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178) [floodlight.jar:na]
at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108) [floodlight.jar:na]
at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42) [floodlight.jar:na]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_111]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_111]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_111]
2016-11-22 05:48:38.201 INFO [n.f.c.i.OFChannelHandler] [[00:00:00:00:00:00:00:03 from 127.0.0.1:44578]] Disconnected connection
2016-11-22 05:48:38.207 INFO [n.f.c.i.OFChannelHandler] [[00:00:00:00:00:00:00:01 from 127.0.0.1:44581]] Disconnected connection
EXCEPTION, please implement net.floodlightcontroller.interceptor.SwitchChannelHandler.exceptionCaught() for proper handling.
java.nio.channels.ClosedChannelException
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.cleanUpWriteBuffer(AbstractNioWorker.java:433)
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.writeFromUserCode(AbstractNioWorker.java:128)
at org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink.eventSunk(NioClientSocketPipelineSink.java:84)
at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendDownstream(DefaultChannelPipeline.java:779)
at org.jboss.netty.channel.SimpleChannelHandler.writeRequested(SimpleChannelHandler.java:292)
at org.jboss.netty.channel.SimpleChannelHandler.handleDownstream(SimpleChannelHandler.java:254)
at org.jboss.netty.channel.DefaultChannelPipeline.sendDownstream(DefaultChannelPipeline.java:591)
at org.jboss.netty.channel.DefaultChannelPipeline.sendDownstream(DefaultChannelPipeline.java:582)
at org.jboss.netty.channel.Channels.write(Channels.java:704)
at org.jboss.netty.channel.Channels.write(Channels.java:671)
at org.jboss.netty.channel.AbstractChannel.write(AbstractChannel.java:348)
at net.floodlightcontroller.interceptor.Relay.sendToController(Relay.java:81)
at net.floodlightcontroller.interceptor.Relay.sendToController(Relay.java:127)
at net.floodlightcontroller.interceptor.NetIdeModule.onOpenFlowCoreMessage(NetIdeModule.java:299)
at net.floodlightcontroller.interceptor.ZeroMQBaseConnector.run(ZeroMQBaseConnector.java:118)
at java.lang.Thread.run(Thread.java:745)
EXCEPTION, please implement net.floodlightcontroller.interceptor.SwitchChannelHandler.exceptionCaught() for proper handling.
java.nio.channels.ClosedChannelException
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.cleanUpWriteBuffer(AbstractNioWorker.java:433)
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.writeFromUserCode(AbstractNioWorker.java:128)
at org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink.eventSunk(NioClientSocketPipelineSink.java:84)
at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendDownstream(DefaultChannelPipeline.java:779)
at org.jboss.netty.channel.SimpleChannelHandler.writeRequested(SimpleChannelHandler.java:292)
at org.jboss.netty.channel.SimpleChannelHandler.handleDownstream(SimpleChannelHandler.java:254)
at org.jboss.netty.channel.DefaultChannelPipeline.sendDownstream(DefaultChannelPipeline.java:591)
at org.jboss.netty.channel.DefaultChannelPipeline.sendDownstream(DefaultChannelPipeline.java:582)
at org.jboss.netty.channel.Channels.write(Channels.java:704)
at org.jboss.netty.channel.Channels.write(Channels.java:671)
at org.jboss.netty.channel.AbstractChannel.write(AbstractChannel.java:348)
at net.floodlightcontroller.interceptor.Relay.sendToController(Relay.java:81)
at net.floodlightcontroller.interceptor.Relay.sendToController(Relay.java:127)
at net.floodlightcontroller.interceptor.NetIdeModule.onOpenFlowCoreMessage(NetIdeModule.java:299)
at net.floodlightcontroller.interceptor.ZeroMQBaseConnector.run(ZeroMQBaseConnector.java:118)
at java.lang.Thread.run(Thread.java:745)
EXCEPTION, please implement net.floodlightcontroller.interceptor.SwitchChannelHandler.exceptionCaught() for proper handling.
java.nio.channels.ClosedChannelException
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.cleanUpWriteBuffer(AbstractNioWorker.java:433)
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.writeFromUserCode(AbstractNioWorker.java:128)
at org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink.eventSunk(NioClientSocketPipelineSink.java:84)
at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendDownstream(DefaultChannelPipeline.java:779)
at org.jboss.netty.channel.SimpleChannelHandler.writeRequested(SimpleChannelHandler.java:292)
at org.jboss.netty.channel.SimpleChannelHandler.handleDownstream(SimpleChannelHandler.java:254)
at org.jboss.netty.channel.DefaultChannelPipeline.sendDownstream(DefaultChannelPipeline.java:591)
at org.jboss.netty.channel.DefaultChannelPipeline.sendDownstream(DefaultChannelPipeline.java:582)
at org.jboss.netty.channel.Channels.write(Channels.java:704)
at org.jboss.netty.channel.Channels.write(Channels.java:671)
at org.jboss.netty.channel.AbstractChannel.write(AbstractChannel.java:348)
at net.floodlightcontroller.interceptor.Relay.sendToController(Relay.java:81)
at net.floodlightcontroller.interceptor.Relay.sendToController(Relay.java:104)
at net.floodlightcontroller.interceptor.NetIdeModule.onOpenFlowCoreMessage(NetIdeModule.java:299)
at net.floodlightcontroller.interceptor.ZeroMQBaseConnector.run(ZeroMQBaseConnector.java:118)
at java.lang.Thread.run(Thread.java:745)
EXCEPTION, please implement net.floodlightcontroller.interceptor.SwitchChannelHandler.exceptionCaught() for proper handling.
java.nio.channels.ClosedChannelException
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.cleanUpWriteBuffer(AbstractNioWorker.java:433)
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.writeFromUserCode(AbstractNioWorker.java:128)
at org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink.eventSunk(NioClientSocketPipelineSink.java:84)
at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendDownstream(DefaultChannelPipeline.java:779)
at org.jboss.netty.channel.SimpleChannelHandler.writeRequested(SimpleChannelHandler.java:292)
at org.jboss.netty.channel.SimpleChannelHandler.handleDownstream(SimpleChannelHandler.java:254)
at org.jboss.netty.channel.DefaultChannelPipeline.sendDownstream(DefaultChannelPipeline.java:591)
at org.jboss.netty.channel.DefaultChannelPipeline.sendDownstream(DefaultChannelPipeline.java:582)
at org.jboss.netty.channel.Channels.write(Channels.java:704)
at org.jboss.netty.channel.Channels.write(Channels.java:671)
at org.jboss.netty.channel.AbstractChannel.write(AbstractChannel.java:348)
at net.floodlightcontroller.interceptor.Relay.sendToController(Relay.java:81)
at net.floodlightcontroller.interceptor.Relay.sendToController(Relay.java:127)
at net.floodlightcontroller.interceptor.NetIdeModule.onOpenFlowCoreMessage(NetIdeModule.java:299)
at net.floodlightcontroller.interceptor.ZeroMQBaseConnector.run(ZeroMQBaseConnector.java:118)
at java.lang.Thread.run(Thread.java:745)
EXCEPTION, please implement net.floodlightcontroller.interceptor.SwitchChannelHandler.exceptionCaught() for proper handling.
java.nio.channels.ClosedChannelException
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.cleanUpWriteBuffer(AbstractNioWorker.java:433)
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.writeFromUserCode(AbstractNioWorker.java:128)
at org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink.eventSunk(NioClientSocketPipelineSink.java:84)
at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendDownstream(DefaultChannelPipeline.java:779)
at org.jboss.netty.channel.SimpleChannelHandler.writeRequested(SimpleChannelHandler.java:292)
at org.jboss.netty.channel.SimpleChannelHandler.handleDownstream(SimpleChannelHandler.java:254)
at org.jboss.netty.channel.DefaultChannelPipeline.sendDownstream(DefaultChannelPipeline.java:591)
at org.jboss.netty.channel.DefaultChannelPipeline.sendDownstream(DefaultChannelPipeline.java:582)
at org.jboss.netty.channel.Channels.write(Channels.java:704)
at org.jboss.netty.channel.Channels.write(Channels.java:671)
at org.jboss.netty.channel.AbstractChannel.write(AbstractChannel.java:348)
at net.floodlightcontroller.interceptor.Relay.sendToController(Relay.java:81)
at net.floodlightcontroller.interceptor.Relay.sendToController(Relay.java:104)
at net.floodlightcontroller.interceptor.NetIdeModule.onOpenFlowCoreMessage(NetIdeModule.java:299)
at net.floodlightcontroller.interceptor.ZeroMQBaseConnector.run(ZeroMQBaseConnector.java:118)
at java.lang.Thread.run(Thread.java:745)
EXCEPTION, please implement net.floodlightcontroller.interceptor.SwitchChannelHandler.exceptionCaught() for proper handling.
java.nio.channels.ClosedChannelException
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.cleanUpWriteBuffer(AbstractNioWorker.java:433)
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.writeFromUserCode(AbstractNioWorker.java:128)
at org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink.eventSunk(NioClientSocketPipelineSink.java:84)
at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendDownstream(DefaultChannelPipeline.java:779)
at org.jboss.netty.channel.SimpleChannelHandler.writeRequested(SimpleChannelHandler.java:292)
at org.jboss.netty.channel.SimpleChannelHandler.handleDownstream(SimpleChannelHandler.java:254)
at org.jboss.netty.channel.DefaultChannelPipeline.sendDownstream(DefaultChannelPipeline.java:591)
at org.jboss.netty.channel.DefaultChannelPipeline.sendDownstream(DefaultChannelPipeline.java:582)
at org.jboss.netty.channel.Channels.write(Channels.java:704)
at org.jboss.netty.channel.Channels.write(Channels.java:671)
at org.jboss.netty.channel.AbstractChannel.write(AbstractChannel.java:348)
at net.floodlightcontroller.interceptor.Relay.sendToController(Relay.java:81)
at net.floodlightcontroller.interceptor.Relay.sendToController(Relay.java:127)
at net.floodlightcontroller.interceptor.NetIdeModule.onOpenFlowCoreMessage(NetIdeModule.java:299)
at net.floodlightcontroller.interceptor.ZeroMQBaseConnector.run(ZeroMQBaseConnector.java:118)
at java.lang.Thread.run(Thread.java:745)
EXCEPTION, please implement net.floodlightcontroller.interceptor.SwitchChannelHandler.exceptionCaught() for proper handling.
java.nio.channels.ClosedChannelException
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.cleanUpWriteBuffer(AbstractNioWorker.java:433)
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.writeFromUserCode(AbstractNioWorker.java:128)
at org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink.eventSunk(NioClientSocketPipelineSink.java:84)
at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendDownstream(DefaultChannelPipeline.java:779)
at org.jboss.netty.channel.SimpleChannelHandler.writeRequested(SimpleChannelHandler.java:292)
at org.jboss.netty.channel.SimpleChannelHandler.handleDownstream(SimpleChannelHandler.java:254)
at org.jboss.netty.channel.DefaultChannelPipeline.sendDownstream(DefaultChannelPipeline.java:591)
at org.jboss.netty.channel.DefaultChannelPipeline.sendDownstream(DefaultChannelPipeline.java:582)
at org.jboss.netty.channel.Channels.write(Channels.java:704)
at org.jboss.netty.channel.Channels.write(Channels.java:671)
at org.jboss.netty.channel.AbstractChannel.write(AbstractChannel.java:348)
at net.floodlightcontroller.interceptor.Relay.sendToController(Relay.java:81)
at net.floodlightcontroller.interceptor.Relay.sendToController(Relay.java:104)
at net.floodlightcontroller.interceptor.NetIdeModule.onOpenFlowCoreMessage(NetIdeModule.java:299)
at net.floodlightcontroller.interceptor.ZeroMQBaseConnector.run(ZeroMQBaseConnector.java:118)
at java.lang.Thread.run(Thread.java:745)
EXCEPTION, please implement net.floodlightcontroller.interceptor.SwitchChannelHandler.exceptionCaught() for proper handling.
java.nio.channels.ClosedChannelException
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.cleanUpWriteBuffer(AbstractNioWorker.java:433)
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.writeFromUserCode(AbstractNioWorker.java:128)
at org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink.eventSunk(NioClientSocketPipelineSink.java:84)
at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendDownstream(DefaultChannelPipeline.java:779)
at org.jboss.netty.channel.SimpleChannelHandler.writeRequested(SimpleChannelHandler.java:292)
at org.jboss.netty.channel.SimpleChannelHandler.handleDownstream(SimpleChannelHandler.java:254)
at org.jboss.netty.channel.DefaultChannelPipeline.sendDownstream(DefaultChannelPipeline.java:591)
at org.jboss.netty.channel.DefaultChannelPipeline.sendDownstream(DefaultChannelPipeline.java:582)
at org.jboss.netty.channel.Channels.write(Channels.java:704)
at org.jboss.netty.channel.Channels.write(Channels.java:671)
at org.jboss.netty.channel.AbstractChannel.write(AbstractChannel.java:348)
at net.floodlightcontroller.interceptor.Relay.sendToController(Relay.java:81)
at net.floodlightcontroller.interceptor.Relay.sendToController(Relay.java:104)
at net.floodlightcontroller.interceptor.NetIdeModule.onOpenFlowCoreMessage(NetIdeModule.java:299)
at net.floodlightcontroller.interceptor.ZeroMQBaseConnector.run(ZeroMQBaseConnector.java:118)
at java.lang.Thread.run(Thread.java:745)
2016-11-22 05:48:42.409 DEBUG [n.f.i.NetIdeModule] Unexpected message received from the core for switch DataPathID: 3 Type: ECHO_REQUEST XID: 0 Handshake uncompleted. Dropping it.
2016-11-22 05:48:42.419 DEBUG [n.f.i.NetIdeModule] Unexpected message received from the core for switch DataPathID: 3 Type: ECHO_REQUEST XID: 0 Handshake uncompleted. Dropping it.
2016-11-22 05:48:42.421 DEBUG [n.f.i.NetIdeModule] Unexpected message received from the core for switch DataPathID: 10 Type: ECHO_REQUEST XID: 0 Handshake uncompleted. Dropping it.
2016-11-22 05:48:42.433 DEBUG [n.f.i.NetIdeModule] Unexpected message received from the core for switch DataPathID: 10 Type: ECHO_REQUEST XID: 0 Handshake uncompleted. Dropping it.
Also when I run the mininet with ./runEngine -m ....
and dump the flows with "dpctl-dump flows" then it shows :
mininet> dpctl dump-flows
*** s11 ------------------------------------------------------------------------
ovs-ofctl: s11 is not a bridge or a socket
*** s21 ------------------------------------------------------------------------
ovs-ofctl: s21 is not a bridge or a socket
*** s22 ------------------------------------------------------------------------
ovs-ofctl: s22 is not a bridge or a socket
*** s23 ------------------------------------------------------------------------
ovs-ofctl: s23 is not a bridge or a socket
So I executed sudo mn --custom ryu/ netide-topo.py --topo mytopo --controller=remote,ip=127.0.0.1,port=6633 --switch ovsk,protocols=OpenFlow10
instead to make it run. However if I run with OpenFlow13 then it says :
mininet> dpctl dump-flows
*** s11 ------------------------------------------------------------------------
2016-11-22T05:54:54Z|00001|vconn|WARN|unix:/var/run/openvswitch/s11.mgmt: version negotiation failed (we support version 0x01, peer supports version 0x04)
ovs-ofctl: s11: failed to connect to socket (Broken pipe)
*** s21 ------------------------------------------------------------------------
2016-11-22T05:54:54Z|00001|vconn|WARN|unix:/var/run/openvswitch/s21.mgmt: version negotiation failed (we support version 0x01, peer supports version 0x04)
ovs-ofctl: s21: failed to connect to socket (Broken pipe)
*** s22 ------------------------------------------------------------------------
2016-11-22T05:54:54Z|00001|vconn|WARN|unix:/var/run/openvswitch/s22.mgmt: version negotiation failed (we support version 0x01, peer supports version 0x04)
ovs-ofctl: s22: failed to connect to socket (Broken pipe)
*** s23 ------------------------------------------------------------------------
2016-11-22T05:54:54Z|00001|vconn|WARN|unix:/var/run/openvswitch/s23.mgmt: version negotiation failed (we support version 0x01, peer supports version 0x04)
ovs-ofctl: s23: failed to connect to socket (Broken pipe)
When I work with Ryu shim, Ryu Backend, mininet sudo mn --custom ryu/ netide-topo.py --topo mytopo --controller=remote,ip=127.0.0.1,port=6633 --switch ovsk,protocols=OpenFlow10
then it works perfectly fine for me.
Hi @sushiljain1989
The FL backend is on progress, we have found some bugs and we are fixing them. So if you want to test in your SDN network two different controllers, I will try: Ryu backend + Core + ODL shim or Ryu backend + Core + ONOS shim.
Ohh, I wasn't aware about that. And could you help me with of13 issue ?
On Tue, 22 Nov 2016 at 19:48, Sergio Tamurejo notifications@github.com wrote:
Hi @sushiljain1989 https://github.com/sushiljain1989
The FL backend is on progress, we have found some bugs and we are fixing them. So if you want to test in you SDN network two different controllers, I will try: Ryu backend + Core + ODL shim or Ryu backend + Core + ONOS shim.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/fp7-netide/Engine/issues/129#issuecomment-262251190, or mute the thread https://github.com/notifications/unsubscribe-auth/AEGxWpcyIeravVyQYZ4F1xIR7JVlLqQlks5rAvkTgaJpZM4Ktfex .
mininet> dpctl dump-flows *** s11 ------------------------------------------------------------------------ 2016-11-22T05:54:54Z|00001|vconn|WARN|unix:/var/run/openvswitch/s11.mgmt: version negotiation failed (we support version 0x01, peer supports version 0x04) ovs-ofctl: s11: failed to connect to socket (Broken pipe) *** s21 ------------------------------------------------------------------------ 2016-11-22T05:54:54Z|00001|vconn|WARN|unix:/var/run/openvswitch/s21.mgmt: version negotiation failed (we support version 0x01, peer supports version 0x04) ovs-ofctl: s21: failed to connect to socket (Broken pipe) *** s22 ------------------------------------------------------------------------ 2016-11-22T05:54:54Z|00001|vconn|WARN|unix:/var/run/openvswitch/s22.mgmt: version negotiation failed (we support version 0x01, peer supports version 0x04) ovs-ofctl: s22: failed to connect to socket (Broken pipe) *** s23 ------------------------------------------------------------------------ 2016-11-22T05:54:54Z|00001|vconn|WARN|unix:/var/run/openvswitch/s23.mgmt: version negotiation failed (we support version 0x01, peer supports version 0x04) ovs-ofctl: s23: failed to connect to socket (Broken pipe)
This error is related to OVS dump-flow command when running switches with Openflow version > 1.0. Try this:
ofctl dump-flows -O Openflow13
Yes of course, do you want to run Ryu backend + Core + Ryu shim with OF 1.3.??
Thanks @amarsico, @sergiotamu Yes, it worked for me.
Hello @sushiljain1989,
Next step is to execute a different shim with the ryu backend. So, please don't hesitate in contact us if you have problems with this. =)
Hi,
I am following these youtube instructions. When I try to run the Ryu and Floodlight then Ryu fails to start and floodlight runs. But in mininet, when I try to ping host from each other. It is not working for me. Could anyone pls help me to fix it ?
~SJ Logs(Ryu) :
Logs (Floodlight):