We use puppet to manage our slurm deployment here and we do some syntax checking to validate our slurm.conf before we deploy it. However right now it is rather kludgy, namely we do: SLURM_CONF="test.conf" scontrol show config However, that requires the scontrol to be able to talk to the slurm master, which isn't really great for testing a conf, especially if your master is down due to a conf syntax error. Could we get an independent slurm.conf (and frankly slurmdbd.conf) syntax checker than can be run independent of a working master that just looks to see if the conf is reasonable? This is especially important for node names to make sure that those names are resolvable. This would be an immense help for the automatic testing and validating of slurm in our environment. Thanks.
We would also very much appreciate this feature.
On annual leave until the 19th February 2020. Please call me on my mobile in urgent cases. ________________________________ AstraZeneca UK Limited is a company incorporated in England and Wales with registered number:03674842 and its registered office at 1 Francis Crick Avenue, Cambridge Biomedical Campus, Cambridge, CB2 0AA. This e-mail and its attachments are intended for the above named recipient only and may contain confidential and privileged information. If they have come to you in error, you must not copy or show them to anyone; instead, please reply to this e-mail, highlighting the error to the sender and then immediately delete the message. For information about how AstraZeneca UK Limited and its affiliates may process information, personal data and monitor communications, please see our privacy notice at www.astrazeneca.com<https://www.astrazeneca.com>
Here to +1 this feature request for the same reason as OP.
+1 please add this feature.
+ 1 here as well
+1 would be very useful
I am on leave Thursday/Friday. Will catch up with emails on Monday. In urgent cases, please call my mobile ________________________________ AstraZeneca UK Limited is a company incorporated in England and Wales with registered number:03674842 and its registered office at 1 Francis Crick Avenue, Cambridge Biomedical Campus, Cambridge, CB2 0AA. This e-mail and its attachments are intended for the above named recipient only and may contain confidential and privileged information. If they have come to you in error, you must not copy or show them to anyone; instead, please reply to this e-mail, highlighting the error to the sender and then immediately delete the message. For information about how AstraZeneca UK Limited and its affiliates may process information, personal data and monitor communications, please see our privacy notice at www.astrazeneca.com<https://www.astrazeneca.com>
Same as the original reporter, we are deploying slurm.conf via puppet. The puppet config can be syntax checked and validated by CI/CD before deployment, but slurm.conf and associated files (gres.conf, cgroup.conf, and any includes) cannot. This is especially worse since a single syntax error in any of those files will effectively crash the entire cluster. The SLURM_CONF= method doesn't work for us either, because the verification happens in a docker container, isolated from the actual slurm instance. There are almost a dozen people on this ticket, plus multiple duplicate tickets. This is clearly an important feature, and its absence in Slurm is causing us substantial heartburn.
I will be returning to the office on the 13th May 2022. I will respond to your message when I return. ________________________________ AstraZeneca UK Limited is a company incorporated in England and Wales with registered number:03674842 and its registered office at 1 Francis Crick Avenue, Cambridge Biomedical Campus, Cambridge, CB2 0AA. This e-mail and its attachments are intended for the above named recipient only and may contain confidential and privileged information. If they have come to you in error, you must not copy or show them to anyone; instead, please reply to this e-mail, highlighting the error to the sender and then immediately delete the message. For information about how AstraZeneca UK Limited and its affiliates may process information, personal data and monitor communications, please see our privacy notice at www.astrazeneca.com<https://www.astrazeneca.com>
I'll bump this. We'd love to be able to syntax check our config files prior to them getting deployed.
Ditto from UAB, ability to validate Slurm/slurmdbd/gres/cgroup.conf via CI/CD would be outstanding.
I am workshops and only sporadically available. Please apologise any delay in email response. ________________________________ AstraZeneca UK Limited is a company incorporated in England and Wales with registered number:03674842 and its registered office at 1 Francis Crick Avenue, Cambridge Biomedical Campus, Cambridge, CB2 0AA. This e-mail and its attachments are intended for the above named recipient only and may contain confidential and privileged information. If they have come to you in error, you must not copy or show them to anyone; instead, please reply to this e-mail, highlighting the error to the sender and then immediately delete the message. For information about how AstraZeneca UK Limited and its affiliates may process information, personal data and monitor communications, please see our privacy notice at www.astrazeneca.com<https://www.astrazeneca.com>
Discovered this feature request looking to find out the syntax for using it (I apparently incorrectly remembered that there was such a feature). Want to give it a +1. We also /do/ have a support contract if that helps.
+1 for the syntax checker
+1 here also
+1 here too