Closed A1ve5 closed 8 years ago
I suspect this is an issue only seen when reinstallating the cluster.
See https://github.com/CSC-IT-Center-for-Science/ansible-role-slurm/blob/master/tasks/service.yml#L87
When the slurm role is running on the install node, it only checks if there is a munge.key in /etc/munge/munge.key - if there is not it will generate a new one.
Because the NFS share on /home is not cleared, the {{ slurm_munge_key_nfs }} still exists and we could instead check if that file exists first and if so copy that to /etc/munge/munge.key on install node.
This also means we need to run the slurm role on the install node after NFS is mounted
Moving to Review in order to investigate if this is still an issue
It's now working by using ansible-pull. Closing it.
install munge key should be copied from install by ansible-pull