← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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%

** Affects: nova
     Importance: Undecided
         Status: New


** Tags: in-stable-pike

-- 
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):
  New

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


Follow ups