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

[HTCondor-users] remote set of config value



Hi,

I try to get the usual 'StartJobs' mechanism to work but it seems I might be to dumb :( 

I use: 



[root@condor01 ~]# condor_config_val -verbose -name batch0930 -set "StartJobs = False" ; condor_reconfig -verbose -name batch0930
Successfully set configuration "StartJobs = False" on master batch0930.desy.de <131.169.163.30:9620?addrs=131.169.163.30-9620&noUDP&sock=3505960_d6dd>. The change will take effect on the next condor_reconfig.
$CondorVersion: 8.4.2 Nov 16 2015 BuildID: 349384 $
$CondorPlatform: x86_64_RedHat7 $

The config on batch0930 is as follows: 
StartJobs = True
START = (NODE_IS_HEALTHY =?= True) && (StartJobs =?= True)
ALLOW_CONFIG = $(CONDOR_HOST)
ENABLE_RUNTIME_CONFIG = True
RUNTIME_CONFIG_ADMIN = $(CONDOR_HOST)
SETTABLE_ATTRS_ADMINISTRATOR = StartJobs
ENABLE_PERSISTENT_CONFIG = True
PERSISTENT_CONFIG_DIR = /etc/condor/persistent


Log file entry on batch0930 looks promising: 

12/04/15 14:24:24 (fd:13) (pid:3505960) (D_SECURITY) IPVERIFY: matched user unauthenticated@unmapped from 131.169.56.33 to allow list
12/04/15 14:24:24 (fd:13) (pid:3505960) (D_ALWAYS) PERMISSION GRANTED to unauthenticated@unmapped from host 131.169.56.33 for remote config StartJobs, access level ADMI
NISTRATOR: reason: ADMINISTRATOR authorization policy allows IP address 131.169.56.33; identifiers used for this remote host: 131.169.56.33,condor01.desy.de

[root@batch0930 /var/log/condor]# cat /etc/condor/persistent/.config.MASTER.startjobs 
StartJobs = False

But it does not seem to work anyway: 

[root@batch0930 /etc/condor/config.d]# condor_config_val StartJobs
True

Am I missing something obvious ?

cheers
        ~christoph


-- 
/*   Christoph Beyer     |   Office: Building 2b / 23     *\
 *   DESY                |    Phone: 040-8998-2317        *
 *   - IT -              |      Fax: 040-8994-2317        *
\*   22603 Hamburg       |     http://www.desy.de         */