Support filtering by aggregate membership to allocation candidates
The list of resource providers that the placement API's ``GET
/allocation_
compute hosts are empty. Sometimes nova may have information that would allow
the number of compute hosts to be dramatically reduced. For instance, if nova
knows that a particular project is "pinned" to a host aggregate, currently nova
asks placement for all the resource providers that meet the resource
requirements of the flavor and then promptly discards any compute hosts that
are not in that particular host aggregate (in the aggregate multi-tenancy
isolation filter).
This process could be much more efficient if the nova scheduler were to simply
ask placement to only return compute hosts that are associated with a nova host
aggregate.
Blueprint information
- Status:
- Complete
- Approver:
- Matt Riedemann
- Priority:
- Medium
- Drafter:
- Jay Pipes
- Direction:
- Approved
- Assignee:
- Ed Leafe
- Definition:
- Approved
- Series goal:
- Accepted for rocky
- Implementation:
-
Implemented
- Milestone target:
-
rocky-2
- Started by
- Matt Riedemann
- Completed by
- Matt Riedemann
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Support member_of param for allocation candidates
Approved for Rocky. -- mriedem 20180215
Ed is working on it here: https:/
Addressed by: https:/
Add 'member_of' param to GET /allocation_
Merged on March 17th, 2018.
Addressed by: https:/
Address issues raised in adding member_of to GET /a-c
Given the spec amendment https:/
Addressed by: https:/
support multiple member_of qparams for GET /r-ps
Gerrit topic: https:/
Addressed by: https:/
Add unit tests for alloc_cands with member_of
Addressed by: https:/
Fix member_of with shared providers
Addressed by: https:/
Expand member_of functional test cases
Addressed by: https:/
Make scheduler client allow multiple member_of query parameters
Addressed by: https:/
Update nova-status and docs for required placement 1.24
Work Items
Dependency tree

* Blueprints in grey have been implemented.