Allow having placement inventories with reserved value equal to total

Registered by Vladyslav Drok

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:
milestone icon rocky-3
Started by
Matt Riedemann
Completed by
Vladyslav Drok

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/allow-reserved-equal-total-inventory,n,z

Addressed by: https://review.openstack.org/564838
    Placement: allow to set reserved value equal to total for inventory

Gerrit topic: https://review.openstack.org/#q,topic:ironic-reserved-resources,n,z

Addressed by: https://review.openstack.org/568613
    Allow having placement inventories with reserved value equal to total

Approved for Rocky. -- mriedem 20180516

Addressed by: https://review.openstack.org/517921
    ironic: Report resources as reserved when needed

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.