[openstack-dev] Run time error - Quantum OVS Agent

Aaron Rosen arosen at nicira.com
Sat Aug 18 04:57:36 UTC 2012


Hi Naveen,

Yes, it seems that br-int is not created on this machine. I'm not sure why
it was not created for you on reboot (if it did in fact exist previous to
reboot) when the openvswitch daemon starts. In any event running  ovs-vsctl
add-br br-int  should resolve the issue for you.

Aaron

On Fri, Aug 17, 2012 at 11:35 PM, Naveen Joy (najoy) <najoy at cisco.com>wrote:

>  I am getting a run time error when starting up the ovs_quantum_agent.
> This setup was working before I rebooted the system . Any idea what the
> cause could be?. Looks like the agent has the wrong port ID.****
>
> ** **
>
> #sudo python /usr/local/bin/ovs_quantum_agent.py
>  /etc/quantum/ovs_quantum_plugin.ini****
>
> kwargs = {'priority': 1, 'actions': 'normal'}****
>
> kwargs = {'in_port': '-1', 'delete': True}****
>
> Traceback (most recent call last):****
>
>   File "/usr/local/bin/ovs_quantum_agent.py", line 609, in <module>****
>
>     main()****
>
>   File "/usr/local/bin/ovs_quantum_agent.py", line 604, in main****
>
>     plugin.daemon_loop(db_connection_url)****
>
>   File "/usr/local/bin/ovs_quantum_agent.py", line 221, in daemon_loop****
>
>     self.port_bound(p, vlan_id)****
>
>   File "/usr/local/bin/ovs_quantum_agent.py", line 135, in port_bound****
>
>     self.int_br.delete_flows(in_port=port.ofport)****
>
>   File
> "/usr/local/lib/python2.7/dist-packages/quantum-2012.2-py2.7.egg/quantum/agent/linux/ovs_lib.py",
> line 135, in delete_flows****
>
>     self.run_ofctl("del-flows", [flow_str])****
>
>   File
> "/usr/local/lib/python2.7/dist-packages/quantum-2012.2-py2.7.egg/quantum/agent/linux/ovs_lib.py",
> line 73, in run_ofctl****
>
>     return utils.execute(full_args, root_helper=self.root_helper)****
>
>   File
> "/usr/local/lib/python2.7/dist-packages/quantum-2012.2-py2.7.egg/quantum/agent/linux/utils.py",
> line 50, in execute****
>
>     raise RuntimeError(m)****
>
> RuntimeError: ****
>
> Command: ['sudo', 'ovs-ofctl', 'del-flows', 'br-int', 'in_port=-1']****
>
> Exit code: 1****
>
> Stdout: ''****
>
> Stderr: 'ovs-ofctl: -1: value too large for 2-byte field in_port\n'****
>
> ** **
>
> Thanks a lot,****
>
> Naveen****
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20120818/caafe958/attachment-0001.html>


More information about the OpenStack-dev mailing list