Has anyone any experience of setting up users that can cancel jobs?
From: Buckley, Ronan
Sent: Wednesday, April 18, 2018 9:06 AM
To: '[email protected]'
Subject: RE: SLURM Operator Role (to cancel SLURM Jobs)
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: '[email protected]'
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