← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1856651] Re: same mac address in SR-IOV VF when doing Passthrough using pci_alias in flavor

 

If you are using pci_alias in the flavor that means you are passing
through PCI devices. In this case nova does not know (and care) that the
PCI device is happen to be an SRIOV VF, or a PFGA or a GPU. Therefore
nova will not configure anything SRIOV specific on the passed PCI
device.

So I'm setting a bug to Invalid.

If you want to use SRIOV VFs as network interfaces in your Nova servers
then you have to use Neutron SRIOV support according to
https://docs.openstack.org/neutron/pike/admin/config-sriov.html

** Changed in: nova
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1856651

Title:
  same mac address in SR-IOV VF when doing Passthrough using pci_alias
  in flavor

Status in OpenStack Compute (nova):
  Invalid

Bug description:
  We are seeing an issue in Openstack pike Devstack where when launching
  VMs with SR-IOV passthrough using pci_alias in flavor attaching VFs,
  it is getting the same mac address for each VF.

  vf 0 MAC 00:00:00:00:00:00, spoof checking on, link-state auto, trust off
  vf 1 MAC 00:00:00:00:00:00, spoof checking on, link-state auto, trust off
  vf 2 MAC 66:83:90:5a:78:b3, spoof checking on, link-state auto, trust off
  vf 3 MAC 66:83:90:5a:78:b3, spoof checking on, link-state auto, trust off

  Step to reproduce:
  1. Configure OpenStack with PCI passthrough capabilities.
  2. Create a PCI passthrough flavor with pci_alias property.
  3. Deploy VM using flavor in step 2.
  4. In compute node check VFs mac address using command "sudo ip link show <Sriov enabled interface name>".

  Specs:
  Ethernet controller: Intel Corporation Ethernet Controller 10-Gigabit X540-AT2
  driver: ixgbe
  version: 4.2.1-k

  Expected Result:
  Mac addresses should be unique for VFs

  Reproducibility-
  Reproducible/100%

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1856651/+subscriptions


References