Skip to content

Remove key 'SlurmctldPidFile' from __slurmdbd_config_default#49

Open
cat-bro wants to merge 1 commit intogalaxyproject:mainfrom
cat-bro:cat-bro-patch-1
Open

Remove key 'SlurmctldPidFile' from __slurmdbd_config_default#49
cat-bro wants to merge 1 commit intogalaxyproject:mainfrom
cat-bro:cat-bro-patch-1

Conversation

@cat-bro
Copy link
Contributor

@cat-bro cat-bro commented Aug 3, 2023

The existence of this key in slurmdbd.conf causes slurmdbd to fail to start on slurm version 19.05.5 (Ubuntu 20.04) and 21.08.5 (Ubuntu 22.04).

Aug 03 02:30:50 staging-pulsar systemd[1]: Starting Slurm DBD accounting daemon...
Aug 03 02:30:50 staging-pulsar slurmdbd[374770]: error: _parse_next_key: Parsing error at unrecognized key: SlurmctldPidFile
Aug 03 02:30:50 staging-pulsar slurmdbd[374770]: error: Parse error in file /etc/slurm-llnl/slurmdbd.conf line 11: "SlurmctldPidFile=/run/slurmdbd.pid"
Aug 03 02:30:50 staging-pulsar systemd[1]: slurmdbd.service: Control process exited, code=exited, status=1/FAILURE
Aug 03 02:30:50 staging-pulsar slurmdbd[374770]: fatal: Could not open/read/parse slurmdbd.conf file /etc/slurm-llnl/slurmdbd.conf

Maybe this needs to be kept conditional on os version. Unfortunately I can't find anything online about the deprecation of this key.

@Oberfeldwedler
Copy link

related to issue... #48

Copy link

@btravouillon btravouillon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants