Resource providers: custom resource classes (partial)
We propose to provide the ability for an administrator to create a set of special resource classes that indicate atomic resources that can be provided by a generic resource pool. The two first primary examples of these dynamic resource classes are likely to be Ironic "flavors" that describe an atomically-
Blueprint information
- Status:
- Complete
- Approver:
- Matt Riedemann
- Priority:
- High
- Drafter:
- Jay Pipes
- Direction:
- Approved
- Assignee:
- Jay Pipes
- Definition:
- Approved
- Series goal:
- Accepted for ocata
- Implementation:
- Implemented
- Milestone target:
- ocata-3
- Started by
- Matt Riedemann
- Completed by
- Matt Riedemann
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
WIP Resource providers: dynamic resource classes
Gerrit topic: https:/
Addressed by: https:/
placement: add new resource_classes table
Addressed by: https:/
placement: add cache for resource classes
Addressed by: https:/
placement: change resource class to a StringField
Addressed by: https:/
Changed the name of the standard resource classes
The spec is not yet approved for this, there was discussion in the 20161010 nova scheduler meeting that the spec is overly detailed on implementation specifics, which is what got it bogged down during review. There is momentum on reviewing the code, so we're going to make an exception and approve the blueprint before the spec and then update the spec later. -- mriedem 20161010
Addressed by: https:/
Correct bug in microversion headers in placement
Addressed by: https:/
placement: add ResourceClass and ResourceClassList
Addressed by: https:/
placement: Implement ResourceClass.
Addressed by: https:/
placement: raise KeyError unknown resource class
Addressed by: https:/
placement: adds ResourceClass.
Addressed by: https:/
placement: implement destroy() resource class
Addressed by: https:/
placement: REST API for resource classes
Addressed by: https:/
fix connection context manager in rc cache
Addressed by: https:/
rt: pass nodename to internal methods
Addressed by: https:/
rt: pass the nodename to public methods
Addressed by: https:/
rt: remove fluff from test_resource_
Addressed by: https:/
rt: explicitly pass compute node to _update()
Addressed by: https:/
rt: use a single ResourceTracker object instance
Addressed by: https:/
Add a retry loop to ResourceClass creation
Addressed by: https:/
placement: adds ResourceClass.
Addressed by: https:/
Fix bullet formatting in RP custom-
Addressed by: https:/
placement: RT now adds proper Ironic inventory
Addressed by: https:/
placement: report client handle InventoryInUse
Addressed by: https:/
placement: minor refactor _allocate_
Addressed by: https:/
placement: Perform build list of standard classes once
Addressed by: https:/
Improve the error message for failed RC deletion
Addressed by: https:/
Amend response details for custom resource classes PUT
Addressed by: https:/
Fix placement API version history 1.1 title
Gerrit topic: https:/
Addressed by: https:/
DNM: hack ironic with resource providers
There is one change left on this https:/
https:/
-- mriedem 20170203
Work Items
Dependency tree
* Blueprints in grey have been implemented.