I am getting the following error in logs:
/ryu/controller/ofp_handler.py:70
2016-04-10 14:50:57.715 DEBUG RyuDFAdapter [-] move onto config mode from (pid=7309) hello_handler /usr/local/lib/python2.7/dist-packages/ryu/controller/ofp_handler.py:185
2016-04-10 14:50:57.716 DEBUG RyuDFAdapter [-] switch features ev version=0x4,msg_type=0x6,msg_len=0x20,xid=0xdba57262,OFPSwitchFeatures(auxiliary_id=0,capabilities=79,datapath_id=240472173004872,n_buffers=256,n_tables=254) from (pid=7309) switch_features_handler /usr/local/lib/python2.7/dist-packages/ryu/controller/ofp_handler.py:196
2016-04-10 14:50:57.719 ERROR ryu.controller.controller [-] Error in the datapath 0000dab54a734848 from ('10.100.100.8', 39626)
2016-04-10 14:50:57.719 ERROR ryu.lib.hub [-] hub: uncaught exception: Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/ryu/lib/hub.py", line 52, in _launch
func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/ryu/controller/controller.py", line 402, in datapath_connection_factory
datapath.serve()
File "/usr/local/lib/python2.7/dist-packages/ryu/controller/controller.py", line 320, in serve
self._recv_loop()
File "/usr/local/lib/python2.7/dist-packages/ryu/controller/controller.py", line 115, in deactivate
method(self)
File "/usr/local/lib/python2.7/dist-packages/ryu/controller/controller.py", line 225, in _recv_loop
handler(ev)
File "/opt/stack/dragonflow/dragonflow/controller/ryu_base_app.py", line 143, in switch_features_handler
self.dispatcher.dispatch('switch_features_handler', ev)
File "/opt/stack/dragonflow/dragonflow/controller/dispatcher.py", line 43, in dispatch
handler(*args, **kwargs)
File "/opt/stack/dragonflow/dragonflow/controller/l2_app.py", line 81, in switch_features_handler
self._install_flows_on_switch_up()
File "/opt/stack/dragonflow/dragonflow/controller/l2_app.py", line 501, in _install_flows_on_switch_up
self.add_remote_port(port)
File "/opt/stack/dragonflow/dragonflow/controller/l2_app.py", line 486, in add_remote_port
match=match)
File "/opt/stack/dragonflow/dragonflow/controller/df_base_app.py", line 82, in mod_flow
datapath.send_msg(message)
File "/usr/local/lib/python2.7/dist-packages/ryu/controller/controller.py", line 289, in send_msg
msg.serialize()
File "/usr/local/lib/python2.7/dist-packages/ryu/ofproto/ofproto_parser.py", line 211, in serialize
self._serialize_body()
File "/usr/local/lib/python2.7/dist-packages/ryu/ofproto/ofproto_v1_3_parser.py", line 2659, in _serialize_body
inst.serialize(self.buf, offset)
File "/usr/local/lib/python2.7/dist-packages/ryu/ofproto/ofproto_v1_3_parser.py", line 2798, in serialize
a.serialize(buf, action_offset)
File "/usr/local/lib/python2.7/dist-packages/ryu/ofproto/ofproto_v1_3_parser.py", line 2907, in serialize
offset, self.type, self.len, self.port, self.max_len)
File "/usr/local/lib/python2.7/dist-packages/ryu/lib/pack_utils.py", line 25, in msg_pack_into
buf += struct.pack(fmt, *args)
error: cannot convert argument to integer
2016-04-10 14:51:02.295 DEBUG ryu.controller.controller [-] Datapath in process of terminating; send() to ('10.100.100.8', 39626) discarded. from (pid=7309) send /usr/local/lib/python2.7/dist-packages/ryu/controller/controller.py:277
I had a single box installation.