← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1598843] [NEW] PCI whitelist is getting parsed every time neutronv2 API create or update a port

 

Public bug reported:

Description:
============

This method:
def get_pci_device_devspec(pci_dev):
    dev_filter = Whitelist(CONF.pci_passthrough_whitelist)
    return dev_filter.get_devspec(pci_dev)

is parsing the PCI whitelist eveytime it is called.  It's not possible
to change the whitelist at runtime (when nova compute is running).

Only neutronv2 api calls this method.  Whenever a new instance is
launched, it is calling the method above to get the device spec
corresponding to a PCI device.

Environment:
============
nova master

** 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/1598843

Title:
  PCI whitelist is getting parsed every time neutronv2 API create or
  update a port

Status in OpenStack Compute (nova):
  New

Bug description:
  Description:
  ============

  This method:
  def get_pci_device_devspec(pci_dev):
      dev_filter = Whitelist(CONF.pci_passthrough_whitelist)
      return dev_filter.get_devspec(pci_dev)

  is parsing the PCI whitelist eveytime it is called.  It's not possible
  to change the whitelist at runtime (when nova compute is running).

  Only neutronv2 api calls this method.  Whenever a new instance is
  launched, it is calling the method above to get the device spec
  corresponding to a PCI device.

  Environment:
  ============
  nova master

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


Follow ups