Hello everyone
I want to use ovs.lib.ovs.vsctl to interact with OVS.
But when I use VSCtlCommand and run_command, it always shows timeout error,
listing bellow.
error Connection timed outhub: 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/base/app_manager.py", line 276, in
_event_loop handler(ev) File
"/var/www/html/iPodia/controller/controller.py", line 87, in
_switch_enter_handler vsctl.run_command([cmd]) File
"/usr/local/lib/python2.7/dist-packages/ryu/lib/ovs/vsctl.py", line 1104, in
run_command self._run_command(commands) File
"/usr/local/lib/python2.7/dist-packages/ryu/lib/ovs/vsctl.py", line 1100, in
_run_command self._do_main(commands) File
"/usr/local/lib/python2.7/dist-packages/ryu/lib/ovs/vsctl.py", line 1016, in
_do_main self._init_schema_helper() File
"/usr/local/lib/python2.7/dist-packages/ryu/lib/ovs/vsctl.py", line 901, in
_init_schema_helper vswitch_idl.OVSREC_DB_NAME) File
"/usr/local/lib/python2.7/dist-packages/ryu/lib/ovs/vsctl.py", line 886, in
_rpc_get_schema_json vsctl_fatal('error %s' % os.strerror(error)) File
"/usr/local/lib/python2.7/dist-packages/ryu/lib/ovs/vsctl.py", line 136, in
vsctl_fatal raise Exception(msg) # not call ovs.utils.ovs_fatal for
reusabilityException: error Connection timed out
Does anyone have idea why this happends?
Thanks.
Zhao Jun
------------------------------------------------------------------------------
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel