<div dir="ltr"><div dir="ltr">Thanks very much for your reply. <div><br></div><div>- I added this line to the slurm.conf file:</div><div><br></div><div>AuthAltParameters=jwt_key=/var/spool/slurmctld/jwt_hs256.key<br></div><div><br></div><div>I restarted the daemons but this does not change slurmrestd error. I guess this is needed anyway after plugins are found, so thanks for pointing that out.</div><div><br></div><div>- I see effectively that --with jwt is not listed. I wonder how to build (using rpmbuild) slurm auth plugins? </div><div>  In general I didn't understand from the doc what plugins slurmrestd expects by default and where it searches it. From -a option it seems it searches libraries inside a directory rest_auth/[PLUGIN_LIB_NAME]. But it seems these plugins are not built by rpmbuild or are not installed or are installed in a non-standard directory. </div><div>The rpmbuild log is available here (<a href="https://drive.google.com/file/d/1jrm55DH50Sr3EX6WZXj-x0z5ArPETgSQ/view?usp=sharing">https://drive.google.com/file/d/1jrm55DH50Sr3EX6WZXj-x0z5ArPETgSQ/view?usp=sharing</a>), maybe you can understand if there is something wrong.   </div><div><br></div><div>Thanks a lot again for your help,</div><span class="gmail-im" style="color:rgb(80,0,80)"><div><br></div><div>Simone</div><div><br></div></span><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><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 8 Apr 2021 at 10:12, Ole Holm Nielsen <<a href="mailto:Ole.H.Nielsen@fysik.dtu.dk" target="_blank">Ole.H.Nielsen@fysik.dtu.dk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 4/8/21 9:50 AM, Simone Riggi wrote:<br>
> I write you about how to properly setup slurmrestd.<br>
...<br>
> 2) Installed slurm with:<br>
> <br>
> rpmbuild -ta slurm-20.11.5.tar.bz2 --with mysql --with slurmrestd --with jwt<br>
<br>
I don't see this "--with jwt" in the slurm.spec file:<br>
<br>
[slurm-20.11.5]# grep "# --with" slurm.spec<br>
# --with cray           %_with_cray 1           build for a Cray Aries system<br>
# --with cray_network   %_with_cray_network 1   build for a non-Cray system <br>
with a Cray network<br>
# --with cray_shasta    %_with_cray_shasta 1    build for a Cray Shasta system<br>
# --with slurmrestd     %_with_slurmrestd 1     build slurmrestd<br>
# --with slurmsmwd      %_with_slurmsmwd 1      build slurmsmwd<br>
# --without debug       %_without_debug 1       don't compile with debugging symbols<br>
# --with hdf5           %_with_hdf5 path        require hdf5 support<br>
# --with hwloc          %_with_hwloc 1          require hwloc support<br>
# --with lua            %_with_lua path         build Slurm lua bindings<br>
# --with mysql          %_with_mysql 1          require mysql/mariadb support<br>
# --with numa           %_with_numa 1           require NUMA support<br>
# --without pam         %_without_pam 1         don't require pam-devel RPM to be installed<br>
# --without x11         %_without_x11 1         disable internal X11 support<br>
# --with ucx            %_with_ucx path         require ucx support<br>
# --with pmix           %_with_pmix path        require pmix support<br>
<br>
/Ole<br>
<br>
</blockquote></div>
</blockquote></div></div>