Ticket 8603

Summary: plugstack configless doesn't work
Product: Slurm Reporter: Matt Mix <mattmix>
Component: ConfigurationAssignee: Tim Wickberg <tim>
Status: RESOLVED FIXED QA Contact:
Severity: C - Contributions    
Priority: --- CC: tdockendorf
Version: 20.02.0   
Hardware: Linux   
OS: Linux   
Site: -Other- 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: 20.02.2
Target Release: --- DevPrio: ---
Emory-Cloud Sites: ---

Description Matt Mix 2020-02-29 19:24:42 MST
The plugstack.conf configuration on the controller node does not reflect in slurmd. The file, plugstack.conf, is also missing from the conf-cache directory.

I was able to fix the missing file by modifying this line to use plugstack_config instead of topology_config:

https://github.com/SchedMD/slurm/blob/03a30514ae587ef795c639a7f27c2da75ac40757/src/common/fetch_config.c#L350

Yet it still doesn't use plugins defined in the file. It does work if I copy the file in conf-cache to /etc/slurm/plugstack.conf. I think the issue is due to spank_stack_init using the configured PlugStackConfig path rather than the conf-cache location on slurmd configless nodes.

Thanks,
Matt Mix
Comment 1 Tim Wickberg 2020-04-24 11:42:37 MDT
*** Ticket 8934 has been marked as a duplicate of this ticket. ***
Comment 2 Tim Wickberg 2020-04-24 11:50:17 MDT
Hi Matt -

In the future please submit patch suggestions under the 'C - Contributions' category; it'll get them processed much faster.

This, alongside a few other fixes for configless operation, are in 20.02.2 going forward.

Thank you for the fix.

- Tim

commit 34d761aa88d6e133b180c7bba3c5dccd970dbc2a
Author:     Matt Mix <mattmix@bluemavid.com>
AuthorDate: Sat Feb 29 19:24:00 2020 -0700

    Send the correct config file for plugstack.conf in configless mode.
    
    Bug 8603.