Ask Your Question
0

Pike - SRIOV - No net device was found for VF Issue

asked 2018-09-17 02:11:50 -0500

ecetiner87 gravatar image

Dear all, We faced with SRIOV issue in our development lab. Here are the details:

Environment:

  • 2 SRIOV Compute Node - 1 Dell R730 and 1 Cisco C220 M5
  • 3 Controller Node
  • Openstack Distibution: Pike
  • Platform: RedHat OS Platform 12

Problem

  • We updated kernel parameters with intel_iommu=on iommu=pt options.

  • We configured SRIOV according to following document:

    https://docs.openstack.org/neutron/pike/admin/config-sriov.html (https://docs.openstack.org/neutron/pi...)

  • We downloaded and installed latest ixgbe and ixgbvf drivers on related hardware.

  • We created related network/subnet/ports

  • We created VFs and check them via lspci:

    5e:06.0 Ethernet controller: Intel Corporation Ethernet Virtual Function 700 Series (rev 02)
    5e:06.1 Ethernet controller: Intel Corporation Ethernet Virtual Function 700 Series (rev 02)
    5e:06.2 Ethernet controller: Intel Corporation Ethernet Virtual Function 700 Series (rev 02)
    5e:06.3 Ethernet controller: Intel Corporation Ethernet Virtual Function 700 Series (rev 02)
    5e:06.4 Ethernet controller: Intel Corporation Ethernet Virtual Function 700 Series (rev 02)
    5e:06.5 Ethernet controller: Intel Corporation Ethernet Virtual Function 700 Series (rev 02)
    5e:06.6 Ethernet controller: Intel Corporation Ethernet Virtual Function 700 Series (rev 02)
    5e:06.7 Ethernet controller: Intel Corporation Ethernet Virtual Function 700 Series (rev 02)

  • We edit nova.conf on Compute node with following whitelist -where 154c refers to VFs-:

    passthrough_whitelist = [{"vendor_id": "8086", "product_id": "1583", "physical_network": "phy-sriov1"}, {"vendor_id": "8086", "product_id": "154c", "physical_network": "phy-sriov1"}]

  • We also configured ml2_conf.ini on Controller with following parameter:

    mechanism_drivers=openvswitch,sriovnicswitch

  • We added physical_device_mappings parameter in sriov_agent.ini file at Controller:

    [sriov_nic]
    physical_device_mappings = phy-sriov1:enp94s0f1

  • On Controller, we updated nova.conf with following available_filters and enabled_filters:

    available_filters=nova.scheduler.filters.all_filters available_filters=nova.scheduler.filters.pci_passthrough_filter.PciPassthroughFilter enabled_filters=AvailabilityZoneFilter,RamFilter,ComputeFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,NUMATopologyFilter,ServerGroupAntiAffinityFilter,ServerGroupAffinityFilter,PciPassthroughFilter

  • All related services/agents -neutron,nova- restarted on both controller and compute nodes.

  • We created a VM and we got following warning in nova-compute.log at Compute Node:

    2018-09-06 00:04:44.980 1 INFO nova.compute.resource_tracker [req-6472855d-71c8-4d3a-8184-d605e32fcae1 - - - - -] Final resource view: name=compciscohcisriov-0.localdomain phys_ram=261797MB used_ram=42288MB phys_disk=4375GB used_disk=60GB total_vcpus=79 used_vcpus=6 pci_stats=[PciDevicePool(count=3,numa_node=0,product_id='1583',tags={dev_type='type-PF',physical_network='phy-sriov1'},vendor_id='8086'), PciDevicePool(count=5,numa_node=0,product_id='154c',tags={dev_type='type-VF',physical_network='phy-sriov1'},vendor_id='8086')] 2018-09-06 00:05:45.313 1
    WARNING nova.pci.utils [req-6472855d-71c8-4d3a-8184-d605e32fcae1 - - - - -] No net device was found for VF 0000:5e:06.3: PciDeviceNotFoundById: PCI device 0000:5e:06.3 not found 2018-09-06 00:05:45.361 1
    WARNING nova.pci.utils [req-6472855d-71c8-4d3a-8184-d605e32fcae1 - - - - -] No net device was found for VF 0000:5e:06.4: PciDeviceNotFoundById: PCI device 0000:5e:06.4 not found 2018-09-06 00:05:45.365 1
    WARNING nova.pci.utils [req-6472855d-71c8-4d3a-8184-d605e32fcae1 - - - - -] No net device was found for VF 0000:5e:06.0: PciDeviceNotFoundById: PCI device 0000:5e:06.0 not found

  • Related VFs are assigned with MAC but somehow could not complete the process; here is the output of "ip l | grep vf" from another ...

(more)
edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2019-06-14 13:52:18 -0500

Mauro gravatar image

I have exactly the same issue

edit flag offensive delete link more
0

answered 2019-03-18 03:17:45 -0500

Hi, have you find a solution that that?

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2018-09-17 02:11:50 -0500

Seen: 357 times

Last updated: Sep 17 '18