galaxyproject / ansible-slurm

Ansible role for installing and managing the Slurm Workload Manager
86 stars 47 forks source link

Slurm location changed in debian bullseye #20

Closed aknijn closed 1 year ago

aknijn commented 3 years ago

The location of slurm in debian bullseye is no longer /etc/slurm-llnl but /etc/slurm

link89 commented 2 years ago

A temporary fix is to repalce all slurm-llnl to slurm in defaults/main.yml.

natefoo commented 2 years ago

You can also fix this in your slurmd_config like so:

slurm_config:
  SlurmctldLogFile: /var/log/slurm/slurmctld.log
  SlurmctldPidFile: /run/slurmctld.pid
  StateSaveLocation: /var/lib/slurm/slurmctld
  SlurmdLogFile: /var/log/slurm/slurmd.log
  SlurmdPidFile: /run/slurmd.pid
  SlurmdSpoolDir: /var/lib/slurm/slurmd

We need to figure out what version of Ubuntu this changed in as well and then update the role to set the defaults accordingly.