All,

Maybe someone has seen this.
I have slurmrestd running listening on port 8081 as well as a unix socket at /run/slurmrestd/slurmrestd.sock

I am able to query the port with curl and do a ping. Everything seems fine. Other commands work as well.

  "pings": [
    {
      "hostname": "head01",
      "pinged": "UP",
      "responding": true,
      "latency": 1605,
      "mode": "primary",
      "primary": true
    },
    {
      "hostname": "head02",
      "pinged": "UP",
      "responding": true,
      "latency": 2353,
      "mode": "backup",
      "primary": false
    }

When I try doing so via socket, however, my two head nodes show 'DOWN' :
  "pings": [
    {
      "hostname": "head01",
      "pinged": "DOWN",
      "latency": 11784,
      "mode": "primary"
    },
    {
      "hostname": "head02",
      "pinged": "DOWN",
      "latency": 12668,
      "mode": "backup"
    }
Other commands fail with:
      "error_number": 1007,
      "error": "Protocol authentication error",

I'll admit, I don't usually use sockets, so I could easily be overlooking something there. Permissions on the socket look right. I am getting json back, so it is connecting. Note: slurmrestd is running under it's own user (not root and not slurmuser).

Any ideas?

Thanks in advance,

Brian Andrus


--
slurm-users mailing list -- slurm-users@lists.schedmd.com
To unsubscribe send an email to slurm-users-le...@lists.schedmd.com

Reply via email to