Handling Reshaped Provider Trees
Virt drivers need to be able to change the structure of the provider trees they expose. When moving existing resources, existing allocations need to be moved along with the inventories. And this must be done in such a way as to avoid races where a second entity can create or remove allocations against the moving inventories.
Blueprint information
- Status:
- Started
- Approver:
- Matt Riedemann
- Priority:
- Undefined
- Drafter:
- Eric Fried
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- Pending Approval
- Series goal:
- None
- Implementation:
-
Needs Code Review
- Milestone target:
- None
- Started by
- Matt Riedemann
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed in nova-specs by: https:/
Spec: Handling Reshaped Provider Trees
Gerrit topic: https:/
Addressed by: https:/
Provide a direct interface to placement
Gerrit topic: https:/
Addressed by: https:/
WIP: Compute: Handle reshaped provider trees
Approved for Rocky. -- mriedem 20180619
Addressed by: https:/
WIP: [placement] Add /reshaper handler for POST
Addressed by: https:/
[placement] Extract create_
Addressed by: https:/
Make reshape-
Addressed by: https:/
do not assume 1 consumer in AllocList.
Addressed by: https:/
perform reshaper operations in single transaction
Addressed by: https:/
PoC: reshaper guts with inventory two-step
Addressed by: https:/
Make get_allocations
Addressed by: https:/
Report client: Real get_allocs_
Addressed by: https:/
WIP: get_allocations
Addressed by: https:/
reshaper: Look up provider if not in inventories
Addressed by: https:/
Report client: _reshape helper, placement min bump
Addressed by: https:/
WIP: Report client: update_
We're past feature freeze for Rocky, so this must be deferred. Please re-propose the spec for Stein if you'd like to work on it next cycle. -- melwitt 20180727
Addressed by: https:/
WIP: only _init_compute_node on startup
Gerrit topic: https:/
Addressed by: https:/
Repropose reshaper spec for Stein
Re-approved for Stein. -- mriedem 20180824
Addressed by: https:/
Do test_reshape with an actual startup
Addressed by: https:/
reshaper gabbit: Nix comments re doubled max_unit
Addressed by: https:/
Other host allocs may appear in gafpt during evac
Addressed by: https:/
Fix reshaper report client functonal test nits
Addressed by: https:/
Fix nits: Compute: Handle reshaped provider trees
Addressed by: https:/
libvirt: implement reshaper for vgpu
Gerrit topic: https:/
Addressed by: https:/
xenapi(N-R-P): Add API to support vgpu resource provider create
Gerrit topic: https:/
Addressed by: https:/
xenapi(
Addressed by: https:/
xenapi(N-R-P): support compute node resource provider update
Gerrit topic: https:/
Addressed by: https:/
PowerVM upt parity for reshaper, DISK_GB reserved
Addressed by: https:/
Add functional test for libvirt vgpu reshape
Addressed by: https:/
WIP: Use the correct mdev allocated from the pGPU
Addressed by: https:/
FUP: docs nit
Addressed by: https:/
Test proper allocation of devices during reshape
Addressed by: https:/
handle mdev_type device in fakelibvirt
I'm deferring this to Train because although the libvirt driver implemented reshapes for VGPU inventory and allocations, the xenapi driver did not and there is no FFU support. -- mriedem 20190311
Deferring this out of Train since it wasn't approved and we're about 2 weeks from feature freeze. -- mriedem 20190829
Work Items
Dependency tree

* Blueprints in grey have been implemented.