[slurm-users] SLURM Operator Role (to cancel SLURM Jobs)
Buckley, Ronan
Ronan.Buckley at Dell.com
Wed Apr 18 02:05:33 MDT 2018
According to the online documentation:
"When using the Slurm db, users who have AdminLevel's defined (Operator or Admin) and users who are account coordinators are given the authority to invoke scancel on other user's jobs. A Slurm account coordinator is a user who can modify settings for users in that Slurm account. The coordinator can also hold and cancel jobs submitted by other users in the account."
I get permission denied (from a user in my 'jobadmin' account), when trying to kill a job that is run from another user in my 'jobadmin' account:
#:~> scancel -n test
scancel: error: Kill job error on job id 25063: Access/permission denied
#:~>
# sacctmgr list user
User Def Acct Admin
---------- ---------- ---------
ethor Operator
mpern Operator
root Administ+
svcappuser Operator
svcsplitu+ Operator
#
# sacctmgr list users withcoord
User Def Acct Admin Coord Accounts
---------- ---------- --------- --------------------
ethor Operator jobadmin
mpern Operator jobadmin
root Administ+
svcappuser Operator jobadmin
svcsplitu+ Operator jobadmin
#
# sacctmgr list account
Account Descr Org
---------- -------------------- --------------------
jobadmin jobadmin root
root default root account root
#
# sacctmgr list account WithCoordinator
Account Descr Org Coord Accounts
---------- -------------------- -------------------- --------------------
jobadmin jobadmin root ethor,mpern,svcappu+
root default root account root
#
Must I configure something else to allow the above 4 operator users to kill jobs?
From: Buckley, Ronan
Sent: Tuesday, April 17, 2018 4:21 PM
To: 'slurm-users at lists.schedmd.com'
Subject: SLURM Operator Role (to cancel SLURM Jobs)
Hi,
I have given 4 users the operator role and they are all part of the coordinator accounts. However, when I su to the users in question, they get a permission denied error when trying to cancel a job.
What am I missing?
Ronan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20180418/60a5022c/attachment.html>
More information about the slurm-users
mailing list