<div dir="ltr"><div>Dear all,</div><div>I write you about how to properly setup slurmrestd. </div><div><div>I followed a recent post (<a href="https://groups.google.com/g/slurm-users/c/VDeFmSDao1U/m/Yu0j-VNcBgAJ" target="_blank">https://groups.google.com/g/slurm-users/c/VDeFmSDao1U/m/Yu0j-VNcBgAJ</a>) but slurmrestd fails with:</div></div><div><br></div><div><i>slurmrestd: fatal: No authentication plugins to load</i></div><div><br></div><div>Indeed when I run slurmrestd -a list, no plugin is detected. </div><div>Can you provide some additional documentation explaining what authentication plugins I should use, how to install and configure them? I was not able to understand from the current documentation if this works only with jwt or there is a default plugin.</div><div> </div><div>I try to describe what I did:</div><div><br></div><div>OS: Centos 7</div><div>Slurm: v20.11.5</div><div><br></div><div>1) Installed the dependencies, among which libjwt. I verified it is installed under /usr/lib64:</div><div><br></div><div>rpm -qa | grep jwt<br>libjwt-1.9.0-1.of.el7.x86_64<br>libjwt-devel-1.9.0-1.of.el7.x86_64<br></div><div><br></div><div>2) Installed slurm with:</div><div><br></div><div>rpmbuild -ta slurm-20.11.5.tar.bz2 --with mysql --with slurmrestd --with jwt<br></div><div><br></div><div>3) Added these options to /etc/slurm/slurm.conf</div><div><br></div><div>AuthType=auth/munge<br>AuthAltTypes=auth/jwt<br></div><div><br></div><div>4) Started daemons. I attach the logs: </div><div><br></div><div>== slurmctld ==</div><div>2021-04-07T20:34:10.148] slurmctld version 20.11.5 started on cluster lofar-gpu-clust<br>[2021-04-07T20:34:10.153] No memory enforcing mechanism configured.<br>[2021-04-07T20:34:10.219] Recovered state of 1 nodes<br>[2021-04-07T20:34:10.219] Recovered information about 0 jobs<br>[2021-04-07T20:34:10.219] select/cons_tres: part_data_create_array: select/cons_tres: preparing for 1 partitions<br>[2021-04-07T20:34:10.219] Recovered state of 0 reservations<br>[2021-04-07T20:34:10.219] read_slurm_conf: backup_controller not specified<br>[2021-04-07T20:34:10.219] select/cons_tres: select_p_reconfigure: select/cons_tres: reconfigure<br>[2021-04-07T20:34:10.219] select/cons_tres: part_data_create_array: select/cons_tres: preparing for 1 partitions<br>[2021-04-07T20:34:10.219] Running as primary controller<br>[2021-04-07T20:34:10.220] No parameter for mcs plugin, default values set<br>[2021-04-07T20:34:10.220] mcs: MCSParameters = (null). ondemand set.<br></div><div><br></div><div>== slurmd ==</div><div>[2021-04-07T20:35:37.939] slurmd version 20.11.5 started<br>[2021-04-07T20:35:37.940] slurmd started on Wed, 07 Apr 2021 20:35:37 +0200<br>[2021-04-07T20:35:37.940] CPUs=40 Boards=1 Sockets=4 Cores=10 Threads=2 Memory=128529 TmpDisk=51175 Uptime=5391270 CPUSpecList=(null) FeaturesAvail=(null) FeaturesActive=(null)<br></div><div><br></div><div>== slurmrestd ==</div><div>$ systemctl start slurmrestd</div><div>slurmrestd[1987721]: fatal: No authentication plugins to load<br></div><div><br></div><div>Same result with this (as root user) following the old post: </div><div><br></div><div>$ slurmrestd -f /etc/slurm/slurmrestd.conf <a href="http://0.0.0.0:6820/" target="_blank">0.0.0.0:6820</a> </div><div><br></div><div>where /etc/slurm/slurmrestd.conf</div><div><br></div><div>include /etc/slurm/slurm.conf<br>AuthType=auth/jwt<br></div><div><br></div><div>Any hints?</div><div><br></div><div>Thanks very much for your help,</div><div><br></div><div>Regards,</div><div><br></div><div>Simone</div><div><br></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">****************************************************************<div>Simone Riggi, PhD<br><div><div>INAF, Osservatorio Astrofisico di Catania<br>Via S. Sofia 78<br>95123, Catania - Italy<br>phone:  +39 095 7332 extension 282 (or 310)<br>e-mail: <a href="mailto:simone.riggi@gmail.com" target="_blank">simone.riggi@gmail.com</a>,<div>            <a href="mailto:sriggi@oact.inaf.it" target="_blank">sriggi@inaf.it</a>,<br>            <a href="mailto:simone.riggi@ct.infn.it" target="_blank">sriggi@pec.it</a><br>skype: simone.riggi<br>****************************************************************<br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>