Placement model for passthrough devices

Registered by Konstantinos Samaras-Tsakiris on 2018-08-10

Deployers want to be able to attach accelerators and other devices to their
VMs. Today in Nova this is possible only in very restrictive circumstances.
For PCI devices as an example, the primary issues are:

* the special way in which PCI devices are currently inventoried
* the special way to schedule VMs that request pci passthrough, which doesn't
  rely on Placement to provide the correct allocation candidates, but on the
  ``PciPassthroughFilter`` to filter out incapable nodes
* no quotas on PCI devices

To address these issues, this blueprint proposes a Placement model for devices
(PCI or other kinds). This consists of a common infrastructure shared among all the
drivers and specific implementations for the libvirt and powervm drivers. The
implementation for 2 drivers paves the way for implementing it in any other.

The blueprint also includes an overhaul of device allocation/deallocation
to tie in with the Placement model.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
Konstantinos Samaras-Tsakiris
Direction:
Needs approval
Assignee:
Konstantinos Samaras-Tsakiris
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

Addressed by: https://review.openstack.org/591037
    Placement model for passthrough devices

Gerrit topic: https://review.openstack.org/#q,topic:bp/device-placement-passthrough,n,z

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.