Hi <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Naveen, </span><div><font color="#222222" face="arial, sans-serif"><br></font></div><div><font color="#222222" face="arial, sans-serif">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. </font></div>
<div><font color="#222222" face="arial, sans-serif"><br></font></div><div><font color="#222222" face="arial, sans-serif">Aaron<br></font><br><div class="gmail_quote">On Fri, Aug 17, 2012 at 11:35 PM, Naveen Joy (najoy) <span dir="ltr"><<a href="mailto:najoy@cisco.com" target="_blank">najoy@cisco.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal">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.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">#sudo python /usr/local/bin/ovs_quantum_agent.py /etc/quantum/ovs_quantum_plugin.ini<u></u><u></u></p>
<p class="MsoNormal">kwargs = {'priority': 1, 'actions': 'normal'}<u></u><u></u></p>
<p class="MsoNormal">kwargs = {'in_port': '-1', 'delete': True}<u></u><u></u></p>
<p class="MsoNormal">Traceback (most recent call last):<u></u><u></u></p>
<p class="MsoNormal"> File "/usr/local/bin/ovs_quantum_agent.py", line 609, in <module><u></u><u></u></p>
<p class="MsoNormal"> main()<u></u><u></u></p>
<p class="MsoNormal"> File "/usr/local/bin/ovs_quantum_agent.py", line 604, in main<u></u><u></u></p>
<p class="MsoNormal"> plugin.daemon_loop(db_connection_url)<u></u><u></u></p>
<p class="MsoNormal"> File "/usr/local/bin/ovs_quantum_agent.py", line 221, in daemon_loop<u></u><u></u></p>
<p class="MsoNormal"> self.port_bound(p, vlan_id)<u></u><u></u></p>
<p class="MsoNormal"> File "/usr/local/bin/ovs_quantum_agent.py", line 135, in port_bound<u></u><u></u></p>
<p class="MsoNormal"> self.int_br.delete_flows(in_port=port.ofport)<u></u><u></u></p>
<p class="MsoNormal"> 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<u></u><u></u></p>
<p class="MsoNormal"> self.run_ofctl("del-flows", [flow_str])<u></u><u></u></p>
<p class="MsoNormal"> 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<u></u><u></u></p>
<p class="MsoNormal"> return utils.execute(full_args, root_helper=self.root_helper)<u></u><u></u></p>
<p class="MsoNormal"> File "/usr/local/lib/python2.7/dist-packages/quantum-2012.2-py2.7.egg/quantum/agent/linux/utils.py", line 50, in execute<u></u><u></u></p>
<p class="MsoNormal"> raise RuntimeError(m)<u></u><u></u></p>
<p class="MsoNormal">RuntimeError: <u></u><u></u></p>
<p class="MsoNormal">Command: ['sudo', 'ovs-ofctl', 'del-flows', 'br-int', 'in_port=-1']<u></u><u></u></p>
<p class="MsoNormal">Exit code: 1<u></u><u></u></p>
<p class="MsoNormal">Stdout: ''<u></u><u></u></p>
<p class="MsoNormal">Stderr: 'ovs-ofctl: -1: value too large for 2-byte field in_port\n'<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thanks a lot,<u></u><u></u></p>
<p class="MsoNormal">Naveen<u></u><u></u></p>
</div>
</div>
<br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>