[Openstack] SRIOV Enablement in openstack error

Navdeep Uniyal navdeep.uniyal at bristol.ac.uk
Wed May 2 16:32:59 UTC 2018


Dear all,

I am trying to enable the SRIOV interfaces in my openstack Pike installation. I am following the guide:
https://docs.openstack.org/neutron/pike/admin/config-sriov.html

I am getting following error in neutron while doing so:

2018-05-02 17:08:19.492 75833 ERROR neutron.plugins.ml2.managers [req-4e2f89f4-4d26-4e78-9b05-e997f398f2a1 2b4070ba7a5044cca6f42f594c37011c 65ac10ca3d2f407eab488c208348ace5 - default default] Failed to bind
port ef64559f-c047-47d6-b9eb-09c5a60d7549 on host controller for vnic_type direct using segments [{'network_id': 'ba89924e-3134-4966-af56-b582d70f5f41', 'segmentation_id': 200, 'physical_network': u'sriovpro
vider', 'id': '19120c0a-0ec7-4b6b-ad07-f68effdb5bf3', 'network_type': u'vlan'}]
2018-05-02 17:08:19.492 75833 INFO neutron.plugins.ml2.plugin [req-4e2f89f4-4d26-4e78-9b05-e997f398f2a1 2b4070ba7a5044cca6f42f594c37011c 65ac10ca3d2f407eab488c208348ace5 - default default] Attempt 10 to bind
port ef64559f-c047-47d6-b9eb-09c5a60d7549
2018-05-02 17:08:19.500 75833 DEBUG neutron.plugins.ml2.managers [req-4e2f89f4-4d26-4e78-9b05-e997f398f2a1 2b4070ba7a5044cca6f42f594c37011c 65ac10ca3d2f407eab488c208348ace5 - default default] Attempting to b
ind port ef64559f-c047-47d6-b9eb-09c5a60d7549 on host controller for vnic_type direct with profile {"pci_slot": "0000:82:08.5", "physical_network": "sriovprovider", "pci_vendor_info": "1924:1a03"} bind_port
/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/managers.py:744
2018-05-02 17:08:19.500 75833 DEBUG neutron.plugins.ml2.managers [req-4e2f89f4-4d26-4e78-9b05-e997f398f2a1 2b4070ba7a5044cca6f42f594c37011c 65ac10ca3d2f407eab488c208348ace5 - default default] Attempting to b
ind port ef64559f-c047-47d6-b9eb-09c5a60d7549 on host controller at level 0 using segments [{'network_id': 'ba89924e-3134-4966-af56-b582d70f5f41', 'segmentation_id': 200, 'physical_network': u'sriovprovider'
, 'id': '19120c0a-0ec7-4b6b-ad07-f68effdb5bf3', 'network_type': u'vlan'}] _bind_port_level /usr/lib/python2.7/dist-packages/neutron/plugins/ml2/managers.py:765
2018-05-02 17:08:19.501 75833 DEBUG neutron.plugins.ml2.drivers.mech_agent [req-4e2f89f4-4d26-4e78-9b05-e997f398f2a1 2b4070ba7a5044cca6f42f594c37011c 65ac10ca3d2f407eab488c208348ace5 - default default] Attem
pting to bind port ef64559f-c047-47d6-b9eb-09c5a60d7549 on network ba89924e-3134-4966-af56-b582d70f5f41 bind_port /usr/lib/python2.7/dist-packages/neutron/plugins/ml2/drivers/mech_agent.py:88
2018-05-02 17:08:19.501 75833 DEBUG neutron.plugins.ml2.drivers.mech_agent [req-4e2f89f4-4d26-4e78-9b05-e997f398f2a1 2b4070ba7a5044cca6f42f594c37011c 65ac10ca3d2f407eab488c208348ace5 - default default] Refus
ing to bind due to unsupported vnic_type: direct bind_port /usr/lib/python2.7/dist-packages/neutron/plugins/ml2/drivers/mech_agent.py:93
2018-05-02 17:08:19.501 75833 DEBUG neutron.plugins.ml2.drivers.mech_sriov.mech_driver.mech_driver [req-4e2f89f4-4d26-4e78-9b05-e997f398f2a1 2b4070ba7a5044cca6f42f594c37011c 65ac10ca3d2f407eab488c208348ace5
- default default] Attempting to bind port ef64559f-c047-47d6-b9eb-09c5a60d7549 on network ba89924e-3134-4966-af56-b582d70f5f41 bind_port /usr/lib/python2.7/dist-packages/neutron/plugins/ml2/drivers/mech_sri
ov/mech_driver/mech_driver.py:78
2018-05-02 17:08:19.503 75833 DEBUG neutron.plugins.ml2.drivers.mech_sriov.mech_driver.mech_driver [req-4e2f89f4-4d26-4e78-9b05-e997f398f2a1 2b4070ba7a5044cca6f42f594c37011c 65ac10ca3d2f407eab488c208348ace5
- default default] Checking agent: {'binary': u'neutron-sriov-nic-agent', 'description': None, 'admin_state_up': True, 'heartbeat_timestamp': datetime.datetime(2018, 5, 2, 16, 8, 9), 'availability_zone': Non
e, 'alive': True, 'topic': u'N/A', 'host': u'controller', 'agent_type': u'NIC Switch agent', 'resource_versions': {u'Subnet': u'1.0', u'Network': u'1.0', u'SubPort': u'1.0', u'SecurityGroup': u'1.0', u'Secur
ityGroupRule': u'1.0', u'Trunk': u'1.1', u'QosPolicy': u'1.6', u'Port': u'1.1', u'Log': u'1.0'}, 'created_at': datetime.datetime(2018, 4, 10, 7, 40, 42), 'started_at': datetime.datetime(2018, 4, 10, 8, 36, 4
), 'id': u'f2f40c44-cc99-4371-93b9-4c21731122a4', 'configurations': {u'extensions': [], u'devices': 0, u'device_mappings': {u'internetprovider': [u'enp130s0f0']}}} bind_port /usr/lib/python2.7/dist-packages/
neutron/plugins/ml2/drivers/mech_sriov/mech_driver/mech_driver.py:110
2018-05-02 17:08:19.504 75833 DEBUG neutron.plugins.ml2.drivers.mech_sriov.mech_driver.mech_driver [req-4e2f89f4-4d26-4e78-9b05-e997f398f2a1 2b4070ba7a5044cca6f42f594c37011c 65ac10ca3d2f407eab488c208348ace5
- default default] Checking segment: {'network_id': 'ba89924e-3134-4966-af56-b582d70f5f41', 'segmentation_id': 200, 'physical_network': u'sriovprovider', 'id': '19120c0a-0ec7-4b6b-ad07-f68effdb5bf3', 'networ
k_type': u'vlan'} for mappings: {u'internetprovider': [u'enp130s0f0']}  check_segment_for_agent /usr/lib/python2.7/dist-packages/neutron/plugins/ml2/drivers/mech_sriov/mech_driver/mech_driver.py:149
2018-05-02 17:08:19.504 75833 ERROR neutron.plugins.ml2.managers [req-4e2f89f4-4d26-4e78-9b05-e997f398f2a1 2b4070ba7a5044cca6f42f594c37011c 65ac10ca3d2f407eab488c208348ace5 - default default] Failed to bind
port ef64559f-c047-47d6-b9eb-09c5a60d7549 on host controller for vnic_type direct using segments [{'network_id': 'ba89924e-3134-4966-af56-b582d70f5f41', 'segmentation_id': 200, 'physical_network': u'sriovpro
vider', 'id': '19120c0a-0ec7-4b6b-ad07-f68effdb5bf3', 'network_type': u'vlan'}]


Could you please direct me to the correct guide for SRIOV enablement in openstack Pike or help me in this regard.

Kind Regards,
Navdeep

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20180502/6546dc69/attachment.html>


More information about the Openstack mailing list