Ticket 12651

Summary: add or remove node in a reservation
Product: Slurm Reporter: John Stile <jstile>
Component: OtherAssignee: Danny Auble <da>
Status: RESOLVED FIXED QA Contact:
Severity: 5 - Enhancement    
Priority: --- CC: agaur, csamuel, ezellma
Version: 20.11.8   
Hardware: Linux   
OS: Linux   
See Also: https://bugs.schedmd.com/show_bug.cgi?id=13446
Site: NERSC Alineos Sites: ---
Atos/Eviden Sites: --- Confidential Site: ---
Coreweave sites: --- Cray Sites: ---
DS9 clusters: --- HPCnow Sites: ---
HPE Sites: --- IBM Sites: ---
NOAA SIte: --- OCF Sites: ---
Recursion Pharma Sites: --- SFW Sites: ---
SNIC sites: --- Linux Distro: ---
Machine Name: CLE Version:
Version Fixed: 23.02.0pre1 Target Release: 23.02
DevPrio: 1 - Paid Emory-Cloud Sites: ---

Description John Stile 2021-10-12 09:42:14 MDT
'scontrol update reservation' does not support += and -= for a nodelist.

The user has to do a lot of work to do this:
  1. get the current list formatted correctly,
  2. Add or remove as needed
  3. Update the reservation

This request asks 'scontrol update' to do the heavy lifting, by taking the change list and applying it to the reservation.
Comment 1 Jason Booth 2021-10-12 13:13:30 MDT
Hey John - the idea you suggest here sounds interesting although I can not see this being implemented at least not without a site sponsoring this. 

If you are unsure what sponsoring means, this is when a site financially sponsors the development of a feature.

Would you be interested in sponsoring this enhancement?
Comment 2 Jason Booth 2022-02-18 09:27:01 MST
*** Ticket 13446 has been marked as a duplicate of this ticket. ***
Comment 3 Chris Samuel (NERSC) 2022-04-13 21:27:07 MDT
Hi Jason,

Could you change the site for this to NERSC please?

All the best,
Chris
Comment 6 Danny Auble 2022-11-02 13:23:05 MDT
This has been added to 23.02 in commit 952efcd05a.

Please reopen this bug if you find any problems.