Request traits in Nova
This blueprint aims at leveraging traits to standardize the way
of requesting qualitative resources in Nova.
The main improvements are:
1. Allow to specify traits in flavors and image metadata.
2. Allow nova to validate traits when create a flavor.
3. Fail fast in nova-api when a requested traits doesn't exist or isn't valid in the cloud.
4. Standardize and encapsulate the implementation about how to request traits to scheduler through request spec.
Blueprint information
- Status:
- Complete
- Approver:
- Jay Pipes
- Priority:
- Low
- Drafter:
- Lei Zhang
- Direction:
- Approved
- Assignee:
- Lei Zhang
- Definition:
- Approved
- Series goal:
- Accepted for queens
- Implementation:
-
Implemented
- Milestone target:
-
queens-rc1
- Started by
- Matt Riedemann
- Completed by
- Matt Riedemann
Related branches
Related bugs
Sprints
Whiteboard
Addressed by: https:/
Request traits in Nova
Gerrit topic: https:/
Addressed by: https:/
placement: extract traits from flavor extra spec
Addressed by: https:/
placement: the common method to filter resource providers by traits
Addressed by: https:/
placement: add traits support to get resource_providers with shared
Addressed by: https:/
placement: add traits support in the AllocationCandi
Addressed by: https:/
placement: add traits to the 'GET /allocation_
Gerrit topic: https:/
Addressed by: https:/
[DNM] Add _get_provider_
Addressed by: https:/
[DNM] placement: add traits support in the AllocationCandi
Gerrit topic: https:/
Addressed by: https:/
placement: support traits in allocation candidates API
Addressed by: https:/
placement: using the dict format for the allocations
Addressed by: https:/
placement: enable required traits from the flavor extra specs
Gerrit topic: https:/
Addressed by: https:/
Add functional tests for traits-based scheduling
Addressed by: https:/
Fix nits in support traits changes
Addressed by: https:/
Mention required traits in the flavors user docs
Addressed by: https:/
doc: placement upgrade notes for queens
Work Items
Dependency tree

* Blueprints in grey have been implemented.