[slurm-users] Setting up slurmrestd

karl at lovink.net karl at lovink.net
Tue Jul 12 10:47:16 UTC 2022


Hi Stefan,

I did....


-----Original Message-----
From: slurm-users <slurm-users-bounces at lists.schedmd.com> On Behalf Of Stefan Staeglich
Sent: Wednesday, 29 June 2022 15:37
To: Slurm User Community List <slurm-users at lists.schedmd.com>
Subject: Re: [slurm-users] Setting up slurmrestd

Hi Karl,

do you've found a solution?

Best,
Stefan

Am Freitag, 8. Januar 2021, 23:14:34 CEST schrieb Karl Lovink:
> Hi Luke,
> 
> Thanks it’s working now. Thanks. One last question, is it possible to create
> a non-expiring token. Yes, I know it is not secure....
 
> Sincerely yours,
> Karl 
> 
> 
> > On 8 Jan 2021, at 20:25, Luke Yeager <lyeager at nvidia.com> wrote:
> > 
> > 
> > There's this: https://slurm.schedmd.com/rest.html
> > 
> >  
> > 
> > From my personal notes:
> > Install these packages before re-compiling Slurm (ubuntu 20.04):
> > libhttp-parser-dev, libjwt-dev, and libyaml-dev
 Setup JWT using these
> > instructions: https://slurm.schedmd.com/jwt.html Create
> > /etc/slurm/slurmrest.conf with contents like this:
> > include {{ _sysconf_dir }}/slurm.conf
> > AuthType=auth/jwt
> > Run like this: slurmrestd -f /etc/slurm/slurmrestd.conf 0.0.0.0:6820
> > 
> >  
> > 
> > -----Original Message-----
> > From: slurm-users <slurm-users-bounces at lists.schedmd.com> On Behalf Of
> > Karl Lovink
 Sent: Friday, January 8, 2021 11:04 AM
> > To: slurm-users at schedmd.com
> > Subject: Re: [slurm-users] Setting up slurmrestd
> > 
> >  
> > 
> > External email: Use caution opening links or attachments
> > 
> >  
> >  
> > 
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA256
> > 
> >  
> > 
> > Hello,
> > 
> >  
> > 
> > I'm trying to configure slurmrestd but I haven't been very successful so
> > far. The plan is to use splunk to approach the endpoints. To test the
> > communication with slurmrestd I am now using curl. However, I always get
> > "Authentication failure" back. I think there are two options to
> > authenticate: JWT and an API key. I would like to use the API key.
> > slurmrestd, curl and soon Splunk will run on the same machine. So
> > communication via localhost is sufficient.
> 
> >  
> > 
> > Is there somewhere and HOWTO to configure this? And can somebody help me
> > to setup this.
> 
> >  
> > 
> > Sincerely,
> > Karl
> > 
> >  
> >  
> > 
> > -----BEGIN PGP SIGNATURE-----
> > 
> >  
> > 
> > iQEzBAEBCAAdFiEEdAEe0RRL+gREs9oxGJor1wjGePMFAl/4rKIACgkQGJor1wjG
> > ePNpWwgAg4/m39mUv3ac4ZS4NxPErHccymUEELLagPIidUdbPa+NV9VagCoCbjvN
> > bM38k4X4Biud0AEGQ8yD5YDDJYZplYzViTJUF1wQr1aObU6NRgAj426rEFRZeP7j
> > pNL42QXh5/0szNYrrtH9c1UY+ALvwFR0CEpphvdoySa5tTm73zsSOgzD6CZN+AIY
> > g2bou6dLPBTB5v9y5WgjiC/9gdZxmtSv80Z72r6uWzKwVdI5pOattkjt9AFNy+Wa
> > mTYUN9Zix9u6ILeQ08poOLR2dMyfHbVtoL4lk4lV/yTyN7+9m2VlfTjM9ondyYuT
> > Bt7ToUEECLKL5/mMTuEz0RCC5xuUsA==
> > =4ZMz
> > -----END PGP SIGNATURE-----
> > 
> >  
> >  


-- 
Stefan Stäglich,  Universität Freiburg,  Institut für Informatik
Georges-Köhler-Allee,  Geb.52,   79110 Freiburg,    Germany

E-Mail : staeglis at informatik.uni-freiburg.de
WWW    : gki.informatik.uni-freiburg.de
Telefon: +49 761 203-8223
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5973 bytes
Desc: not available
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20220712/74ea903d/attachment.bin>


More information about the slurm-users mailing list