[slurm-users] How to use partition option "Hidden"?
Ryan Novosielski
novosirj at rutgers.edu
Thu Aug 24 15:18:12 UTC 2023
Our experience was that it only works with AllowGroups, and we probably opened a ticket to confirm since it was a choice we didn’t really want to make. That's the route we went, but it's currently causing us some problems with accounting, because we didn't bother doing some of the accounting stuff since we were using groups to control access.
I would really like for Slurm to be able hide partitions using either parameter, or at least offer the option. We are probably going to go back and do accounts for reporting purposes, but it would be nice not to have to duplicate these things.
--
#BlackLivesMatter
____
|| \\UTGERS, |---------------------------*O*---------------------------
||_// the State | Ryan Novosielski - novosirj at rutgers.edu
|| \\ University | Sr. Technologist - 973/972.0922 (2x0922) ~*~ RBHS Campus
|| \\ of NJ | Office of Advanced Research Computing - MSB A555B, Newark
`'
On Aug 24, 2023, at 11:10, Erin Gwen Roberts <erin at csail.mit.edu> wrote:
Hello,
I would like to set a partition to Hidden, and allow members of the appropriate Account to see this partition when running `sinfo` with no parameters.
This partition is configured with AllowAccounts=<account> and AllowGroups=<group>. <user> is a member of the Slurm account <account>, verified with `sacctmgr show assoc where user=<user>`.
I am running Slurm 23.02.4, and I am testing the behavior with `sudo -u <user> sinfo`. I presume this test is accurate because as an admin user, `sinfo` shows all partitions, but when I impersonate the user like this, `sinfo` shows only the partitions that have Hidden=NO.
I would prefer to do this with only AllowAccounts, but if this only works with AllowGroups, that's not a big deal.
We intend to add partitions corresponding to many small research groups, and it would be lovely to have `sinfo` output be clean and clear, rather than showing all partitions. What could I be doing wrong, that Hidden= doesn't seem to be taking into account AllowAccounts= or AllowGroups=?
Thanks for your help,
Erin Roberts
System Administrator
The Infrastructure Group
MIT CSAIL
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20230824/2b1b5801/attachment-0001.htm>
More information about the slurm-users
mailing list