[slurm-users] slurmrestd configuration
Simone Riggi
simone.riggi at gmail.com
Thu Apr 8 13:53:14 UTC 2021
Thanks very much for your reply.
- I added this line to the slurm.conf file:
AuthAltParameters=jwt_key=/var/spool/slurmctld/jwt_hs256.key
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.
- I see effectively that --with jwt is not listed. I wonder how to build
(using rpmbuild) slurm auth plugins?
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.
The rpmbuild log is available here (
https://drive.google.com/file/d/1jrm55DH50Sr3EX6WZXj-x0z5ArPETgSQ/view?usp=sharing),
maybe you can understand if there is something wrong.
Thanks a lot again for your help,
Simone
****************************************************************
Simone Riggi, PhD
INAF, Osservatorio Astrofisico di Catania
Via S. Sofia 78
95123, Catania - Italy
phone: +39 095 7332 extension 282 (or 310)
e-mail: simone.riggi at gmail.com,
sriggi at inaf.it <sriggi at oact.inaf.it>,
sriggi at pec.it <simone.riggi at ct.infn.it>
skype: simone.riggi
****************************************************************
>
>
> On Thu, 8 Apr 2021 at 10:12, Ole Holm Nielsen <Ole.H.Nielsen at fysik.dtu.dk>
> wrote:
>
>> On 4/8/21 9:50 AM, Simone Riggi wrote:
>> > I write you about how to properly setup slurmrestd.
>> ...
>> > 2) Installed slurm with:
>> >
>> > rpmbuild -ta slurm-20.11.5.tar.bz2 --with mysql --with slurmrestd
>> --with jwt
>>
>> I don't see this "--with jwt" in the slurm.spec file:
>>
>> [slurm-20.11.5]# grep "# --with" slurm.spec
>> # --with cray %_with_cray 1 build for a Cray Aries
>> system
>> # --with cray_network %_with_cray_network 1 build for a non-Cray
>> system
>> with a Cray network
>> # --with cray_shasta %_with_cray_shasta 1 build for a Cray Shasta
>> system
>> # --with slurmrestd %_with_slurmrestd 1 build slurmrestd
>> # --with slurmsmwd %_with_slurmsmwd 1 build slurmsmwd
>> # --without debug %_without_debug 1 don't compile with
>> debugging symbols
>> # --with hdf5 %_with_hdf5 path require hdf5 support
>> # --with hwloc %_with_hwloc 1 require hwloc support
>> # --with lua %_with_lua path build Slurm lua bindings
>> # --with mysql %_with_mysql 1 require mysql/mariadb
>> support
>> # --with numa %_with_numa 1 require NUMA support
>> # --without pam %_without_pam 1 don't require pam-devel
>> RPM to be installed
>> # --without x11 %_without_x11 1 disable internal X11
>> support
>> # --with ucx %_with_ucx path require ucx support
>> # --with pmix %_with_pmix path require pmix support
>>
>> /Ole
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20210408/e571cdfe/attachment.htm>
More information about the slurm-users
mailing list