Re: [slurm-users] Slurmrestd authentication failed: Unspecified error

2022-03-21 Thread Chenyang Yan
Guillaume, thanks for your reply and your workaround. Do you try adding `SLUTM_JWT=daemon` fo slurmrestd process, and then any value is is authenticated successfully for request header `X-SLURM-USER-TOKEN`, `X-SLURM-USER-NAME` . You can see the information in my last email: ``` # start process w

Re: [slurm-users] Slurmrestd authentication failed: Unspecified error

2022-03-21 Thread Guillaume COCHARD
Hello, We had the same error and we fixed it by adding `Environment="SLURM_JWT=daemon"` to the [Service] section of the unit file (in our case /usr/lib/systemd/system/slurmrestd.service ). We have a bug (feature?) that makes us unable to use root or slurm user as user for slurmrestd service