[akmala@kud6 ~]$ scontrol update jobid=3280512 partition=teamredang User's group not permitted to use this partition for job 3280512 [root@kque0001 ~]# id akmala uid=1509(akmala) gid=2110(teambond) groups=2110(teambond),2109(teamredang) [2015-10-06T12:09:02.207] _slurm_rpc_update_job JobId=3280512 uid=1509: User's group not permitted to use this partition Did Slurm store uid/gid cache? Sometimes when users is added to a group, he still unable to use a partition until slurmctld is restarted We dont have CacheGroups=1 in our config
Yes it does, it keeps an array of uids to avoid calling getpwuid() functions. I will check how this interacts with CacheGroups and get back to you. David
Akmal, I have added you in CC to this bugzilla report, you may have not got my previous answer. David
Thanks David
Akmal the CacheGroups parameter applies to slurmd only. If you change the user membership of a group you need to restart the controller indeed. It would be possible to check the group membership on the fly but that could affest the performance of the controller as the name resolution routines can be slow especially if they have to call NIC, LDAP and so on. David