← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1982763] [NEW] defining remote_managed PCI device in [pci]passthrough_whitelist with a PCI address glob cause the wrong error

 

Public bug reported:

When the [pci]passthrough_whitelist config contains a "remote_managed":
True device specification with a PCI address glob that matches a PF nova
should reject that as the remote managed feature is only implemented for
VFs. Nova does that eventually but with the wrong reason and strange
message. Nova tries to use the stringified PciAddressGlobSpec object as
a PCI address string when trying to query the PCI product_id of the
device. The lookup fails, as PciAddressGlobSpec is not a valid PCI
address.

I will push a reproduction test soon.

** Affects: nova
     Importance: Undecided
         Status: New


** Tags: pci

** Tags added: pci

** Summary changed:

- defining remote_managed PCI device in [pci]passthrough_whitelist with a PCI address glob cause error
+ defining remote_managed PCI device in [pci]passthrough_whitelist with a PCI address glob cause the wrong error

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

Title:
  defining remote_managed PCI device in [pci]passthrough_whitelist with
  a PCI address glob cause the wrong error

Status in OpenStack Compute (nova):
  New

Bug description:
  When the [pci]passthrough_whitelist config contains a
  "remote_managed": True device specification with a PCI address glob
  that matches a PF nova should reject that as the remote managed
  feature is only implemented for VFs. Nova does that eventually but
  with the wrong reason and strange message. Nova tries to use the
  stringified PciAddressGlobSpec object as a PCI address string when
  trying to query the PCI product_id of the device. The lookup fails, as
  PciAddressGlobSpec is not a valid PCI address.

  I will push a reproduction test soon.

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