Hi,
when set qos on pica8 p3297 sdn switch by rest_qos.py, a Exception
happended and stack trace is shown below.
the question is even exception happend, command_result is success too!
i think it's a bug.
thank you!
++++++++++++++++++++++
kkxue@ticomm:~$ curl -X POST -d '{"port_name": "ge-1/1/4", "type":
"PRONTO_STRICT", "queues": [{"max_rate": "1000000"}]}'
http://localhost:8080/qos/queue/5e3e486e730201cd
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/eventlet/wsgi.py", line 427,
in handle_one_response
result = self.application(self.environ, start_response)
File "/opt/ryu/ryu/app/wsgi.py", line 197, in __call__
return super(wsgify_hack, self).__call__(environ, start_response)
File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 130, in
__call__
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 195, in
call_func
return self.func(req, *args, **kwargs)
File "/opt/ryu/ryu/app/wsgi.py", line 259, in __call__
return controller(req)
File "/opt/ryu/ryu/app/wsgi.py", line 121, in __call__
return getattr(self, action)(req, **kwargs)
File "/opt/ryu/ryu/app/rest_qos.py", line 440, in set_queue
'set_queue', None)
File "/opt/ryu/ryu/app/rest_qos.py", line 528, in _access_switch
msg = function(rest, vid)
File "/opt/ryu/ryu/app/rest_qos.py", line 636, in _rest_command
key, value = func(*args, **kwargs)
File "/opt/ryu/ryu/app/rest_qos.py", line 690, in set_queue
vif_ports = self.ovs_bridge.get_port_name_list()
File "/opt/ryu/ryu/lib/ovs/bridge.py", line 173, in get_port_name_list
self.run_command([command])
File "/opt/ryu/ryu/lib/ovs/bridge.py", line 105, in run_command
self.vsctl.run_command(commands, self.timeout, self.exception)
File "/opt/ryu/ryu/lib/ovs/vsctl.py", line 1103, in run_command
self._run_command(commands)
File "/opt/ryu/ryu/lib/ovs/vsctl.py", line 1096, in _run_command
self._do_main(commands)
File "/opt/ryu/ryu/lib/ovs/vsctl.py", line 1012, in _do_main
self._init_schema_helper()
File "/opt/ryu/ryu/lib/ovs/vsctl.py", line 897, in _init_schema_helper
vswitch_idl.OVSREC_DB_NAME)
File "/opt/ryu/ryu/lib/ovs/vsctl.py", line 889, in _rpc_get_schema_json
vsctl_fatal(os.strerror(error))
File "/opt/ryu/ryu/lib/ovs/vsctl.py", line 132, in vsctl_fatal
raise Exception(msg) # not call ovs.utils.ovs_fatal for
reusability
Exception: Broken pipe
++++++++++++++++++++++
++++++++++++++++++++++
kkxue@ticomm:~$ curl -X GET http://localhost:8080/qos/queue/5e3e486e730201cd
[{"switch_id": "5e3e486e730201cd", "command_result": {"result":
"success", "details": {"0": {"config": {"max-rate": "1000000"}}}}}]
++++++++++++++++++++++
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel