Ticket 12648

Summary: The openapi spec for diag in dbv0.0.37 is incorrect
Product: Slurm Reporter: Andrew Bruno <aebruno2>
Component: slurmrestdAssignee: Nate Rini <nate>
Status: RESOLVED FIXED QA Contact:
Severity: C - Contributions    
Priority: --- CC: nate, tdockendorf
Version: 21.08.1   
Hardware: Linux   
OS: Linux   
Site: University of Buffalo (SUNY) Slinky Site: ---
Alineos Sites: --- Atos/Eviden Sites: ---
Confidential Site: --- Coreweave sites: ---
Cray Sites: --- DS9 clusters: ---
Google sites: --- 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: 21.08.8,22.05pre1
Target Release: --- DevPrio: ---
Emory-Cloud Sites: ---
Ticket Depends on: 12365    
Ticket Blocks:    
Attachments: Patch to fix diag openapi spec

Description Andrew Bruno 2021-10-11 22:25:37 MDT
Created attachment 21697 [details]
Patch to fix diag openapi spec

The openapi spec for diag in dbv0.0.37 is incorrect. The attached patch fixes the
openapi spec to be properly under the "statistics" key.
Comment 1 Trey Dockendorf 2021-10-12 06:48:02 MDT
+1 from OSC
Comment 3 Trey Dockendorf 2022-04-21 12:02:45 MDT
Any progress on getting this into a future Slurm release?
Comment 13 Nate Rini 2022-05-02 10:32:52 MDT
Andrew,

These changes are now upstream for the upcoming slurm-21.08.8 release.
> https://github.com/SchedMD/slurm/commit/524c97f024434b8ceabcaa740f412c29c19d7cfc

Closing out the ticket. Thanks for the submission.
--Nate