[Openstack] [openstack-dev] [networking-odl] [SRIOV] [OVS HW offload] ERROR in port binding

Trinath Somanchi trinath.somanchi at nxp.com
Fri Oct 6 07:08:39 UTC 2017


May be that you need to check neutron server.log for more info on Port-Binding failure issues.

Can you look into bridge-mappings in the neutron configuration? And verify that ovs bridges are existing in the setup as per neutron configuration.

Hope this helps.

Best Regards,
Trinath Somanchi | NXP | HSDC, INDIA

-----Original Message-----
From: pranab boruah [mailto:pranabjyotiboruah at gmail.com] 
Sent: Friday, October 06, 2017 12:26 PM
To: openstack at lists.openstack.org
Cc: sean.k.mooney at intel.com
Subject: [Openstack] [openstack-dev] [networking-odl] [SRIOV] [OVS HW offload] ERROR in port binding

Hi,

We have a SRIOV NIC that supports SRIOV and OVS HW offload. We built a pike cluster with networking-odl as the mechanism driver.

As Sean mentioned that ODL part for SRIOV + OVS HW offload is not ready, so we applied the following patches to ODL(version Nitrogen) :

1. https://git.opendaylight.org/gerrit/#/c/62481/
2. https://git.opendaylight.org/gerrit/#/c/60259/

Now, when we create a direct vnic_type port and try to launch instances, we are running into issues.

1. The ODL patches didn't work straight away with Nitrogen version.
The patches needs to be rebased.

2. Modified Nova to include the pci device list. Also, added host-config to the compute node using the following command

ovs-vsctl set Open_vSwitch 7ef8db05-8a4f-4cea-8b3b-432416c102fc
external_ids:odl_os_hostconfig_config_odl_l2="{"supported_vnic_types":
[{"vnic_type": "normal", "vif_type":"ovs", "vif_details": {} },
{"vnic_type": "direct", "vif_type": "ovs", "vif_details": {} } ],
"allowed_network_types": ["local", "gre", "vlan", "vxlan"]}"

The error I am getting is from networking-odl ML2 driver. Do we need to apply any patch there too?

This is what the errror log says:

networking_odl.ml2.pseudo_agentdb_binding
[req-0652004a-fd30-4503-aa57-e34aa8cff54e
401f4c71873f4d17be9fbeabe423b7f9 8b48f23ebf754c41b336d13e69dcce11 - default default] Binding failed: unsupported VNIC direct

2017-10-04 09:49:55.237 34400 WARNING
networking_odl.ml2.pseudo_agentdb_binding
[req-0652004a-fd30-4503-aa57-e34aa8cff54e
401f4c71873f4d17be9fbeabe423b7f9 8b48f23ebf754c41b336d13e69dcce11 - default default] No ODL hostconfigs for host overcloud-novacompute-1.localdomain found in agentdb

2017-10-04 09:49:55.237 34400 ERROR neutron.plugins.ml2.managers [req-0652004a-fd30-4503-aa57-e34aa8cff54e
401f4c71873f4d17be9fbeabe423b7f9 8b48f23ebf754c41b336d13e69dcce11 - default default] Failed to bind port
96dc3a1f-fb21-4d9a-adfe-f34db45993d9 on host overcloud-novacompute-1.localdomain for vnic_type direct using segments [{'network_id': '6f747dee-3186-4aeb-b139-820c16709aee',
'segmentation_id': 81, 'physical_network': None, 'id':
'845af7aa-5609-428c-bbd9-d133e16f9c22', 'network_type': u'vxlan'}]

Are we missing any additional configuration step?

TIA,
Pranab

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack at lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


More information about the Openstack mailing list