Replies: 1 comment
-
Hello @gor2000, I just converted your issue #536 into this discussion as this more a support request than an actual bug. Note that Slurm-web v4 does not support Slurm REST API v0.0.42, only v0.0.40 is supported. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Slurm web does not open, I have this error: Unable to load cluster list.
Slurmd, slurmctl, slurmdbd and slurmrest are working.
I do not know if this is the normal behaviour but I can only curl with user root or slurm.
Ej: curl --silent --unix-socket /var/run/slurmrestd/slurmrestd.socket http://slurm/slurm/v0.0.42/jobs
If I use root or slurm I receive the response, otherwise authentication error (I have exported the token).
This are my config files:
/etc/slurm-web/agent.ini
[service]
cluster=furycluster
interface=0.0.0.0
port=5012
[slurmrestd]
socket=/var/run/slurmrestd/slurmrestd.socket
version=0.0.42
/etc/slurm-web/gateway.ini
[agents]
url=http://0.0.0.0:5012
[service]
interface=0.0.0.0
port=5011
/etc/systemd/system/slurmrestd.service.d/slurm-web.conf (this overrides the original one)
[unit]
Description=Slurm REST daemon
After=network.target munge.service
ConditionPathExists=/etc/slurm/slurm.conf
[Service]
ExecStart=
ExecStart=/usr/sbin/slurmrestd -vvv unix:/var/run/slurmrestd/slurmrestd.socket
Environment=SLURMRESTD_SECURITY=disable_user_check
RuntimeDirectory=slurmrestd
RuntimeDirectoryMode=0755
User=slurm
Group=slurm
/etc/default/slurmrestd
SLURMRESTD_OPTIONS="-u slurmrestd -g slurmrestd"
#SLURMRESTD_LISTEN="unix:/var/lib/slurm/slurmrestd.socket"
#SLURMRESTD_OPTIONS=""
[Service]
User=slurmrestd
Group=slurmrestd
Thank you in advance!
Beta Was this translation helpful? Give feedback.
All reactions