← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1222990] Re: Cannot specify subset of PCI devices for PCI passthrough

 

This wishlist bug has been open a year without any activity. I'm going
to move it to "Opinion / Wishlist", which is an easily-obtainable queue
of older requests that have come on.

Feature requests for nova are done with blueprints [1] and with specs
[2]. I'll recommend to read [3] if not yet done. The effort to implement
the requested feature is then driven only by the blueprint (and spec).

References:
[1] https://blueprints.launchpad.net/nova/
[2] https://github.com/openstack/nova-specs
[3] https://wiki.openstack.org/wiki/Blueprints

** Changed in: nova
       Status: Confirmed => Opinion

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

Title:
  Cannot specify subset of PCI devices for PCI passthrough

Status in OpenStack Compute (nova):
  Opinion

Bug description:
  I went  through the recent code merge of PCI passthrough
  implementation. I see some drawbacks in the implementation and would
  be great improvement if the following can be accommodated.

  1. Ability to specify a sub-set of PCI devices to be exported to Openstack via entries in nova.conf of the compute node.
  Example: pci_passthrough_whitelist=[{"product_id":"1520", "vendor_id":"8086", "deviceids":"0000:06:00.0, 0000:06:00.1, 0000:06:00.2, 0000:06:00.3"}]

  2.  Group PCI devices, so that when creating flavor, we can choose,
  how many interfaces from each group needs to be presented to the
  guest. The group name can be specified in nova.conf of the control
  node if needed.

  For example, if we have to SRIOV cards where each is connected
  physically to different networks and each has 32 Virtual functions,
  there is no way in current implementation to spin up a VM with one
  interface (VF) from each Group

  Example:
  pci_alias={"product_id":"1520", "name":"IN", "deviceids":"0000:06:00.0, 0000:06:00.2"}
  pci_alias={"product_id":"1520", "name":"OUT", "deviceids":"0000:06:00.1, 0000:06:00.3"}

  3. 'nova show' and 'nova hypervisor-stats' and 'nova hypervisor-show'
  shows (a) pci device associated with the VM, (b) shows how may groups
  are there and what is their current usage, and (c) show individual
  hypervisor PCI device usage respectively.

  4. Some ordering involved which enables guest to predict which PCI device belongs to which network.
  Example, in the alphabetical order of the network names ? With this, guest can predict that the first interface will be from IN-group and second will be from OUT-group.

  Is there any chance that we can see these in Havana ?

  We have an implementation that does these at:
  https://github.com/CiscoSystems/nova/tree/grizzly-multitool but is not
  based on current implementation.

  Thanks,
  Shesha

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