[slurm-users] Unauhtenticated "Configless" Slurm
Nicolas Greneche
nicolas.greneche at univ-paris13.fr
Sun Nov 21 17:10:05 UTC 2021
Hi !
I try to use configless slurm. Here is my very simple slurm.conf :
root at admin:~# cat /opt/slurm/etc/slurm.conf
ClusterName=dummy
ControlMachine=admin
SlurmUser=slurm
AuthType=auth/none
CredType=cred/none
JobContainerType=job_container/none
ProctrackType=proctrack/linuxproc
StateSaveLocation=/slurm/slurmctld
SlurmdSpoolDir=/slurm/slurmd
SlurmctldPidFile=/slurm/slurmctld.pid
SlurmdPidFile=/slurm/slurmd.pid
SlurmdLogFile=/slurm/slurmd.log
SlurmctldLogFile=/slurm/slurmctld.log
SlurmctldParameters=enable_configless
NodeName=node[1-2] Procs=4 State=UNKNOWN
PartitionName=COMPUTE Nodes=node[1-2] Default=YES MaxTime=INFINITE State=UP
As you can see, munge is disabled (it's a very specific use of slurm).
Moreover, I disabled munge at compile time :
./configure --enable-slurmrestd --enable-multiple-slurmd --without-munge
--prefix=/opt/slurm-20.11.8
When I start slurmctld like this :
root at admin:~# /opt/slurm/sbin/slurmctld -v -D -f /opt/slurm/etc/slurm.conf
Then, I go to the first compute node, node1 :
root at node1:~# /opt/slurm/sbin/slurmd --conf-server admin:6817 -D
slurmd: error: Couldn't find the specified plugin name for auth/munge
looking at all files
slurmd: error: cannot find auth plugin for auth/munge
slurmd: error: cannot create auth context for auth/munge
slurmd: error: slurm_send_node_msg: g_slurm_auth_create: REQUEST_CONFIG
has authentication error: Operation not permitted
slurmd: error: _fetch_child: failed to fetch remote configs
slurmd: error: _establish_configuration: failed to load configs
slurmd: error: slurmd initialization failed
As you can see, slurmd on node1 tries to authenticate with munge. on
slurmctld we have those outputs :
slurmctld: error: slurm_receive_msg [172.16.0.11:50340]: Zero Bytes were
transmitted or received
slurmctld: agent/is_node_resp: node:node1
RPC:REQUEST_NODE_REGISTRATION_STATUS : Communication connection failure
slurmctld: agent/is_node_resp: node:node2
RPC:REQUEST_NODE_REGISTRATION_STATUS : Communication connection failure
Do we have a way to force slurmd not using munge while dynamically
getting its configuration ?
Kind regards,
--
Nicolas Greneche
USPN
Support à la recherche / RSSI
https://www-magi.univ-paris13.fr
More information about the slurm-users
mailing list