[openstack-dev] SRIOV-port refused to bind

Prasanth Anbalagan panbalag at redhat.com
Thu Sep 29 12:38:32 UTC 2016


Murali,

I have seen this binding error once when I failed to configure the SRIOV agent. Please check the agent settings
as per the link below that Lenny sent.

Thanks
Prasanth

----- Original Message -----
From: "Lenny Verkhovsky" <lennyb at mellanox.com>
To: "OpenStack Development Mailing List (not for usage questions)" <openstack-dev at lists.openstack.org>
Sent: Thursday, September 29, 2016 3:07:28 AM
Subject: Re: [openstack-dev] SRIOV-port refused to bind



HI, 

Did you configured everything according to https://wiki.openstack.org/wiki/SR-IOV-Passthrough-For-Networking ? 

( including intel_iommu=on ) ? 

Can you attach more logs and config files of the nova/neutron/neutron plugins 

Are you working with devstack or distro? 






From: Murali B [mailto:mbirru at gmail.com] 
Sent: Thursday, September 29, 2016 5:52 AM 
To: OpenStack Development Mailing List (not for usage questions) <openstack-dev at lists.openstack.org> 
Subject: [openstack-dev] SRIOV-port refused to bind 





Hi 





I am using the SRIOV on mitaka. When I try to launch the VM with SRIOV port its failed. 





When I see the neutrn-server.log I see that below message on controller. 





ddf81 - - -] Refusing to bind due to unsupported vnic_type: direct bind_port /usr/lib/python2.7/dist-packages/neutron/plugins/ml2/drivers/mech_agent.py:65 


2016-09-28 18:55:18.384 16531 ERROR neutron.plugins.ml2.managers [req-443e9b6a-45c6-4b30-aa50-52a9b0a4926c 7d0ef58dd1214f54983c9d843fec0bde 238c9900a2ae4b57b01fa72abdeddf81 - - -] Failed to bind port e96eadf3-5501-442a-8bcc-0b4d64617b26 on host A1-22932-compute1 for vnic_type direct using segments [{'segmentation_id': 123, 'physical_network': u'physnet1', 'id': u'30b77081-d02c-4e29-a41a-f8997c1f9f66', 'network_type': u'vlan'}] 





On compute node I see the below error. 





2016-09-28 18:55:18.688 7651 ERROR nova.compute.manager [instance: 4c737a89-51b8-4504-a208-05f2da178482] flavor, virt_type, self._host) 


2016-09-28 18:55:18.688 7651 ERROR nova.compute.manager [instance: 4c737a89-51b8-4504-a208-05f2da178482] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/vif.py", line 447, in get_config 


2016-09-28 18:55:18.688 7651 ERROR nova.compute.manager [instance: 4c737a89-51b8-4504-a208-05f2da178482] _("Unexpected vif_type=%s") % vif_type) 


2016-09-28 18:55:18.688 7651 ERROR nova.compute.manager [instance: 4c737a89-51b8-4504-a208-05f2da178482] NovaException: Unexpected vif_type=binding_failed 





Could somebody help me to come-out this issue. 








Thanks 


-Murali 

__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



More information about the OpenStack-dev mailing list