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

Re: [HTCondor-users] SUBMIT_REQUIREMENT



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/
> 
>