[openstack-dev] [os-vif] [passthrough] [VifHostDevice]

Mooney, Sean K sean.k.mooney at intel.com
Thu Sep 21 17:18:07 UTC 2017

> -----Original Message-----
> From: pranab boruah [mailto:pranabjyotiboruah at gmail.com]
> Sent: Thursday, September 21, 2017 5:12 PM
> To: OpenStack Development Mailing List (not for usage questions)
> <openstack-dev at lists.openstack.org>
> Subject: [openstack-dev] [os-vif] [passthrough] [VifHostDevice]
> Hi,
> We have a SRIOV capable NIC that supports OVS offload and Switchdev.
> We are trying to test the VifHostDevice model on a Pike cluster. We are
> running into issues. Here are the config options that we have
> used:
> 1. In Neutron conf file: mechanism driver = ovn 
[Mooney, Sean K] looking at the networking-ovn ml2 dirver vnic type direct is not supported
the hardware offload support for melonox nics is only supported with the openvswitch or odl ml2 dirvers
netronome smartnics require the use of the agilio ovs ml2 dirver which supports
dirct and virtio forwarder mode

if you wish to use ovn you will need to modify the ovn ml2 dirver to add vnic_type direct to the supported vnictypes.

>2. In Nova conf file:
> passthrough_whitelist = {"address":"0000:02:00.*"} 3. Created a port as
> vnic_type=direct and launched instances.
> It gives the following error - Nova error : "No net device was found
> for VF"
> Am I missing some other config options?
[Mooney, Sean K] no but as I mentioned above ovn is not currently supported.
I belive you should have a log message in the neutron server log also as when neutron calls
The the networking-ovn ml2 driver here
we simply retrun on line 502 here after logging.
if you only have the ovn ml2 driver enabled you should set the prot with vif_type_binding_failed howver if you have
the sriovnicagent also enable it may be masking the isses as 
will continue to try the other dirvers.

Assuming ovn in the only enabled mech driver i belive this should result in the vif_type being set to VIF_TYPE_BINDING_FAILED as
will not return anyting so we should execute 
you should be able to configm this by doing a port show and/or checking the neutron server log.

> Also, how can I check the logs that are related to the os-vif library?
[Mooney, Sean K] the logs are present in the n-cpu log as os-vif executes with the nova compute agent.
> Let me know if further details are required.
> TIA,
> Pranab
> _______________________________________________________________________
> ___
> 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