← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2098496] Re: VM gets more PCI hostdevs than requested when PCI in Placement is enabled with VFs

 

** Also affects: nova/2024.1
   Importance: Undecided
       Status: New

** Also affects: nova/2024.2
   Importance: Undecided
       Status: New

** Also affects: nova/2025.2
   Importance: High
     Assignee: Balazs Gibizer (balazs-gibizer)
       Status: Fix Released

** Also affects: nova/2025.1
   Importance: Undecided
       Status: New

** Changed in: nova/2025.1
       Status: New => Fix Released

** Changed in: nova/2025.1
   Importance: Undecided => High

** Changed in: nova/2024.1
       Status: New => Triaged

** Changed in: nova/2024.2
   Importance: Undecided => High

** Changed in: nova/2024.1
   Importance: Undecided => High

** Changed in: nova/2024.2
       Status: New => In Progress

** Changed in: nova/2024.1
       Status: Triaged => In Progress

** Changed in: nova/2025.1
     Assignee: (unassigned) => Balazs Gibizer (balazs-gibizer)

** Changed in: nova/2024.2
     Assignee: (unassigned) => Balazs Gibizer (balazs-gibizer)

** Changed in: nova/2024.1
     Assignee: (unassigned) => Balazs Gibizer (balazs-gibizer)

** Tags added: libvirt pci

-- 
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/2098496

Title:
  VM gets more PCI hostdevs than requested when PCI in Placement is
  enabled with VFs

Status in OpenStack Compute (nova):
  Fix Released
Status in OpenStack Compute (nova) 2024.1 series:
  In Progress
Status in OpenStack Compute (nova) 2024.2 series:
  In Progress
Status in OpenStack Compute (nova) 2025.1 series:
  Fix Released
Status in OpenStack Compute (nova) 2025.2 series:
  Fix Released

Bug description:
  Reproduce:
  * create devstack from recent master with device_spec config enabling multiple VFs per PF
  * enable pci in placement feature
  * create VM with a flavor requesting a single VF
  * observe the the VM got a single hostdev
  * delete the VM
  * observer that the device the VM was using is freed
  * create another VM with the same flavor requesting a single VF

  Expected:
  The VM gets a single hostdev

  Actual:
  The VM gets two hostdevs and it has two devices allocated both in the nova DB and in placement

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



References