Allow having placement inventories with reserved value equal to total
In ironic use case, during automated node cleaning (that happens after instance tear down), a node is unavailable for new deployments. Currently we indicate this to placement with deleting the inventory for the node. We could avoid that by just setting reserved value of the inventory to be equal to total, preventing new deployments to claim the node's resources. This is also useful for cyborg use case, during FPGA programming.
Blueprint information
- Status:
- Complete
- Approver:
- Matt Riedemann
- Priority:
- Low
- Drafter:
- Vladyslav Drok
- Direction:
- Approved
- Assignee:
- Vladyslav Drok
- Definition:
- Approved
- Series goal:
- Accepted for rocky
- Implementation:
-
Implemented
- Milestone target:
-
rocky-3
- Started by
- Matt Riedemann
- Completed by
- Vladyslav Drok
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Placement: allow to set reserved value equal to total for inventory
Gerrit topic: https:/
Addressed by: https:/
Allow having placement inventories with reserved value equal to total
Approved for Rocky. -- mriedem 20180516
Addressed by: https:/
ironic: Report resources as reserved when needed