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

Re: [HTCondor-users] SUBMIT_REQUIREMENT



It seems to be working (restricting) now. I had a different line for each SUBMIT_REQUIREMENT_NAMES for each group instead of adding them all on one line.

Thanks again,
Marc

On Tue, Jul 5, 2016 at 4:42 PM, Zach Miller <zmiller@xxxxxxxxxxx> wrote:
I'm not exactly sure what you mean by "only recognizing one group", but here's an example with two groups that you should be able to expand upon:


SUBMIT_REQUIREMENT_NAMES = GROUP1, GROUP2
SUBMIT_REQUIREMENT_GROUP1 = (AcctGroup =!= "group1") || (AcctGroup =?= "group1" && (Owner == "zmiller"))
SUBMIT_REQUIREMENT_GROUP1_REASON = "User not in group1"
SUBMIT_REQUIREMENT_GROUP2 = (AcctGroup =!= "group2") || (AcctGroup =?= "group2" && (Owner == "tannenba"))
SUBMIT_REQUIREMENT_GROUP2_REASON = "User not in group2"


Cheers,
-zach


> -----Original Message-----
> From: HTCondor-users [mailto:htcondor-users-bounces@xxxxxxxxxxx] On Behalf
> Of Marc Jackson - NOAA Affiliate
> Sent: Tuesday, July 05, 2016 3:26 PM
> To: HTCondor-Users Mail List <htcondor-users@xxxxxxxxxxx>
> Subject: Re: [HTCondor-users] SUBMIT_REQUIREMENT
>
> Thanks for the tip about the condor_reconfig. I do have another question
> though. I'm attempting to add about 7 groups to the condor_config file and
> its only recognizing one group. Am I missing something?
>
>
> Marc
>
>
> On Tue, Jul 5, 2016 at 2:12 PM, Todd Tannenbaum <tannenba@xxxxxxxxxxx
> <mailto:tannenba@xxxxxxxxxxx> > wrote:
>
>
>Â Â Â ÂOn 7/5/2016 12:43 PM, Marc Jackson - NOAA Affiliate wrote:
>
>
>Â Â Â Â Â Â Â ÂHi Zach,
>
>Â Â Â Â Â Â Â ÂThat was it! I ran the command that you suggested and you
> were right.
>Â Â Â Â Â Â Â ÂThe values did not match. I recently made changes to the
> condor_config
>Â Â Â Â Â Â Â Âfile and I just needed to restart condor.
>
>
>
>Â Â Â ÂBe aware that most config file changes, including those to
> SUBMIT_REQUREMENTS_*, do not require a restart, but instead just require a
> condor_reconfig which tells the HTCondor service to re-read its config file
> on-the-fly.
>
>Â Â Â Âregards
>Â Â Â ÂTodd
>
>
>
>
>Â Â Â Â_______________________________________________
>Â Â Â ÂHTCondor-users mailing list
>Â Â Â ÂTo unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx
> <mailto:htcondor-users-request@xxxxxxxxxxx>Â with a
>Â Â Â Âsubject: Unsubscribe
>Â Â Â ÂYou can also unsubscribe by visiting
>Â Â Â Âhttps://lists.cs.wisc.edu/mailman/listinfo/htcondor-users
>
>Â Â Â ÂThe archives can be found at:
>Â Â Â Âhttps://lists.cs.wisc.edu/archive/htcondor-users/
>
>

_______________________________________________
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://lists.cs.wisc.edu/mailman/listinfo/htcondor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/htcondor-users/