Hello, Is it possible to limit the roles of Slurm admin or operators to certain accounts, or accounts that they belong to? We have a situation where it would be desirable for a PI to manage the jobs within their group but not jobs outside their group. For example, the ability to hold/release/cancel jobs in their own group but not other groups. Is this currently possible, and if so, how is this done? Thanks, Rob
Hi Robert, This is known as a coordinator. Coordinator A special privileged user, usually an account manager or such, that can add users or sub-accounts to the account they are coordinator over. This should be a trusted person since they can change limits on account and user associations inside their realm. Set using a table in Slurm's database defining user's and accounts for which they can serve as coordinators. For configuration information, see the sacctmgr man page. For example: sacctmgr modify account set coordinator=jason where account=staff sacctmgr list account staff withcoord Account Descr Org Coord Accounts ---------- -------------------- -------------------- -------------------- staff staff staff jason -Jason
Hi Robert, I should have set this issue to 'info given' with my last response. I am doing so now. Please feel free to reopen if needed. -Jason
Thanks Jason! I’ll give the coordinator role a try. Rob On Sep 21, 2018, at 1:49 PM, bugs@schedmd.com<mailto:bugs@schedmd.com> wrote: Jason Booth<mailto:jbooth@schedmd.com> changed bug 5766<https://bugs.schedmd.com/show_bug.cgi?id=5766> What Removed Added Status UNCONFIRMED RESOLVED Resolution --- INFOGIVEN Comment # 3<https://bugs.schedmd.com/show_bug.cgi?id=5766#c3> on bug 5766<https://bugs.schedmd.com/show_bug.cgi?id=5766> from Jason Booth<mailto:jbooth@schedmd.com> Hi Robert, I should have set this issue to 'info given' with my last response. I am doing so now. Please feel free to reopen if needed. -Jason ________________________________ You are receiving this mail because: * You reported the bug.
Hello, I need to reopen this ticket. I am trying to add a coordinator for an account as follows: sacctmgr modify account set coordinator=ryelle where account=hpcrcf But I get the following output: Unknown option: coordinator=ryelle Use keyword ‘where’ to modify condition It seems that the syntax is wrong and I have tried other combinations without success. What is the correct way for doing this? I am using Slurm 17.11.10. Thanks, Rob On Sep 21, 2018, at 2:00 PM, Rob Yelle <ryelle@uoregon.edu<mailto:ryelle@uoregon.edu>> wrote: Thanks Jason! I’ll give the coordinator role a try. Rob On Sep 21, 2018, at 1:49 PM, bugs@schedmd.com<mailto:bugs@schedmd.com> wrote: Jason Booth<mailto:jbooth@schedmd.com> changed bug 5766<https://bugs.schedmd.com/show_bug.cgi?id=5766> What Removed Added Status UNCONFIRMED RESOLVED Resolution --- INFOGIVEN Comment # 3<https://bugs.schedmd.com/show_bug.cgi?id=5766#c3> on bug 5766<https://bugs.schedmd.com/show_bug.cgi?id=5766> from Jason Booth<mailto:jbooth@schedmd.com> Hi Robert, I should have set this issue to 'info given' with my last response. I am doing so now. Please feel free to reopen if needed. -Jason ________________________________ You are receiving this mail because: * You reported the bug.
Hi Rob, I apologize for the miscommunication. Please try the following: sacctmgr add coordinator user=ryelle account=hpcrcf -Jason
Hi Jason, Thanks, that did the trick. Rob On Oct 31, 2018, at 1:38 PM, bugs@schedmd.com<mailto:bugs@schedmd.com> wrote: Comment # 6<https://bugs.schedmd.com/show_bug.cgi?id=5766#c6> on bug 5766<https://bugs.schedmd.com/show_bug.cgi?id=5766> from Jason Booth<mailto:jbooth@schedmd.com> Hi Rob, I apologize for the miscommunication. Please try the following: sacctmgr add coordinator user=ryelle account=hpcrcf -Jason ________________________________ You are receiving this mail because: * You reported the bug.
Resolving this issue.