[lustre-discuss] nodemap + Slurm: directories have to be world-readable

Thomas Roth dibbegucker at googlemail.com
Thu Jan 9 14:58:40 PST 2025


Ja ja,
I have an Admin nodemap comprising all Lustre servers and a handful of administrative clients, and this nodemap has both admin and trusted set to 1.

No, by now I rather think that because the Slurm demon, slurmstepd, is running as root, it comes in as user 99 on the batch nodes, and when the job 
wants to write output to, say, /lustre/A/B/C/, and A,B,C are not world-readable (actually octal '5'), slurmstepd can't step into the output directory 
and the job will fail.


Regards,
Thomas

On 1/9/25 1:10 PM, Sebastien Buisson wrote:
> Hi,
> 
> As explained in the Lustre Operations Manual in this section:
> https://doc.lustre.org/lustre_manual.xhtml#idm139831573757696
> it is required to define a nodemap that matches all server nodes, with admin and trusted to 1.
> Have you?
> 
> Cheers,
> Sebastien.
> 
> Le 9 janv. 2025 à 13:03, Thomas Roth <dibbegucker at googlemail.com> a écrit :
> 
> [Vous ne recevez pas souvent de courriers de dibbegucker at googlemail.com. D?couvrez pourquoi ceci est important ? https://aka.ms/LearnAboutSenderIdentification ]
> 
> Hi all,
> 
> we have just switched on nodemap on our 2.12 cluster, with all batch clients being trusted=1 but admin=0, so bascially root-squashing.
> 
> The batch system is done by Slurm.
> 
> Now all jobs are failing, when the user's directory on Lustre is not world-readable ("permission denied").
> 
> RW - Access in the shell is not a problem.
> 
> 
> 
> Any site running Slurm and having encountered a similar issue?
> 
> 
> Regards,
> Thomas
> 
> 
> Perhaps I should add that I have used the default nodemap for this, to avoid having to specify many hundreds of non-contiguous batch node IP ranges.
> _______________________________________________
> lustre-discuss mailing list
> lustre-discuss at lists.lustre.org
> http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
> 



More information about the lustre-discuss mailing list