Hi All,

AllowAccounts broke for me when I moved from version 22 to 23. I've opened this bug report https://support.schedmd.com/show_bug.cgi?id=19315 . It's been a while since I tackled it but more info is 
available in the bug report. I think the change is related to the following commit https://github.com/SchedMD/slurm/commit/776edd83952082e3ec46b3726858755c96af8a60 .

Thanks,
Marko

On Wed, Oct 30, 2024 at 5:52 AM Laura Hild via slurm-users <slurm-users@lists.schedmd.com> wrote:
If you run

  sshare

or

  sacctmgr show association where parent=root

(and so forth recursively where parent= each of the children) do you find that these other accounts that can submit to the partition are not ultimately sub-accounts of "root"?

Quoting man 5 slurm.conf, concerning AllowAccounts, "This list is also hierarchical, meaning subaccounts are included automatically."


________________________________________
Od: shaobo liu <dspam.liu@gmail.com>
Poslano: torek, 29. oktober 2024 20:49
Za: Laura Hild
Kp: slurm-users
Zadeva: Re: [slurm-users] Re: Why AllowAccounts not work in slurm-23.11.6

My slurm is 23.02.6,used EnforcePartLimits=ALL,Accounts outside of AllowAccounts can still submit。

Laura Hild <lsh@jlab.org<mailto:lsh@jlab.org>> 于2024年10月19日周六 21:59写道:
What do you have for `sacctmgr list account`?  If "root" is your top-level (Slurm) (bank) account, AllowAccounts=root may just end up meaning any account.  To have AllowAccounts limit what users can submit, you'd need to name a lower-level Slurm (bank) account that only some users have an Association with.


--
slurm-users mailing list -- slurm-users@lists.schedmd.com
To unsubscribe send an email to slurm-users-leave@lists.schedmd.com