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

Re: [HTCondor-users] remote set of config value



It looks like you are currently changing the config of the master daemon.  It doesn't automatically propagate to the other daemons.

Try adding the "-startd" flag to your command line and give it another go.


(Same advice if you are testing the value... normally "condor_config_val StartJobs" will talk to the master, not the startd.)


Cheers,
-zach


> -----Original Message-----
> From: HTCondor-users [mailto:htcondor-users-bounces@xxxxxxxxxxx] On Behalf
> Of Beyer, Christoph
> Sent: Friday, December 04, 2015 8:40 AM
> To: htcondor-users
> Subject: [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         */
> _______________________________________________
> 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/