Ticket 7450

Summary: sacctmgr dump/load for QOS
Product: Slurm Reporter: Matt Ezell <ezellma>
Component: slurmdbdAssignee: Unassigned Developer <dev-unassigned>
Status: OPEN --- QA Contact:
Severity: 5 - Enhancement    
Priority: --- CC: sts, tmerritt, viviano.brad
Version: 19.05.1   
Hardware: Linux   
OS: Linux   
See Also: https://bugs.schedmd.com/show_bug.cgi?id=4325
https://bugs.schedmd.com/show_bug.cgi?id=9111
Site: ORNL-OLCF Alineos Sites: ---
Atos/Eviden Sites: --- Confidential Site: ---
Coreweave sites: --- Cray Sites: ---
DS9 clusters: --- HPCnow Sites: ---
HPE Sites: --- IBM Sites: ---
NOAA SIte: --- NoveTech Sites: ---
Nvidia HWinf-CS Sites: --- OCF Sites: ---
Recursion Pharma Sites: --- SFW Sites: ---
SNIC sites: --- Tzag Elita Sites: ---
Linux Distro: --- Machine Name:
CLE Version: Version Fixed:
Target Release: --- DevPrio: ---
Emory-Cloud Sites: ---

Description Matt Ezell 2019-07-22 12:44:50 MDT
All of our scheduler configurations are stored in an external system and must be regularly synced to slurmdbd.  There is currently no programmatic way of modifying QOS settings, other than 'sacctmgr -P show qos' followed my 'sacctmgr add/delete/modify qos ... '.

Option 1:
Add 'sacctmgr dumpqos' and 'sacctmgr loadqos' functions.  Ideally, loadqos would be able to remove QOSs that are not defined in the file

Option 2:
Provide a Python or REST API
Comment 1 Jason Booth 2019-07-22 14:41:47 MDT
Hi Matt - I can see a few issues we may have with this especially surrounding the associations and how to deal with missing QOS'es. I suspect that the association(s) would either:
1) Remove the missing QOS / merge duplicate associations
or
2) Delete the association altogether.

This would require a more in-depth look by our engineers. Is this something you are looking at sponsoring?
Comment 2 Matt Ezell 2019-07-22 14:50:44 MDT
(In reply to Jason Booth from comment #1)
> This would require a more in-depth look by our engineers. Is this something
> you are looking at sponsoring?

Yes; I talked to Tim about some potential NRE work, and he suggested I go ahead and get them in as enhancement requests.  Thanks.
Comment 3 Nate Rini 2022-07-14 13:03:51 MDT
*** Ticket 14311 has been marked as a duplicate of this ticket. ***