Add concept of resource providers (partial)
This blueprint aims to address the problem of Nova assuming all resources are provided by a single compute node by introducing a new concept -- a resource provider -- that will allow Nova to accurately track and reserve resources regardless of whether the resource is being exposed by a single compute node or some shared pool or service.
Blueprint information
- Status:
- Complete
- Approver:
- John Garbutt
- Priority:
- High
- Drafter:
- Jay Pipes
- Direction:
- Approved
- Assignee:
- Chris Dent
- Definition:
- Approved
- Series goal:
- Accepted for newton
- Implementation:
-
Implemented
- Milestone target:
-
newton-1
- Started by
- John Garbutt
- Completed by
- Matt Riedemann
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
WIP: db-specific changes related to resource providers blueprint. Added ResourceClass, ResourceProvider, ResourcePool, HostAggregateRe
Addressed by: https:/
WIP: Add concept of resource providers
Addressed by: https:/
Adds ResourceClass field type definition
Addressed by: https:/
Adds resource_classes lookup table to API DB
Addressed by: https:/
WIP: Adds ResourceClass object
Addressed by: https:/
WIP: Adds ResourcePool object
Addressed by: https:/
WIP: Adds Resource objects
Addressed by: https:/
WIP: Adds ResourceProvider object
Addressed by: https:/
resource_
Addressed by: https:/
WIP resource-provider versioned objects
Addressed by: https:/
Implement an indexed ResourceClass Enum object
Addressed by: https:/
Allocate UUID for compute node
Addressed by: https:/
Make Service.
Addressed by: https:/
WIP: Migrate compute node stats to Inventory objects
Gerrit topic: https:/
Addressed by: https:/
Amend resource-providers database schema
Addressed by: https:/
Adjust resource-providers models for resource-pools
Addressed by: https:/
Add Allocation and AllocationList objects
Gerrit topic: https:/
Gerrit topic: https:/
Gerrit topic: https:/
Marking this as partially complete, as we hit the deadline -johnthetubaguy 2nd march 2016
Gerrit topic: https:/
I've re-opened this for newton, there is only one remaining change:
https:/
It's just easier to re-open this and continue the work there given the big dependency chain we have.
-- mriedem 20160323
Addressed by: https:/
Add name to ResourceProvider object
Addressed by: https:/
Add a get_by_uuid for aggregates
Addressed by: https:/
Add ResourcePool and ResourcePoolList objects
Addressed by: https:/
WIP resource-
Gerrit topic: https:/
Addressed by: https:/
rt: remove old test_resource_
Addressed by: https:/
rt: rename test_tracker -> test_resource_
Work Items
Dependency tree

* Blueprints in grey have been implemented.