Re: [slurm-users] linting slurm.conf files

2023-01-27 Thread Kevin Broch
Thank you Paul!

On Fri, Jan 27, 2023 at 11:56 AM Paul Edmon  wrote:

> 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, /
>


Re: [slurm-users] linting slurm.conf files

2023-01-27 Thread Paul Edmon
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, /

[slurm-users] linting slurm.conf files

2023-01-27 Thread Kevin Broch
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, /