Ticket 7450 - sacctmgr dump/load for QOS
Summary: sacctmgr dump/load for QOS
Status: OPEN
Alias: None
Product: Slurm
Classification: Unclassified
Component: slurmdbd (show other tickets)
Version: 19.05.1
Hardware: Linux Linux
: 5 - Enhancement
Assignee: Unassigned Developer
QA Contact:
URL:
: 14311 (view as ticket list)
Depends on:
Blocks:
 
Reported: 2019-07-22 12:44 MDT by Matt Ezell
Modified: 2023-10-19 14:38 MDT (History)
3 users (show)

See Also:
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: ---


Attachments

Note You need to log in before you can comment on or make changes to this ticket.
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. ***