vgpu work in Stein

Registered by Naichuan Sun

The work in blueprint: vgpu-rocky is not finished. This BP to track the change in Stein to implement the remain functions defined in the following spec.
https://specs.openstack.org/openstack/nova-specs/specs/queens/implemented/add-support-for-vgpu.html

- support traits (display resolution and display heads)
- move vGPU resource to N-RP so it can support multiple vGPU types in single compute node.

Blueprint information

Status:
Started
Approver:
melanie witt
Priority:
High
Drafter:
Naichuan Sun
Direction:
Approved
Assignee:
None
Definition:
Pending Approval
Series goal:
None
Implementation:
Needs Code Review
Milestone target:
None
Started by
melanie witt

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/update-provider-tree,n,z

Addressed by: https://review.openstack.org/520313
    xenapi(N-R-P): Add API to support vgpu resource provider create

Addressed by: https://review.openstack.org/521717
    xenapi(N-R-P):Get vgpu info from `allocations`

Gerrit topic: https://review.openstack.org/#q,topic:bp/vgpu-rocky,n,z

Addressed by: https://review.openstack.org/557065
    Proposes Multiple GPU types

Addressed by: https://review.openstack.org/521041
    (WIP)xenapi(N-R-P): Add API to support compute node resource provider update and create

Addressed by: https://review.openstack.org/557912
    Update the vGPU spec

Addressed by: https://review.openstack.org/533821
    SchedulerReportClient.update_from_provider_tree

Addressed by: https://review.openstack.org/520246
    Use update_provider_tree from resource tracker

Addressed by: https://review.openstack.org/531260
    Fix nits in update_provider_tree series

Addressed by: https://review.openstack.org/539324
    Make generation optional in ProviderTree

Gerrit topic: https://review.openstack.org/#q,topic:bug/1758086,n,z

Addressed by: https://review.openstack.org/562304
    libvirt: mdevs returning parent and vendor PCI info

Addressed by: https://review.openstack.org/564214
    libvirt: Configure multiple vGPU types

Addressed by: https://review.openstack.org/564215
    WIP: libvirt: Get inventories per pGPU

Gerrit topic: https://review.openstack.org/#q,topic:vgpu_in_new,n,z

Gerrit topic: https://review.openstack.org/#q,topic:bp/vgpu-stein,n,z

Addressed by: https://review.openstack.org/602474
    Re-proposes multiple vGPU types in libvirt

Addressed by: https://review.openstack.org/604269
    os-xenapi(n-rp)(WIP): add traits for vgpu n-rp

Spec has merged, approving for Stein. -- melwitt 2018-10-24

Gerrit topic: https://review.openstack.org/#q,topic:bp/reshape-provider-tree,n,z

Addressed by: https://review.openstack.org/599208
    libvirt: implement reshaper for vgpu

Addressed by: https://review.openstack.org/636591
    WIP: Use the correct mdev allocated from the pGPU

This is essentially abandoned at this point for Stein and should probably be deferred to Train. -- mriedem 20190224

We are two days from Stein feature freeze and this is not ready so I'm going to drop it from planning for Stein. If you plan to pursue this in Train please re-propose the spec for re-approval in Train. -- mriedem 20190305

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.