You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The slurmdbd service is configured to place its PID file in /var/run/slurmdbd.pid, however, the service fails to create the PID file with permission denied as the slurm user cannot write to the /var/run directory. The PidFile location should be changed to /var/run/slurmdbd/slurmdbd.pid as /var/run/slurmdbd is owned by the slurm user.
Juju v3.5.3 on local LXD cloud running on Ubuntu 24.04. Using the latest development version of the slurmdbd charm.
Relevant log output
Dec 06 21:28:14 juju-9ba62c-2 systemd[1]: Started slurmdbd.service - Slurm DBD accounting daemon.
░░ Subject: A start job for unit slurmdbd.service has finished successfully
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A start job for unit slurmdbd.service has finished successfully.
░░
░░ The job identifier is 2812.
Dec 06 21:28:14 juju-9ba62c-2 (slurmdbd)[5821]: slurmdbd.service: Referenced but unset environment variable evaluates to an empty string: SLURMDBD_OPTIONS
Dec 06 21:28:14 juju-9ba62c-2 slurmdbd[5821]: slurmdbd: error: Unable to open pidfile `/var/run/slurmdbd.pid': Permission denied
Additional context
/var/run/slurmdbd is created as part of installing the slurmdbd Debian package from the Ubuntu Archive.
The text was updated successfully, but these errors were encountered:
Bug Description
The
slurmdbd
service is configured to place its PID file in /var/run/slurmdbd.pid, however, the service fails to create the PID file with permission denied as theslurm
user cannot write to the /var/run directory. ThePidFile
location should be changed to/var/run/slurmdbd/slurmdbd.pid
as /var/run/slurmdbd is owned by theslurm
user.slurm-charms/charms/slurmdbd/src/constants.py
Line 13 in 274fc85
To Reproduce
tox run -e integration -- --keep-models
juju switch <model-name>
juju ssh slurmdbd/leader
systemctl status slurmdbd
Environment
Juju v3.5.3 on local LXD cloud running on Ubuntu 24.04. Using the latest development version of the slurmdbd charm.
Relevant log output
Additional context
/var/run/slurmdbd is created as part of installing the
slurmdbd
Debian package from the Ubuntu Archive.The text was updated successfully, but these errors were encountered: