Ask Your Question

Neutron OVS ERROR on controller

asked 2014-01-08 12:41:42 -0500

mili gravatar image

updated 2014-01-08 15:52:05 -0500

larsks gravatar image


I just made a small change to my configuration. what i did was deleted all the keystone endpoints and added them in again just a diffrent public url. what happend was everything was working expect I was getting the below error on the controller node in the server-log:

2014-01-08 18:38:47.491 1430 DEBUG routes.middleware [-] Match dict: {'action': u'index', 'controller': <wsgify at 46817488 wrapping <function resource at 0x2ca0320>>, 'format': u'json'} __call__ /usr/lib/python2.7/dist-packages/routes/
2014-01-08 18:38:47.510 1430 DEBUG neutron.api.v2.base [-] Policy rule:get_port:allowed_address_pairs not found. Assuming no authZ check is defined for allowed_address_pairs _is_visible /usr/lib/python2.7/dist-packages/neutron/api/v2/
2014-01-08 18:38:47.511 1430 DEBUG neutron.api.v2.base [-] Policy rule:get_port:fixed_ips not found. Assuming no authZ check is defined for fixed_ips _is_visible /usr/lib/python2.7/dist-packages/neutron/api/v2/
2014-01-08 18:38:47.511 1430 DEBUG neutron.api.v2.base [-] Policy rule:get_port:mac_address not found. Assuming no authZ check is defined for mac_address _is_visible /usr/lib/python2.7/dist-packages/neutron/api/v2/
2014-01-08 18:38:48.068 1430 DEBUG neutron.openstack.common.rpc.amqp [-] received {u'_context_roles': [u'admin'], u'_context_read_deleted': u'no', u'_context_tenant_id': None, u'args': {u'agent_state': {u'agent_state': {u'topic': u'N/A', u'binary': u'neutron-openvswitch-agent', u'host': u'compute3', u'agent_type': u'Open vSwitch agent', u'configurations': {u'tunnel_types': [u'gre'], u'tunneling_ip': u'', u'bridge_mappings': {}, u'l2_population': False, u'devices': 0}}}, u'time': u'2014-01-08T18:38:48.086117'}, u'namespace': None, u'_unique_id': u'ba4b9da0c28348cd9b66873644bbc1c0', u'_context_is_admin': True, u'version': u'1.0', u'_context_project_id': None, u'_context_timestamp': u'2014-01-08 17:09:37.986970', u'_context_user_id': None, u'method': u'report_state'} _safe_log /usr/lib/python2.7/dist-packages/neutron/openstack/common/rpc/

And in the openvswitch-agent.log on the controller node:

2014-01-08 18:40:24.666 19977 ERROR neutron.plugins.openvswitch.agent.ovs_neutron_agent [-] Tunneling cannot be enabled without a valid local_ip. Agent terminated!

I changed the endpoint back to what it was but still the same error.

any idea? help is really appreciated as these logs are more than 3 times / sec.


edit retag flag offensive close merge delete


Do you have a valid "local_ip" setting in your neutron configuration?

larsks gravatar imagelarsks ( 2014-01-08 16:00:19 -0500 )edit

Yes, the compute nodes and the network node all have. it is very strange what is happening here

mili gravatar imagemili ( 2014-01-08 16:41:45 -0500 )edit

Is there any update about this issue? I'm facing the same problem on a virtualized RDO Foreman installation. @mili: could you solve your problem?

cloudssky gravatar imagecloudssky ( 2014-03-19 09:27:02 -0500 )edit

Yes, after add the local ip in /etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini, it works!

winger127 gravatar imagewinger127 ( 2014-06-16 04:26:52 -0500 )edit

2 answers

Sort by ยป oldest newest most voted

answered 2014-03-19 11:41:38 -0500

cloudssky gravatar image

I think I found the solution, openvswitch was not running, you can make it happy with:

[root@controller ~]# /etc/init.d/openvswitch start

edit flag offensive delete link more

answered 2014-03-20 06:50:01 -0500

mpetason gravatar image

The Local IP needs to be setup in : /etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini

Did you change the IP addressing on the node? If so, maybe it doesn't match the ovs_neutron_plugin now.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2014-01-08 12:41:42 -0500

Seen: 708 times

Last updated: Mar 19 '14