stackhpc / ansible-role-openhpc

Ansible role for OpenHPC
Apache License 2.0
44 stars 15 forks source link

Use `sinfo` to validate slurm.conf before trying to start daemons #123

Open sjpb opened 2 years ago

sjpb commented 2 years ago

Instead of scraping errors on slurmctld start, the above might work? It definitely uses the config on disk rather than the loaded config (so configless, it'd have to run on the controller but that's ok). Not clear whether it works if there's NO slurmctld running though.