fp7-netide / Engine

App Engine to enable Network App programs to be executed, systematically tested, and refined on a variety of concrete SDN platforms
Eclipse Public License 1.0
10 stars 11 forks source link

Problem while running Ryu and Floodlight backend #129

Closed sushiljain1989 closed 5 years ago

sushiljain1989 commented 7 years ago

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) :

netide@ubuntu-1404:~/NetIDE$ ./runEngine.sh -b Ryu of13-fw

===========================
====== NetIDE Engine ======
===========================
=> Backend: Ryu

Traceback (most recent call last):
  File "/usr/local/bin/ryu-manager", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2749, in <module>
    working_set = WorkingSet._build_master()
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 446, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 459, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 632, in resolve
    raise VersionConflict(dist,req) # XXX put more info here
pkg_resources.VersionConflict: (six 1.5.2 (/usr/lib/python2.7/dist-packages), Requirement.parse('six>=1.9.0'))

Logs (Floodlight):


netide@ubuntu-1404:~/NetIDE$ ./runEngine.sh -b Floodlight

===========================
====== NetIDE Engine ======
===========================
=> Backend: Floodlight

Starting floodlight server ...
2016-11-09 12:33:33.760 INFO  [n.f.c.m.FloodlightModuleLoader] Loading modules from src/main/resources/floodlightdefault.properties
2016-11-09 12:33:33.782 DEBUG [n.f.c.m.FloodlightModuleLoader] Starting module loader
2016-11-09 12:33:34.156 DEBUG [n.f.c.m.FloodlightModuleLoader] Found module net.floodlightcontroller.core.internal.FloodlightProvider
2016-11-09 12:33:34.182 DEBUG [n.f.c.m.FloodlightModuleLoader] Found module net.floodlightcontroller.storage.memory.MemoryStorageSource
2016-11-09 12:33:34.191 DEBUG [n.f.c.m.FloodlightModuleLoader] Found module net.floodlightcontroller.flowcache.FlowReconcileManager
2016-11-09 12:33:34.215 DEBUG [n.f.c.m.FloodlightModuleLoader] Found module net.floodlightcontroller.hub.Hub
2016-11-09 12:33:34.221 DEBUG [n.f.c.m.FloodlightModuleLoader] Found module net.floodlightcontroller.jython.JythonDebugInterface
2016-11-09 12:33:34.358 DEBUG [n.f.c.m.FloodlightModuleLoader] Found module net.floodlightcontroller.debugcounter.DebugCounterServiceImpl
2016-11-09 12:33:34.476 DEBUG [n.f.c.m.FloodlightModuleLoader] Found module net.floodlightcontroller.debugevent.DebugEventService
2016-11-09 12:33:34.490 DEBUG [n.f.c.m.FloodlightModuleLoader] Found module net.floodlightcontroller.threadpool.ThreadPool
2016-11-09 12:33:34.493 DEBUG [n.f.c.m.FloodlightModuleLoader] Found module net.floodlightcontroller.perfmon.PktInProcessingTime
2016-11-09 12:33:34.500 DEBUG [n.f.c.m.FloodlightModuleLoader] Found module net.floodlightcontroller.restserver.RestApiServer
2016-11-09 12:33:34.534 DEBUG [n.f.c.m.FloodlightModuleLoader] Found module net.floodlightcontroller.ui.web.StaticWebRoutable
2016-11-09 12:33:34.557 DEBUG [n.f.c.m.FloodlightModuleLoader] Found module net.floodlightcontroller.virtualnetwork.VirtualNetworkFilter
2016-11-09 12:33:34.561 DEBUG [n.f.c.m.FloodlightModuleLoader] Found module net.floodlightcontroller.devicemanager.internal.DefaultEntityClassifier
2016-11-09 12:33:34.638 DEBUG [n.f.c.m.FloodlightModuleLoader] Found module net.floodlightcontroller.core.internal.OFSwitchManager
2016-11-09 12:33:34.640 DEBUG [n.f.c.m.FloodlightModuleLoader] Found module net.floodlightcontroller.core.internal.ShutdownServiceImpl
2016-11-09 12:33:34.712 DEBUG [n.f.c.m.FloodlightModuleLoader] Found module org.sdnplatform.sync.internal.SyncManager
2016-11-09 12:33:34.715 DEBUG [n.f.c.m.FloodlightModuleLoader] Found module org.sdnplatform.sync.internal.SyncTorture
2016-11-09 12:33:34.720 DEBUG [n.f.c.m.FloodlightModuleLoader] Found module net.floodlightcontroller.staticflowentry.StaticFlowEntryPusher
2016-11-09 12:33:34.721 DEBUG [n.f.c.m.FloodlightModuleLoader] Found module net.floodlightcontroller.testmodule.TestModule
2016-11-09 12:33:34.737 DEBUG [n.f.c.m.FloodlightModuleLoader] Found module net.floodlightcontroller.topology.TopologyManager
2016-11-09 12:33:34.877 DEBUG [n.f.c.m.FloodlightModuleLoader] Found module net.floodlightcontroller.forwarding.Forwarding
2016-11-09 12:33:34.892 DEBUG [n.f.c.m.FloodlightModuleLoader] Found module net.floodlightcontroller.loadbalancer.LoadBalancer
2016-11-09 12:33:34.913 DEBUG [n.f.c.m.FloodlightModuleLoader] Found module net.floodlightcontroller.linkdiscovery.internal.LinkDiscoveryManager
2016-11-09 12:33:34.923 DEBUG [n.f.c.m.FloodlightModuleLoader] Found module net.floodlightcontroller.devicemanager.internal.DeviceManagerImpl
2016-11-09 12:33:34.982 DEBUG [n.f.c.m.FloodlightModuleLoader] Found module net.floodlightcontroller.firewall.Firewall
2016-11-09 12:33:34.988 DEBUG [n.f.c.m.FloodlightModuleLoader] Found module net.floodlightcontroller.accesscontrollist.ACL
2016-11-09 12:33:35.33 DEBUG [n.f.c.m.FloodlightModuleLoader] Found module net.floodlightcontroller.dhcpserver.DHCPServer
2016-11-09 12:33:35.38 DEBUG [n.f.c.m.FloodlightModuleLoader] Found module net.floodlightcontroller.learningswitch.LearningSwitch
2016-11-09 12:33:35.45 DEBUG [n.f.c.m.FloodlightModuleLoader] Found module net.floodlightcontroller.interceptor.NetIdeModule
2016-11-09 12:33:35.48 DEBUG [n.f.c.m.FloodlightModuleLoader] Adding configuration option supportedOpenFlowVersions = 1.3, 1.0 for module net.floodlightcontroller.core.internal.OFSwitchManager
2016-11-09 12:33:35.53 DEBUG [n.f.c.m.FloodlightModuleLoader] Adding configuration option role = ACTIVE for module net.floodlightcontroller.core.internal.FloodlightProvider
2016-11-09 12:33:35.54 DEBUG [n.f.c.m.FloodlightModuleLoader] Adding configuration option openflowport = 7733 for module net.floodlightcontroller.core.internal.FloodlightProvider
2016-11-09 12:33:35.55 DEBUG [n.f.c.m.FloodlightModuleLoader] Adding configuration option priority = 100 for module net.floodlightcontroller.learningswitch.LearningSwitch
2016-11-09 12:33:35.81 DEBUG [n.f.c.m.FloodlightModuleLoader] Adding configuration option port = 8888 for module net.floodlightcontroller.restserver.RestApiServer
2016-11-09 12:33:35.85 DEBUG [n.f.c.m.FloodlightModuleLoader] Adding configuration option port = 7755 for module net.floodlightcontroller.jython.JythonDebugInterface
2016-11-09 12:33:35.86 DEBUG [n.f.c.m.FloodlightModuleLoader] Adding configuration option corePort = 5555 for module net.floodlightcontroller.interceptor.NetIdeModule
2016-11-09 12:33:35.86 DEBUG [n.f.c.m.FloodlightModuleLoader] Adding configuration option modules = floodlight-backend,learningswitch for module net.floodlightcontroller.interceptor.NetIdeModule
2016-11-09 12:33:35.87 DEBUG [n.f.c.m.FloodlightModuleLoader] Adding configuration option hardtimeout = 0 for module net.floodlightcontroller.learningswitch.LearningSwitch
2016-11-09 12:33:35.87 DEBUG [n.f.c.m.FloodlightModuleLoader] Adding configuration option idletimeout = 5 for module net.floodlightcontroller.learningswitch.LearningSwitch
2016-11-09 12:33:35.87 DEBUG [n.f.c.m.FloodlightModuleLoader] Adding configuration option coreIp = 127.0.0.1 for module net.floodlightcontroller.interceptor.NetIdeModule
2016-11-09 12:33:35.89 DEBUG [n.f.c.m.FloodlightModuleLoader] Setting net.floodlightcontroller.restserver.RestApiServer@26be92ad  as provider for net.floodlightcontroller.restserver.IRestApiService
2016-11-09 12:33:35.91 DEBUG [n.f.c.m.FloodlightModuleLoader] Setting net.floodlightcontroller.core.internal.ShutdownServiceImpl@5700d6b1  as provider for net.floodlightcontroller.core.IShutdownService
2016-11-09 12:33:35.91 DEBUG [n.f.c.m.FloodlightModuleLoader] Setting net.floodlightcontroller.debugcounter.DebugCounterServiceImpl@1936f0f5  as provider for net.floodlightcontroller.debugcounter.IDebugCounterService
2016-11-09 12:33:35.91 DEBUG [n.f.c.m.FloodlightModuleLoader] Setting net.floodlightcontroller.storage.memory.MemoryStorageSource@1e643faf  as provider for net.floodlightcontroller.storage.IStorageSourceService
2016-11-09 12:33:35.92 DEBUG [n.f.c.m.FloodlightModuleLoader] Setting net.floodlightcontroller.perfmon.PktInProcessingTime@18be83e4  as provider for net.floodlightcontroller.perfmon.IPktInProcessingTimeService
2016-11-09 12:33:35.93 DEBUG [n.f.c.m.FloodlightModuleLoader] Setting net.floodlightcontroller.debugevent.DebugEventService@4cc0edeb  as provider for net.floodlightcontroller.debugevent.IDebugEventService
2016-11-09 12:33:35.95 DEBUG [n.f.c.m.FloodlightModuleLoader] Setting net.floodlightcontroller.threadpool.ThreadPool@6767c1fc  as provider for net.floodlightcontroller.threadpool.IThreadPoolService
2016-11-09 12:33:35.95 DEBUG [n.f.c.m.FloodlightModuleLoader] Setting org.sdnplatform.sync.internal.SyncManager@6adede5  as provider for org.sdnplatform.sync.ISyncService
2016-11-09 12:33:35.95 DEBUG [n.f.c.m.FloodlightModuleLoader] Setting net.floodlightcontroller.core.internal.OFSwitchManager@3fee9989  as provider for net.floodlightcontroller.core.internal.IOFSwitchService
2016-11-09 12:33:35.137 DEBUG [n.f.c.m.FloodlightModuleLoader] Setting net.floodlightcontroller.core.internal.Controller@2d8f65a4  as provider for net.floodlightcontroller.core.IFloodlightProviderService
2016-11-09 12:33:35.142 DEBUG [n.f.c.m.FloodlightModuleLoader] Setting net.floodlightcontroller.staticflowentry.StaticFlowEntryPusher@dc24521  as provider for net.floodlightcontroller.staticflowentry.IStaticFlowEntryPusherService
2016-11-09 12:33:35.142 DEBUG [n.f.c.m.FloodlightModuleLoader] Setting net.floodlightcontroller.learningswitch.LearningSwitch@27a5f880  as provider for net.floodlightcontroller.learningswitch.ILearningSwitchService
2016-11-09 12:33:35.142 DEBUG [n.f.c.m.FloodlightModuleLoader] Initializing net.floodlightcontroller.restserver.RestApiServer
2016-11-09 12:33:35.143 WARN  [n.f.r.RestApiServer] HTTPS disabled; HTTPS will not be used to connect to the REST API.
2016-11-09 12:33:35.143 WARN  [n.f.r.RestApiServer] HTTP disabled; HTTP will not be used to connect to the REST API.
2016-11-09 12:33:35.143 DEBUG [n.f.c.m.FloodlightModuleLoader] Initializing net.floodlightcontroller.core.internal.ShutdownServiceImpl
2016-11-09 12:33:35.143 DEBUG [n.f.c.m.FloodlightModuleLoader] Initializing net.floodlightcontroller.debugcounter.DebugCounterServiceImpl
2016-11-09 12:33:35.143 DEBUG [n.f.c.m.FloodlightModuleLoader] Initializing net.floodlightcontroller.storage.memory.MemoryStorageSource
2016-11-09 12:33:35.143 DEBUG [n.f.c.m.FloodlightModuleLoader] Initializing net.floodlightcontroller.perfmon.PktInProcessingTime
2016-11-09 12:33:35.144 DEBUG [n.f.c.m.FloodlightModuleLoader] Initializing net.floodlightcontroller.debugevent.DebugEventService
2016-11-09 12:33:35.144 DEBUG [n.f.c.m.FloodlightModuleLoader] Initializing net.floodlightcontroller.threadpool.ThreadPool
2016-11-09 12:33:35.181 DEBUG [n.f.c.m.FloodlightModuleLoader] Initializing org.sdnplatform.sync.internal.SyncManager
2016-11-09 12:33:37.813 DEBUG [n.f.c.m.FloodlightModuleLoader] Initializing net.floodlightcontroller.core.internal.OFSwitchManager
2016-11-09 12:33:37.828 DEBUG [n.f.d.DebugCounterServiceImpl] Counter OFSwitchManager switch-activated already registered. Resetting hierarchy
2016-11-09 12:33:37.837 WARN  [n.f.c.i.OFSwitchManager] SSL disabled. Using unsecure connections between Floodlight and switches.
2016-11-09 12:33:37.838 WARN  [n.f.c.i.OFSwitchManager] Clear switch flow tables on initial handshake as master: FALSE
2016-11-09 12:33:37.838 WARN  [n.f.c.i.OFSwitchManager] Clear switch flow tables on each transition to master: FALSE
2016-11-09 12:33:37.847 DEBUG [n.f.c.m.FloodlightModuleLoader] Initializing net.floodlightcontroller.core.internal.FloodlightProvider
2016-11-09 12:33:37.860 DEBUG [n.f.c.i.Controller] Number of worker threads set to 0
2016-11-09 12:33:37.865 INFO  [n.f.c.i.Controller] Controller role set to ACTIVE
2016-11-09 12:33:37.959 DEBUG [n.f.c.m.FloodlightModuleLoader] Initializing net.floodlightcontroller.staticflowentry.StaticFlowEntryPusher
2016-11-09 12:33:37.987 DEBUG [n.f.c.m.FloodlightModuleLoader] Initializing net.floodlightcontroller.jython.JythonDebugInterface
2016-11-09 12:33:37.987 DEBUG [n.f.c.m.FloodlightModuleLoader] Initializing net.floodlightcontroller.ui.web.StaticWebRoutable
2016-11-09 12:33:37.990 DEBUG [n.f.c.m.FloodlightModuleLoader] Initializing net.floodlightcontroller.learningswitch.LearningSwitch
2016-11-09 12:33:37.990 DEBUG [n.f.c.m.FloodlightModuleLoader] Initializing net.floodlightcontroller.interceptor.NetIdeModule
2016-11-09 12:33:38.182 DEBUG [n.f.c.m.FloodlightModuleLoader] Starting net.floodlightcontroller.restserver.RestApiServer
2016-11-09 12:33:38.183 DEBUG [n.f.c.m.FloodlightModuleLoader] Starting net.floodlightcontroller.core.internal.ShutdownServiceImpl
2016-11-09 12:33:38.183 DEBUG [n.f.c.m.FloodlightModuleLoader] Starting net.floodlightcontroller.debugcounter.DebugCounterServiceImpl
2016-11-09 12:33:38.185 DEBUG [n.f.c.m.FloodlightModuleLoader] Starting net.floodlightcontroller.storage.memory.MemoryStorageSource
2016-11-09 12:33:38.190 DEBUG [n.f.c.m.FloodlightModuleLoader] Starting net.floodlightcontroller.perfmon.PktInProcessingTime
2016-11-09 12:33:38.206 DEBUG [n.f.c.m.FloodlightModuleLoader] Starting net.floodlightcontroller.debugevent.DebugEventService
2016-11-09 12:33:38.224 DEBUG [n.f.c.m.FloodlightModuleLoader] Starting net.floodlightcontroller.threadpool.ThreadPool
2016-11-09 12:33:38.225 DEBUG [n.f.c.m.FloodlightModuleLoader] Starting org.sdnplatform.sync.internal.SyncManager
2016-11-09 12:33:38.479 INFO  [n.f.i.ZeroMQBaseConnector] Trying to connect to core on address tcp://127.0.0.1:5555
2016-11-09 12:33:38.504 INFO  [n.f.i.ZeroMQBaseConnector] Successfully connected to core on address tcp://127.0.0.1:5555
2016-11-09 12:33:39.609 INFO  [o.s.s.i.c.FallbackCCProvider] Cluster not yet configured; using fallback local configuration
2016-11-09 12:33:39.610 INFO  [o.s.s.i.SyncManager] [32767] Updating sync configuration ClusterConfig [allNodes={32767=Node [hostname=localhost, port=6642, nodeId=32767, domainId=32767]}, authScheme=NO_AUTH, keyStorePath=null, keyStorePassword is unset]
2016-11-09 12:33:39.873 INFO  [o.s.s.i.r.RPCService] Listening for internal floodlight RPC on localhost/127.0.0.1:6642
2016-11-09 12:33:39.956 DEBUG [n.f.c.m.FloodlightModuleLoader] Starting net.floodlightcontroller.core.internal.OFSwitchManager
2016-11-09 12:33:40.39 INFO  [n.f.c.i.OFSwitchManager] Listening for switch connections on 0.0.0.0/0.0.0.0:7753
2016-11-09 12:33:40.39 DEBUG [n.f.c.m.FloodlightModuleLoader] Starting net.floodlightcontroller.core.internal.FloodlightProvider
2016-11-09 12:33:40.43 DEBUG [n.f.c.m.FloodlightModuleLoader] Starting net.floodlightcontroller.staticflowentry.StaticFlowEntryPusher
2016-11-09 12:33:40.46 DEBUG [n.f.c.m.FloodlightModuleLoader] Starting net.floodlightcontroller.jython.JythonDebugInterface
2016-11-09 12:33:40.46 DEBUG [n.f.j.JythonDebugInterface] Jython port set to 7755
2016-11-09 12:33:40.48 DEBUG [n.f.c.m.FloodlightModuleLoader] Starting net.floodlightcontroller.ui.web.StaticWebRoutable
2016-11-09 12:33:40.52 DEBUG [n.f.c.m.FloodlightModuleLoader] Starting net.floodlightcontroller.learningswitch.LearningSwitch
2016-11-09 12:33:40.90 DEBUG [n.f.l.LearningSwitch] FlowMod idle timeout set to 5 seconds
2016-11-09 12:33:40.94 DEBUG [n.f.l.LearningSwitch] FlowMod hard timeout set to 0 seconds
2016-11-09 12:33:40.96 DEBUG [n.f.l.LearningSwitch] FlowMod priority set to 100
2016-11-09 12:33:40.96 DEBUG [n.f.c.m.FloodlightModuleLoader] Starting net.floodlightcontroller.interceptor.NetIdeModule
2016-11-09 12:33:40.256 INFO  [n.f.i.ZeroMQBaseConnector] Module Announcement received. ModuleName: floodlight-backend ModuleId: 348
2016-11-09 12:33:40.258 DEBUG [n.f.i.ModuleHandlerImpl] Module name : floodlight-backend ModuleId: 348
2016-11-09 12:33:40.279 INFO  [n.f.i.ZeroMQBaseConnector] Module Announcement received. ModuleName: learningswitch ModuleId: 464
2016-11-09 12:33:40.280 DEBUG [n.f.i.ModuleHandlerImpl] Module name : learningswitch ModuleId: 464
2016-11-09 12:33:40.295 DEBUG [n.f.r.RestApiServer] REST API routables: StorageWebRoutable (/wm/storage), PerfWebRoutable (/wm/performance), CoreWebRoutable (/wm/core), StaticFlowEntryWebRoutable (/wm/staticflowpusher), StaticWebRoutable (/ui/), LearningSwitchWebRoutable (/wm/learningswitch), 
2016-11-09 12:33:40.925 INFO  [org.restlet] Starting net.floodlightcontroller.restserver.RestApiServer$RestApplication application
2016-11-09 12:33:41.30 DEBUG [org.restlet] By default, an application should be attached to a parent component in order to let application's outbound root handle calls properly.
2016-11-09 12:33:41.169 DEBUG [n.f.c.m.FloodlightModuleLoader] Running net.floodlightcontroller.core.internal.FloodlightProvider.public void net.floodlightcontroller.core.internal.FloodlightProvider.run() throws net.floodlightcontroller.core.module.FloodlightModuleException
2016-11-09 12:33:41.182 DEBUG [n.f.c.i.Controller] OFListeners for ROLE_REQUEST: null,
2016-11-09 12:33:41.184 DEBUG [n.f.c.i.Controller] OFListeners for PORT_MOD: null,
2016-11-09 12:33:41.185 DEBUG [n.f.c.i.Controller] OFListeners for PACKET_IN: learningswitch,
2016-11-09 12:33:41.185 DEBUG [n.f.c.i.Controller] OFListeners for FLOW_REMOVED: staticflowentry,learningswitch,
2016-11-09 12:33:41.185 DEBUG [n.f.c.i.Controller] OFListeners for GROUP_MOD: null,
2016-11-09 12:33:41.185 DEBUG [n.f.c.i.Controller] OFListeners for STATS_REQUEST: null,
2016-11-09 12:33:41.185 DEBUG [n.f.c.i.Controller] OFListeners for BARRIER_REQUEST: null,
2016-11-09 12:33:41.185 DEBUG [n.f.c.i.Controller] OFListeners for ERROR: learningswitch,null,
2016-11-09 12:33:41.185 DEBUG [n.f.c.i.Controller] OFListeners for EXPERIMENTER: null,
2016-11-09 12:33:41.185 DEBUG [n.f.c.i.Controller] OFListeners for FEATURES_REQUEST: null,
2016-11-09 12:33:41.185 DEBUG [n.f.c.i.Controller] OFListeners for PACKET_OUT: null,
2016-11-09 12:33:41.185 DEBUG [n.f.c.i.Controller] OFListeners for QUEUE_GET_CONFIG_REQUEST: null,
2016-11-09 12:33:41.185 DEBUG [n.f.c.i.Controller] OFListeners for GET_ASYNC_REQUEST: null,
2016-11-09 12:33:41.185 DEBUG [n.f.c.i.Controller] OFListeners for SET_ASYNC: null,
2016-11-09 12:33:41.186 DEBUG [n.f.c.i.Controller] OFListeners for METER_MOD: null,
2016-11-09 12:33:41.187 DEBUG [n.f.c.i.Controller] OFListeners for GET_CONFIG_REQUEST: null,
2016-11-09 12:33:41.193 DEBUG [n.f.c.i.Controller] OFListeners for ECHO_REQUEST: null,
2016-11-09 12:33:41.194 DEBUG [n.f.c.i.Controller] OFListeners for HELLO: null,
2016-11-09 12:33:41.194 DEBUG [n.f.c.i.Controller] OFListeners for FLOW_MOD: null,
2016-11-09 12:33:41.196 DEBUG [n.f.c.i.Controller] OFListeners for TABLE_MOD: null,
2016-11-09 12:33:41.196 DEBUG [n.f.c.i.Controller] OFListeners for SET_CONFIG: null,
2016-11-09 12:33:41.196 DEBUG [n.f.c.i.Controller] HAListeners: null, staticflowentry, 
2016-11-09 12:34:03.680 INFO  [n.f.j.JythonServer] Starting DebugServer on :7755
ElisaRojas commented 7 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:

sushiljain1989 commented 7 years ago

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

ElisaRojas commented 7 years ago

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).

sushiljain1989 commented 7 years ago

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
ralvarep commented 7 years ago

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

sushiljain1989 commented 7 years ago

Should I execute the setEngine.sh as well w/o su ?

ralvarep commented 7 years ago

Yes, it is not necessary. If you are using all the time the same user you don't have to use su user.

sushiljain1989 commented 7 years ago

@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.

sushiljain1989 commented 7 years ago

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.

ralvarep commented 7 years ago

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 :)

sushiljain1989 commented 7 years ago

I am trying it and it started a VM and showing like this(#screenshot). I don't know if I did something wrong

screen shot 2016-11-11 at 1 24 13 am
sushiljain1989 commented 7 years ago

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

ralvarep commented 7 years ago

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:

sushiljain1989 commented 7 years ago

Hi @ralvarep ,

Thanks for your reply. I shall do it right now.

sushiljain1989 commented 7 years ago

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

Juanma-Sanchez commented 7 years ago

Hi @sushiljain1989 , Did you start a mininet topology connected to the ODL shim? The backend may not complete the handshake process without it.

sushiljain1989 commented 7 years ago

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 .

Juanma-Sanchez commented 7 years ago

Was it the one that can be called with ./runEngine -m? With the options for of1.3 and port 6644?

sushiljain1989 commented 7 years ago

Yes, it was ./runEngine.sh -m netide-topo of13 6644

ralvarep commented 7 years ago

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.

sushiljain1989 commented 7 years ago

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... :(

screen shot 2016-11-15 at 1 46 30 pm
Juanma-Sanchez commented 7 years ago

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?

sushiljain1989 commented 7 years ago

Thanks @Juanma-Sanchez

Sure, I'll start executing these scripts right now

sushiljain1989 commented 7 years ago

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/)
sushiljain1989 commented 7 years ago

I solved the above error by starting shim and core at same time. But I am still get getting the "Waiting for handshake..."

Juanma-Sanchez commented 7 years ago

What do you mean by "starting shim and core at same time"?

sushiljain1989 commented 7 years ago

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.

Juanma-Sanchez commented 7 years ago

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.

sushiljain1989 commented 7 years ago

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) :

core.txt odl_shim.txt mininet.txt Ryu_Backend.txt

ElisaRojas commented 7 years ago

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!

sushiljain1989 commented 7 years ago

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.

sergiotamu commented 7 years ago

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.

sushiljain1989 commented 7 years ago

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 .

amarsico commented 7 years ago
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

sergiotamu commented 7 years ago

Yes of course, do you want to run Ryu backend + Core + Ryu shim with OF 1.3.??

sushiljain1989 commented 7 years ago

Thanks @amarsico, @sergiotamu Yes, it worked for me.

sergiotamu commented 7 years ago

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. =)