[Openstack] DHCP issues with SR-IOV networking

jacob jacob opstkusr at gmail.com
Thu Apr 23 14:11:25 UTC 2015


Thanks for the response.

I have both openvswitch and sriovnicswitch mechanism drivers specified.
I also have both the NIC Switch Agent and Open vSwitch agent running.


Since this subnet configuration is for the sr-iov network, shouldn't
the binding be done by the NIC switch agent?

 None None^[[00;32m] ^[[01;35m^[[00;32mAttempting to bind port
550a0b5f-35b5-4441-a0ad-5ae60c6b8a94 on network
069a56a1-253d-4d2b-bef9-3c11f454bde2^[[00m ^[[00;33mfrom (pid=204025)
bind_port /opt/stack/neutron/neutron/plugins/ml2/drivers/mech_sriov/mech_driver.py:97^[[00m
2015-04-21 14:33:18.759 ^[[00;32mDEBUG
neutron.plugins.ml2.drivers.mech_sriov.mech_driver
[^[[01;36mreq-e3cd2b74-03f2-4b1a-b514-54119c57ac5d ^[[00;36mNone
None^[[00;32m] ^[[01;35m^[[00;32mRefusing to bind due to unsupported
vnic_type: normal^[[00m ^[[00;33mfrom (pid=204025) bind_port
/opt/stack/neutron/neutron/plugins/ml2/drivers/mech_sriov/mech_driver.py:102^[[00m

On Thu, Apr 23, 2015 at 4:19 AM, Moshe Levi <moshele at mellanox.com> wrote:
> The openvswitch agent should be able to bind the port.
>
> Can you check that you have in ml2 conf
> mechaniscm_drivers = openvswitch,sriovnicswitch
>
> also check that  the openvswitch agent is running on your network node.
>
>
> -----Original Message-----
> From: jacob jacob [mailto:opstkusr at gmail.com]
> Sent: Wednesday, April 22, 2015 10:16 PM
> To: openstack at lists.openstack.org
> Subject: [Openstack] DHCP issues with SR-IOV networking
>
> Hi,
>
> I was able to setup SR-IOV passthrough using the following wiki:
>    https://wiki.openstack.org/wiki/SR-IOV-Passthrough-For-Networking
>
> Created a neutron network and added subnet with dhcp enabled.
> Ports created from this network are bound to VFs as expected.
>
> But the IP assignment on this network isn't working since the dhcp port bind isn't successful.
>
> Attached Device
>
> ________________________________
> Device Owner network:dhcp
> Device ID dhcp5ce901c9-dac9-5417-8f6f-8e3787eff230-069a56a1-253d-4d2b-bef9-3c11f454bde2
>
> Binding
>
> ________________________________
> Host host1.tst.com
> Profile None
> VIF Type binding failed
> VIF Details None
> VNIC Type normal
>
>
> The issue seems to be that the binding is being attempted as nic type normal instead of direct.
>
> Would really appreciate any pointers on how to address this problem.
>
> _______________________________________________
> 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