← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2115726] [NEW] Clarify in the doc that [pci]device_spec = {} matches all PCI devices on the host

 

Public bug reported:

This is a somewhat counter intuitive behavior for the user. But nova
uses the address and the vendor_id product_id fields as the filter for
matching devices while using the rest of the fields to enhance the
matched devices. This way and empty device_spec, or a device_spec with
only enhancing attributes will match all the devices on the hypervisor.

See the reproduction in
https://paste.opendev.org/show/bhtcbPjK4rJGL36JY3kI/

I think it worth nothing this to the doc.

Also PCI in Placement carries over this behavior as all the matched
devices reported to placement automatically.

** Affects: nova
     Importance: Undecided
         Status: New

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

Title:
  Clarify in the doc that [pci]device_spec = {} matches all PCI devices
  on the host

Status in OpenStack Compute (nova):
  New

Bug description:
  This is a somewhat counter intuitive behavior for the user. But nova
  uses the address and the vendor_id product_id fields as the filter for
  matching devices while using the rest of the fields to enhance the
  matched devices. This way and empty device_spec, or a device_spec with
  only enhancing attributes will match all the devices on the
  hypervisor.

  See the reproduction in
  https://paste.opendev.org/show/bhtcbPjK4rJGL36JY3kI/

  I think it worth nothing this to the doc.

  Also PCI in Placement carries over this behavior as all the matched
  devices reported to placement automatically.

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