OVS: Error while processing VIF ports

asked 2015-02-02 06:57:28 -0500

rever gravatar image

updated 2015-02-02 09:03:41 -0500

larsks gravatar image

Hi,

I am running a multi-node devstack installation (with neutron) with two hosts: one used as controller and networking node and the other as a regular compute node (just nova-compute & neutron openvswitch agent running). The installation went well and everything looks like up and running. When I create a VM and it ends up in the controller node, it works. However, when it ends up in the compute host I get problems. In the logs of nova-compute I see a:

NovaException: Unexpected vif_type=binding_failed

If I restart the openvswitch agent I get the following error:

Error while processing VIF ports

2015-02-02 13:42:57.333 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent TypeError: sequence item 0: expected string, int found

Does anybody get something similar?

Here are the complete logs:

2015-02-02 13:42:57.332 INFO neutron.plugins.openvswitch.agent.ovs_neutron_agent [req-92be2c87-72b5-4af7-9939-2162f2ab7f3d None None] Assigning 1 as local vlan for net-
2015-02-02 13:42:57.333 ERROR neutron.plugins.openvswitch.agent.ovs_neutron_agent [req-92be2c87-72b5-4af7-9939-2162f2ab7f3d None None] Error while processing VIF ports
2015-02-02 13:42:57.333 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent Traceback (most recent call last):
2015-02-02 13:42:57.333 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent   File "/opt/stack/neutron/neutron/plugins/openvswitch/agent/ovs_neutron_agent.py", li
2015-02-02 13:42:57.333 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent     ovs_restarted)
2015-02-02 13:42:57.333 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent   File "/opt/stack/neutron/neutron/plugins/openvswitch/agent/ovs_neutron_agent.py", li
2015-02-02 13:42:57.333 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent     devices_added_updated, ovs_restarted)
2015-02-02 13:42:57.333 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent   File "/opt/stack/neutron/neutron/plugins/openvswitch/agent/ovs_neutron_agent.py", li
2015-02-02 13:42:57.333 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent     ovs_restarted)
2015-02-02 13:42:57.333 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent   File "/opt/stack/neutron/neutron/plugins/openvswitch/agent/ovs_neutron_agent.py", li
2015-02-02 13:42:57.333 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent     fixed_ips, device_owner, ovs_restarted)
2015-02-02 13:42:57.333 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent   File "/opt/stack/neutron/neutron/plugins/openvswitch/agent/ovs_neutron_agent.py", li
2015-02-02 13:42:57.333 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent     physical_network, segmentation_id)
2015-02-02 13:42:57.333 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent   File "/opt/stack/neutron/neutron/plugins/openvswitch/agent/ovs_neutron_agent.py", li
2015-02-02 13:42:57.333 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent     ofports = ','.join(self.tun_br_ofports[network_type].values())
2015-02-02 13:42:57.333 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent TypeError: sequence item 0: expected string, int found
2015-02-02 13:42:57.333 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent

Thanks in advance!

edit retag flag offensive close merge delete