Hi Tina,
Good call - I prefer that the the scripting option. Would prefer native support (FEATURE REQUEST!) but sudo is definitely better than my idea! Would probably make it so the user sudos to a service account with Operator permission rather than root as that'll be more tolerable from a privilege escalation point of view. Thanks :-) Lawrence! ________________________________ From: slurm-users <slurm-users-boun...@lists.schedmd.com> on behalf of Tina Friedrich <tina.friedr...@it.ox.ac.uk> Sent: 16 May 2019 14:08 To: slurm-users@lists.schedmd.com Subject: Re: [slurm-users] User submitted advance reservations? (SGE qrsub equivalent) Hi Lawrence, no, as far as I can tell, SLURM doesn't have any way to allow users to submit/create advance reservations. Could you get around it with sudo? It would be easy to allow a group of user to run 'sudo scontrol create ....' (or a suitable wrapper script, to make the syntax easy). It'd get you around the 'too many permissions' issue. (The scripting one sounds very complicated, but workable :) ). Tina On 16/05/2019 13:51, WRIGHT Lawrence wrote: > Wondering if there's a way in SLURM for (appropriately permissioned) end > users to submit Advance Reservations, in a similar manner to the "qrsub" > command in Grid Engine? As far as I've been able to glean from the docs, > the only way to do this would be to make the users in question Operators > and get them to create the reservation via scontrol. Granting Operator > permission to end users isn't something we can do unfortunately, so I'm > looking for another route. > > > Worst comes to the worst we could sort something out with authorised > users creating a file containing a reservation spec which then gets > picked up by a monitor script running as a service account with Operator > permission, but that's a somewhat dirty solution. Something native would > be nice :-) > > > Any help appreciated! > > > Lawrence. > > Sopra Steria is the trading name of the following companies (all > registered in England & Wales): (i) Sopra Steria Limited (No. 04077975) > (ii) Sopra Group Ltd (No. 01643041) (iii) Sopra Group Holding Ltd (No. > 01588948) Sopra Steria is the trading name of the following companies (all registered in England & Wales): (i) Sopra Steria Limited (No. 04077975) (ii) Sopra Group Ltd (No. 01643041) (iii) Sopra Group Holding Ltd (No. 01588948)