← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1612029] [NEW] [sr-iov] pci passthrough whitelist doesn't support mult node

 

Public bug reported:

Description
===========
pci_passthrough_whitelist = {"address": "0000:0a:00.1", "physical_network": "physnet1"}
If a nova-compute supports multi nodes. The nodes's pci address maybe repeat.
So format above can not describe the situation.

Steps to reproduce
==================
None

Expected result
===============
None

Suggest Solution
=============
pci_passthrough_whitelist = {"address": "0000:0a:00.1", "node": "xxxx", "physical_network": "physnet1"}
we add node description in pci_passthrough_whitelist.
when nova-compute process pci_passthrough_whitelist per node, ResourceTracker and PciDeviceStats just process own node's pci_passthrough_whitelist.
PciDeviceSpec doesn't need to add "Node" item. We will pop "Node" of pci_passthrough_whitelist.
The "Node" is for selection per node.

** Affects: nova
     Importance: Undecided
     Assignee: xhzhf (guoyongxhzhf)
         Status: New


** Tags: pci whitelist

** Changed in: nova
     Assignee: (unassigned) => xhzhf (guoyongxhzhf)

** Tags added: pci whitelist

** Description changed:

  Description
  ===========
  pci_passthrough_whitelist = {"address": "0000:0a:00.1", "physical_network": "physnet1"}
  If a nova-compute supports multi nodes. The nodes's pci address maybe repeat.
  So format above can not describe the situation.
- 
  
  Steps to reproduce
  ==================
  None
  
  Expected result
  ===============
  None
  
  Suggest Solution
  =============
  pci_passthrough_whitelist = {"address": "0000:0a:00.1", "node": "xxxx", "physical_network": "physnet1"}
  we add node description in pci_passthrough_whitelist.
- when nova-compute process pci_passthrough_whitelist per node, ResourceTracker and PciDeviceStats just process own node's pci_passthrough_whitelist. 
+ when nova-compute process pci_passthrough_whitelist per node, ResourceTracker and PciDeviceStats just process own node's pci_passthrough_whitelist.
  PciDeviceSpec doesn't need to add "Node" item. We will pop "Node" of pci_passthrough_whitelist.
  The "Node" is for selection per node.

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

Title:
  [sr-iov] pci passthrough whitelist doesn't support mult node

Status in OpenStack Compute (nova):
  New

Bug description:
  Description
  ===========
  pci_passthrough_whitelist = {"address": "0000:0a:00.1", "physical_network": "physnet1"}
  If a nova-compute supports multi nodes. The nodes's pci address maybe repeat.
  So format above can not describe the situation.

  Steps to reproduce
  ==================
  None

  Expected result
  ===============
  None

  Suggest Solution
  =============
  pci_passthrough_whitelist = {"address": "0000:0a:00.1", "node": "xxxx", "physical_network": "physnet1"}
  we add node description in pci_passthrough_whitelist.
  when nova-compute process pci_passthrough_whitelist per node, ResourceTracker and PciDeviceStats just process own node's pci_passthrough_whitelist.
  PciDeviceSpec doesn't need to add "Node" item. We will pop "Node" of pci_passthrough_whitelist.
  The "Node" is for selection per node.

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


Follow ups