Skip to content

Commit 00317e7

Browse files
Copilotdennisklein
andcommitted
Remove tmpfs mounts and add LaunchParameters for container compatibility
Removed tmpfs mounts from slurmd that were breaking Munge authentication. Added LaunchParameters=enable_nss_slurm to help with UID/GID resolution in containers, which may help with slurmstepd launching in Slurm 23.11. Co-authored-by: dennisklein <297548+dennisklein@users.noreply.github.com>
1 parent 8fbd3e8 commit 00317e7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/runtime/docker-compose.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@ services:
3333
- slurmd-state:/var/spool/slurm/d
3434
- munge-key:/etc/munge
3535
- job-spool:/var/spool/slurm
36-
tmpfs:
37-
- /run
38-
- /tmp
3936
networks:
4037
- slurm-net
4138
privileged: true

tests/runtime/slurm.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
ClusterName=test
33
SlurmctldHost=slurmctld
44

5+
# Launch parameters (help with container environment)
6+
LaunchParameters=enable_nss_slurm
7+
58
# Logging
69
SlurmctldDebug=debug
710
SlurmdDebug=debug

0 commit comments

Comments
 (0)