[openstack-dev] Run time error - Quantum OVS Agent
Bhandaru, Malini K
malini.k.bhandaru at intel.com
Sat Aug 18 03:42:37 UTC 2012
Naveen try re-starting the whole suite (devstack/unstack.sh followed by devstack/stack.sh) without any reboot.
I have noticed that there may be some race conditions and waits that do not wait long enough etc, so the system can come up in an inconsistent state.
:) Bugs that we shall have to harden against going forward.
Encountered a similar situation with keystone not coming up and consequently authentication failed when trying to use Horizon.
Hope it helps.
Regards
Malini
From: Naveen Joy (najoy) [mailto:najoy at cisco.com]
Sent: Friday, August 17, 2012 8:35 PM
To: openstack-dev at lists.openstack.org
Subject: [openstack-dev] Run time error - Quantum OVS Agent
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20120818/e7ca3880/attachment.html>
More information about the OpenStack-dev
mailing list