Ticket 4500

Summary: Switch to standard pidfiles on Cray systems
Product: Slurm Reporter: David Gloe <david.gloe>
Component: ContributionsAssignee: Danny Auble <da>
Status: RESOLVED FIXED QA Contact:
Severity: 4 - Minor Issue    
Priority: ---    
Version: 17.11.0   
Hardware: Linux   
OS: Linux   
Site: CRAY Slinky Site: ---
Alineos Sites: --- Atos/Eviden Sites: ---
Confidential Site: --- Coreweave sites: ---
Cray Sites: Cray Internal 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: 17.11.1 18.08.0-0pre1
Target Release: --- DevPrio: ---
Emory-Cloud Sites: ---
Attachments: Patch to switch to standard pid files on Cray systems

Description David Gloe 2017-12-11 10:43:39 MST
Created attachment 5714 [details]
Patch to switch to standard pid files on Cray systems

The pid files in slurm.conf and the systemd service files must match, or systemd will time out looking for the wrong pid file. Currently, the Cray slurm.conf template has different pid files for slurmctld and slurmd than the service files.

There's no reason for us to use these nonstandard pid files, and it will save us some headaches to switch over.

I've attached a patch which changes the slurm.conf template to put the pid files in /var/run, matching the systemd service files. I've also removed some init.d handling that's no longer needed.
Comment 1 Danny Auble 2017-12-11 13:32:04 MST
Thanks David, this has been added in commit 5342d9791fc15e312.