[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] Administration setting question



Hi,
certainly. START is just a boolean expression that is evaluated in the JOBs 
class ads as well.
So we e.g. reserve certain nodes to certain groups with:
START = WantDocker == true && AcctGroup =?= "groupname".

Similarly, you should be able to do:
START = WantDocker == true || (Owner =?= "username" && JobUniverse == 5)

Other ClassAds (besides Owner) that might suit you as well are "AcctGroupUser" 
or "User".
Note, JobUniverse == 5 is true for Docker and plain Vanilla universe jobs 
(Docker universe jobs execute as vanilla universe jobs, but in docker..)

Best,
Joachim

Am Mittwoch, 15. Februar 2023, 11:43:01 CET schrieb MARLETTA Luca via 
HTCondor-users:
> Thanks a lot.
> 
> 
> This is precisely what I was expecting.
> 
> 
> Do you know if it is also possible to enable just 1 user to "universe =
> vanilla"?
> 
> 
> Luca
> 
> 
> --
> Luca MARLETTA
> External Consultant
> 
> European Commission
> Joint Research Centre
> Directorate I. Competences
> Unit I.3 â Text & Data Mining
> Building 44 00/004
> Via Fermi 2749
> I-21027 Ispra(VA)/Italy
> The author of this message is employed by a contractor providing
> services to the European Commission and is not a member of the
> Commissionâs staff.
> 
> <https://remi.webmail.ec.europa.eu/owa/redir.aspx?C=fgv8ypwkURYwQWjzlxO_Ibjx
> V7YXpGqKzkqFDgxOsF-1XX44DmLUCA..&URL=https%3a%2f%2fec.europa.eu%2fjrc>
> ________________________________
> From: HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx> on behalf of
> Joachim Meyer <jmeyer@xxxxxxxxxxxxxxxxxx> Sent: 15 February 2023 09:59:59
> To: HTCondor-Users Mail List
> Subject: Re: [HTCondor-users] Administration setting question
> 
> Hey,
> not sure if there's a more central way to do this, but we just added the
> following to the execution node's config:
> 
> START = WantDocker == true
> 
> That basically restricts the node to only run jobs that use docker.
> A little caveat: jobs from other universes will not be rejected, but instead
> never leave the IDLE state.
> 
> Best,
> Joachim
> 
> Am Mittwoch, 15. Februar 2023, 09:47:52 CET schrieb MARLETTA Luca via
> 
> HTCondor-users:
> > Dear list, I have a question on our setting for Condor:
> > 
> > For security reason, we would like to disable all universe submission
> > types
> > but the docker one.
> > 
> > How is possible to do it and let Condor just accept the docker submission?
> > 
> > 
> > Thanks,
> > 
> > 
> > Luca
> > 
> > 
> > --
> > Luca MARLETTA
> > External Consultant
> > 
> > European Commission
> > Joint Research Centre
> > Directorate I. Competences
> > Unit I.3 â Text & Data Mining
> > Building 44 00/004
> > Via Fermi 2749
> > I-21027 Ispra(VA)/Italy
> > The author of this message is employed by a contractor providing
> > services to the European Commission and is not a member of the
> > Commissionâs staff.
> > 
> > <https://remi.webmail.ec.europa.eu/owa/redir.aspx?C=fgv8ypwkURYwQWjzlxO_Ib
> > jx V7YXpGqKzkqFDgxOsF-1XX44DmLUCA..&URL=https%3a%2f%2fec.europa.eu%2fjrc>
> _______________________________________________
> HTCondor-users mailing list
> To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
> subject: Unsubscribe
> You can also unsubscribe by visiting
> https://urldefense.com/v3/__https://lists.cs.wisc.edu/mailman/listinfo/htcon
> dor-users__;!!DOxrgLBm!HfbTGO8aE0xnA0KvA-CGOhBKeJc8ZdZVcLKTCFDjeGEYuxh6-k3jX
> OkuwY_6zrNNj6yJx4HRSsV0Pp1e9qM8Fe2oYJQq_zr5wg$
> 
> The archives can be found at:
> https://urldefense.com/v3/__https://lists.cs.wisc.edu/archive/htcondor-users
> /__;!!DOxrgLBm!HfbTGO8aE0xnA0KvA-CGOhBKeJc8ZdZVcLKTCFDjeGEYuxh6-k3jXOkuwY_6z
> rNNj6yJx4HRSsV0Pp1e9qM8Fe2oYJSVs3ljLw$