Hi, On 2016年07月18日 02:11, Deepak Jose wrote: > Hi Team, > > I'm trying to learn ryu and followed the ryu documentation for my learning. I > have created 3 hosts, 1 switch and 1 controller using 'sudo mn --topo > single,3 --mac --switch ovsk --controller remote -x'. But when I try to > laucnh ryu-manager from controller, it gets hung as shown in logs below. Also > ovs-dpctl gave some errors. > Can someone check the logs and help me to move forward or debug this issue? > > root@mininet-vm:~# ryu-manager --verbose ryu.app.simple_switch_13 > loading app ryu.app.simple_switch_13 > loading app ryu.controller.ofp_handler > instantiating app ryu.app.simple_switch_13 of SimpleSwitch13 > instantiating app ryu.controller.ofp_handler of OFPHandler > BRICK SimpleSwitch13 > CONSUMES EventOFPSwitchFeatures > CONSUMES EventOFPPacketIn > BRICK ofp_event > PROVIDES EventOFPSwitchFeatures TO {'SimpleSwitch13': set(['config'])} > PROVIDES EventOFPPacketIn TO {'SimpleSwitch13': set(['main'])} > CONSUMES EventOFPErrorMsg > CONSUMES EventOFPPortDescStatsReply > CONSUMES EventOFPEchoRequest > CONSUMES EventOFPEchoReply > CONSUMES EventOFPHello > CONSUMES EventOFPPortStatus > CONSUMES EventOFPSwitchFeatures > <No processing after this>
According the above messages, Ryu seems to be waiting for the connection from OVS and working well. > > root@mininet-vm:~/openvswitch/openvswitch-2.5.0/ovsdb# ovs-dpctl show > 2016-07-17T17:08:37Z|00001|dpif_netlink|ERR|Generic Netlink family > 'ovs_datapath' does not exist. The Open vSwitch kernel module is probably not > loaded. > 2016-07-17T17:08:37Z|00002|dpif|WARN|failed to enumerate system datapaths: No > such file or directory It seems that OVS kernel module is not loaded. How about trying this command and restarting OVS? e.g.) sudo depmod sudo modprobe openvswitch Thank, Iwase > > Thanks, > Deepak > > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic > patterns at an interface-level. Reveals which users, apps, and protocols are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity planning > reports.http://sdm.link/zohodev2dev > > > > _______________________________________________ > Ryu-devel mailing list > Ryu-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/ryu-devel > ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports.http://sdm.link/zohodev2dev _______________________________________________ Ryu-devel mailing list Ryu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ryu-devel