Use nested allocation candidates
Placement added support for allocation candidates query against nested resource provider trees in microversion 1.29. Nova's scheduler report client needs to start using the new microversion to enable adding support for vGPUs, bandwidth and cyborg devices reported as nested RPs under the compute node RP.
Work items in dependency order:
* Add support for microverion 1.28 (consumer generation) in scheduler report client.
* Add support for microversion 1.29 (nested allocation candidates) in scheduler report client.
* Write functional tests that verifies that scheduling against a nested tree is possible. Fix the bugs.
* Write functional tests that verifies that various server moving operation handles nested allocation properly (migrate, resize, resize-same-host, evacuate, live-migrate, unshelve). Fix bugs.
Blueprint information
- Status:
- Complete
- Approver:
- Matt Riedemann
- Priority:
- High
- Drafter:
- Balazs Gibizer
- Direction:
- Approved
- Assignee:
- Balazs Gibizer
- Definition:
- Approved
- Series goal:
- Accepted for stein
- Implementation:
-
Implemented
- Milestone target:
-
stein-3
- Started by
- Matt Riedemann
- Completed by
- Matt Riedemann
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Related ML thread: http://
Addressed by: https:/
Consumer gen support for delete instance allocations
Addressed by: https:/
Consumer gen support for put allocations
Addressed by: https:/
Consumer gen: remove_
Addressed by: https:/
consumer gen: move_allocations
Addressed by: https:/
consumer gen: more tests for delete allocation cases
Gerrit topic: https:/
Addressed by: https:/
Enable nested allocation candidates in scheduler
Addressed by: https:/
consumer gen: support claim_resources
Gerrit topic: https:/
Addressed by: https:/
Functional test for booting with nested resources
Addressed by: https:/
Functional test for moving with nested resources
Addressed by: https:/
Use provider tree in virt FakeDriver
Addressed by: https:/
Run ServerMovingTests with nested resources
Approved for Stein as a specless blueprint. This is adding the nova client-side implementation/
Addressed by: https:/
Run negative server moving tests with nested RPs
Addressed by: https:/
Followup for Iba230201803ef3
Addressed by: https:/
Follow up for Ie991d4b53e9bb5
Addressed by: https:/
Ignore forcing of live migration for nested instance
Addressed by: https:/
Consider nested allocations during allocation cleanup
Addressed by: https:/
Consider nested allocations during allocation cleanup
Addressed by: https:/
Ignore forcing of evacuation for nested instance
Addressed by: https:/
Refactor allocation checking in functional tests
Addressed by: https:/
Handle allocations consuming only from the child RPs
Addressed by: https:/
Drop legacy cold migrate allocation compat code
Gerrit topic: https:/
Addressed by: https:/
Fix nits in I7cbd5d9fb875eb
There is one outstanding patch https:/
Gerrit topic: https:/
Addressed by: https:/
Enable nested allocation candidates in scheduler
Gerrit topic: https:/
Addressed by: https:/
Reproduce bug #1819460 in functional test
Work Items
Dependency tree

* Blueprints in grey have been implemented.