maintenance_reservation
Often, you'll need to schedule work on a node, and need to indicate that its not available for reservation during that period. Setting the ironic maintenance
flag doesn't contain information about the expected duration, so we have a tool for this.
Run the hammer on one of your controller nodes:
It will attempt to create a lease for each node in list,of_node,names
starting at start-time
, and with the duration of estimate-hours
. Users will be able to make leases either before or after this duration.
Remove --dry-run to actually make the leases!
Last updated