slurmctld needs to start after slurmdbd

Bug #2052431 reported by Raymond Wan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
slurm-wlm (Ubuntu)
New
Undecided
Unassigned

Bug Description

The slurmctld daemon fails to start upon booting if the slurmdbd package is also installed. It seems that the order that services should come up are:

1. mysql
2. slurmdbd
3. slurmctld
4. slurmd

If slurmdbd does not start up before slurmctld, then slurmctld will fail with an error such as:

Feb 03 17:10:27 mycomputer slurmctld[1682]: slurmctld: error: mysql_real_connect failed: 2002 Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Feb 03 17:10:27 mycomputer slurmctld[1682]: slurmctld: fatal: You haven't inited this storage yet.
Feb 03 17:10:27 mycomputer systemd[1]: slurmctld.service: Main process exited, code=exited, status=1/FAILURE
Feb 03 17:10:27 mycomputer systemd[1]: slurmctld.service: Failed with result 'exit-code'.

A fix was suggested in AskUbuntu, which you can see here: https://askubuntu.com/questions/1502374/problem-with-start-up-of-the-slurm-controller-daemon/1502381

Note that this bug report is probably a duplicate of https://bugs.launchpad.net/ubuntu/+source/slurm-llnl/+bug/1512715, which was filed 9 years ago.

ProblemType: Bug
DistroRelease: Ubuntu 23.10
Package: slurmctld 23.02.3-2ubuntu1 [modified: lib/systemd/system/slurmctld.service]
ProcVersionSignature: Ubuntu 6.5.0-15.15-generic 6.5.3
Uname: Linux 6.5.0-15-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.27.0-0ubuntu5
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Mon Feb 5 11:51:10 2024
InstallationDate: Installed on 2022-12-05 (427 days ago)
InstallationMedia: Ubuntu 22.10 "Kinetic Kudu" - Release amd64 (20221020)
SourcePackage: slurm-wlm
UpgradeStatus: Upgraded to mantic on 2023-11-05 (92 days ago)

Revision history for this message
Raymond Wan (rwan) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.