Hello,
I encounter the errors below quite often recently:
----
Traceback (most recent call last):
File "build/bdist.macosx-10.8-intel/egg/gevent/greenlet.py", line 390, in run
result = self._run(*self.args, **self.kwargs)
File
"/Library/Python/2.7/site-packages/ryu-1.7-py2.7.egg/ryu/controller/controller.py",
line 307, in datapath_connection_factory
datapath.serve()
File
"/Library/Python/2.7/site-packages/ryu-1.7-py2.7.egg/ryu/controller/controller.py",
line 227, in serve
self._recv_loop()
File
"/Library/Python/2.7/site-packages/ryu-1.7-py2.7.egg/ryu/controller/controller.py",
line 97, in deactivate
method(self)
File
"/Library/Python/2.7/site-packages/ryu-1.7-py2.7.egg/ryu/controller/controller.py",
line 170, in _recv_loop
version, msg_type, msg_len, xid, buf)
File
"/Library/Python/2.7/site-packages/ryu-1.7-py2.7.egg/ryu/ofproto/ofproto_parser.py",
line 50, in msg
return msg_parser(datapath, version, msg_type, msg_len, xid, buf)
File
"/Library/Python/2.7/site-packages/ryu-1.7-py2.7.egg/ryu/ofproto/ofproto_v1_0_parser.py",
line 52, in msg_parser
return parser(datapath, version, msg_type, msg_len, xid, buf)
File
"/Library/Python/2.7/site-packages/ryu-1.7-py2.7.egg/ryu/ofproto/ofproto_v1_0_parser.py",
line 1564, in parser
msg.buf, ofproto_v1_0.OFP_HEADER_SIZE)
error: unpack_from requires a buffer of at least 12 bytes
<Greenlet at 0x10d9f1d70: datapath_connection_factory(<socket at 0x10dd80fd0
fileno=8 sock=10.109.242.11, ('10.109.242.118', 50694))> failed with error
----
For one of the triggers you may refer to
http://sourceforge.net/mailarchive/forum.php?thread_name=20130314.084438.1568838937885763874.fujita.tomonori%40lab.ntt.co.jp&forum_name=ryu-devel
It seems that if an app I write fails to meet some unknown standard, the switch
will send some packets that ryu cannot handle properly, and then ryu crashes.
Maybe this is a bug of ryu?
FYI, I'm using ryu with mininet(open vSwitch 1.9.0)
Best regards,
Can Zhang
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel