Ticket 11625

Summary: When a job is preempted could the job that is preempting it be recorded in the job record and slurmdbd?
Product: Slurm Reporter: Chris Samuel (NERSC) <csamuel>
Component: AccountingAssignee: Unassigned Developer <dev-unassigned>
Status: OPEN --- QA Contact:
Severity: 5 - Enhancement    
Priority: --- CC: agaur, dmjacobsen, warndt
Version: 20.02.6   
Hardware: Linux   
OS: Linux   
Site: NERSC 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 Chris Samuel (NERSC) 2021-05-14 23:30:47 MDT
Hi there,

This request is one Tim requested I file in response to a question of mine in the CUG Slurm BoF today - I've been asked me about how our staff can know what incoming job caused a running job to be preempted (because of how we plan to use MaxStartDelay in production).

Ideally they'd like to see that recorded in slurmdbd, but it would also be great if it was present in the preempted jobs job record so that our jobcomp/lua plugin could write it into the AdminComment that some of our tooling parses.

All the best,
Chris
Comment 1 Tim Wickberg 2021-05-17 11:25:44 MDT
Thanks for following up. I'm tagging this as an enhancement request for now, I don't have an immediate plan to add this in but I'm certainly willing to look at any proposed patches and/or discuss sponsorship.

- Tim
Comment 2 Chris Samuel (NERSC) 2021-05-17 11:33:40 MDT
Thanks Tim - I had meant to mark it as an enhancement but must have missed it when filing.