Slurm user administration in pyslurm?

39 views
Skip to first unread message

Christopher Coser US

unread,
Jul 16, 2019, 12:49:18 PM7/16/19
to pyslurm
I was just wondering if there is currently a way to do user administration with pyslurm? That is, add or remove users from Slurm. If so, how is this accomplished? If not, is this planned?

Giovanni

unread,
Jul 17, 2019, 7:51:17 AM7/17/19
to pyslurm
On Tuesday, July 16, 2019 at 12:49:18 PM UTC-4, Christopher Coser US wrote:
I was just wondering if there is currently a way to do user administration with pyslurm? That is, add or remove users from Slurm. If so, how is this accomplished? If not, is this planned?

Currently, no.  The Slurm API does offer user functions that would need to get wrapped in PySlurm.  This would be a great contribution!

Christopher Coser US

unread,
Jul 23, 2019, 12:34:06 PM7/23/19
to pyslurm
Giovanni, is this something you're planning to do or would I need to contribute this in order to get it done? I haven't yet contributed to pyslurm, but it's in my best interest to have certain features. Thus, there's a chance I could contribute if my management will approve upstreaming changes.

Giovanni

unread,
Jul 23, 2019, 1:22:50 PM7/23/19
to pyslurm
I would love contributions, especially for the DB API functions, since there isn't a ton of coverage there.  Actually, I've stepped away from HPC for a couple years now and I haven't been adding new features unless someone in the community asks for it.  I have just been maintaining the code for newer versions of Slurm.  I had been working on rewriting the API to be more Pythonic, using classes and properties, but I haven't been able to get that over the hump.  I would still like to get that into the master branch someday.  Let me know if you are unable to contribute, then I'll look at adding it in when time permits.

Giovanni
Reply all
Reply to author
Forward
0 new messages