[slurm-users] linting slurm.conf files

Paul Edmon pedmon at cfa.harvard.edu
Fri Jan 27 19:55:26 UTC 2023


We have a gitlab runner that fires up a docker container that basically 
starts up a mini scheduler (slurmdbd and slurmctld) to confirm that both 
can start. It covers most bases but we would like to see an official 
syntax checker (https://bugs.schedmd.com/show_bug.cgi?id=3435).

-Paul Edmon-

On 1/27/23 2:36 PM, Kevin Broch wrote:
> I'm wondering what others use to lint their slurm.conf files to give 
> more confidence that the changes are valid.
>
> I came across https://github.com/appeltel/slurmlint which was somewhat 
> functional
> but since it hasn't been updated since 2019, when I ran it against a 
> valid slurm.conf file based on a later slurm rev. it flagged a bunch 
> of false positives that were simply new valid options.
> On the plus side it was able to flag an example of a misconfigured 
> node/partition.
>
> Any ideas would be greatly appreciated.
>
> Best, /<evin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20230127/25398c10/attachment.htm>


More information about the slurm-users mailing list