Matt,
START=debug($S(START)) prints the following in the startlog
02/01 12:25:53 Classad debug: KeyboardIdle --> ERROR
02/01 12:25:53 Classad debug: KeyboardIdle --> 1
02/01 12:25:53 Classad debug: debug((((KeyboardIdle> 15 * 60)&& (((LoadAvg - CondorLoadAvg)<= 0.300000) || (State != "Unclaimed"&& State != "Owner"))))&& ((User =?= "userX@xxxxxxxxxxxxxx") == FALSE)&& (User != "userX@xxxxxxxxxxxxxx")) --> 0
is "0" means the condition fails or something?
I have the following in the config file
IsBannedUser = User =?= "userX@xxxxxxxxxxxxxx"
START = ($(START))&& ( ($(IsBannedUser)) == FALSE )&& (User != "userX@xxxxxxxxxxxxxx")
Thanks,
Senthil
________________________________________
From: Matthew Farrellee [matt@xxxxxxxxxx]
Sent: Wednesday, January 26, 2011 4:59 PM
To: Condor-Users Mail List
Cc: Natarajan, Senthil
Subject: Re: [Condor-users] How to ban user
Make sure you're creating valid Classad expressions. For instance, you
need to quote the user: User != "userX@xxxxxxxxxxxxxx". Maybe try
START=debug($(START)) at the end of your config.
Best,
matt
On 01/26/2011 09:59 AM, Natarajan, Senthil wrote:
Dan,
Do you think of anything else might cause this issue, any debugging tips.
Thanks,
Senthil
*From:*condor-users-bounces@xxxxxxxxxxx
[mailto:condor-users-bounces@xxxxxxxxxxx] *On Behalf Of *Dan Bradley
*Sent:* Tuesday, January 25, 2011 3:14 PM
*To:* Condor-Users Mail List
*Subject:* Re: [Condor-users] How to ban user
Senthil,
Does the User attribute in the job match the string you are comparing it
to in IsBannedUser?
The name after the '@' sign is not necessarily the submit machine name.
It is the UID domain being used by the submit machine.
--Dan
On 1/25/11 1:47 PM, Natarajan, Senthil wrote:
Hi,
I am trying to ban one particular user (userX@xxxxxxxxxxxxxx
<mailto:userX@xxxxxxxxxxxxxx>) running jobs on one execute machine
(machineX)
By following the instruction "*How to ban a user from executing jobs on
specific machines*
" in https://condor-wiki.cs.wisc.edu/index.cgi/wiki?p=HowToBanUser
I have following in condor_config.local on machineX (restarted
condor_master)
IsBannedUser = User =?= "userX@xxxxxxxxxxxxxx"<mailto:userX@xxxxxxxxxxxxxx>
#START = ($(START))&& ( ($(IsBannedUser)) == FALSE )
Since the above is not working now I have
START = ($(START))&& ( ($(IsBannedUser)) == FALSE )&& (User !=
userX@xxxxxxxxxxxxxx<mailto:userX@xxxxxxxxxxxxxx>)
But still the jobs from userX@xxxxxxxxxxxxxx
<mailto:userX@xxxxxxxxxxxxxx> is running on the machine (machineX).
I have following condor version.
$CondorVersion: 7.4.2 Mar 29 2010 BuildID: 227044 $
$CondorPlatform: X86_64-LINUX_RHEL5 $
Could you please let me know how to ban a user (userX@xxxxxxxxxxxxxx
<mailto:userX@xxxxxxxxxxxxxx>) from executing jobs on specific machine
(machineX)
Thanks,
Senthil
_______________________________________________
Condor-users mailing list
To unsubscribe, send a message tocondor-users-request@xxxxxxxxxxx<mailto:condor-users-request@xxxxxxxxxxx> with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users
The archives can be found at:
https://lists.cs.wisc.edu/archive/condor-users/
_______________________________________________
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users
The archives can be found at:
https://lists.cs.wisc.edu/archive/condor-users/