[slurm-users] AllowGroups for Partition not working?

656 views
Skip to first unread message

Matthias Leopold

unread,
Jul 4, 2023, 6:54:21 AM7/4/23
to Slurm User Community List
Hi,

I'm trying to use AllowGroups for partition configuration in my Slurm
21.08 cluster. Unexpectedly this doesn't seem to work. My user can't
submit jobs although he is member of group mentioned in AllowGroups:

srun: error: Unable to allocate resources: User's group not permitted to
use this partition

Slurmctld has been reconfigured with "scontrol reconfigure", user has
freshly authenticated, "id" for user shows allowed group. My nodes use
Samba winbind for NSS info.

What's wrong?

thx
Matthias


Marko Markoc

unread,
Jul 5, 2023, 12:00:22 PM7/5/23
to Slurm User Community List
Hi Matthias, 

Before you start digging deeper into this, I would recommend restarting the `slurmctld` service. I've had similar issues where `scontrol reconfigure` wasn't enough for certain configuration changes.

Regards,
Marko

Matthias Leopold

unread,
Jul 5, 2023, 12:18:03 PM7/5/23
to slurm...@lists.schedmd.com
Thanks, but unfortunately that didn't help.

Regards,
Matthias

Am 05.07.23 um 17:59 schrieb Marko Markoc:
> Hi Matthias,
>
> Before you start digging deeper into this, I would recommend restarting
> the `slurmctld` service. I've had similar issues where `scontrol
> reconfigure` wasn't enough for certain configuration changes.
>
> Regards,
> Marko
>
> On Tue, Jul 4, 2023 at 3:57 AM Matthias Leopold
> <matthias...@meduniwien.ac.at

Xand Meaden

unread,
Jul 5, 2023, 12:38:08 PM7/5/23
to slurm...@lists.schedmd.com
You should check whether the relevant group's members can be seen using
command `getent group <group name>`. If not, you probably need to
add/change the "winbind expand groups" option in smb.conf.

Xand
--
Xand Meaden | Senior Research Infrastructure Engineer
e-Research | King's College London


Matthias Leopold

unread,
Jul 6, 2023, 9:25:09 AM7/6/23
to Slurm User Community List, Xand Meaden
Thanks a lot. That did the trick.

Matthias

Am 05.07.23 um 18:37 schrieb Xand Meaden:
Matthias Leopold
IT Systems & Communications
Medizinische Universität Wien
Spitalgasse 23 / BT 88 / Ebene 00
A-1090 Wien
Tel: +43 1 40160-21241
Fax: +43 1 40160-921200

Reply all
Reply to author
Forward
0 new messages