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

Re: [HTCondor-users] WARNING: config contains obsolete STARTD_EXPRS or SLOT_TYPE_n_STARTD_EXPRS which will be (partially) ignored



The short answer is no,  older configurations will work as before, but they can contain a landmine that will bite you if you try and use a new configuration feature.

 

STARTD_EXPRS was made obsolete in favor of STARTD_ATTRS years ago, and for backward compatibility, HTCondor will read both of them and take the union of the two.   But If you use both STARTD_ATTRS and STARTD_EXPRS,  and also use the new STARTD_SLOT_TYPE_n_EXPRS or STARTD_SLOT_TYPE_n_ATTRS itâs unclear how the code should behave, so we added a warning about the use of the STARTD_EXPRS.  

 

If you just change STARTD_EXPRS to STARTD_ATTRS in your config file, then you wonât have a problem going forward,  If for some reason you cannot, things will work as you expect as long as you donât use STARTD_SLOT_TYPE_n_ATTRS/EXPRS  

 

We are considering making the warning clearer and and less scary in 8.4.1.

-tj

 

From: HTCondor-users [mailto:htcondor-users-bounces@xxxxxxxxxxx] On Behalf Of Sunshine
Sent: Tuesday, October 20, 2015 8:13 PM
To: htcondor-users <htcondor-users@xxxxxxxxxxx>
Subject: [HTCondor-users] WARNING: config contains obsolete STARTD_EXPRS or SLOT_TYPE_n_STARTD_EXPRS which will be (partially) ignored

 

Condor's version is 8.4.0.

 

Are some configurations incompatible with the Condor's latest release? 

The configuration in my configure: "STARTD_EXPRS = $(STARTD_EXPRS) DedicatedScheduler Location IsOwner".

Thereis a warning in startlog file.

WARNING: config contains obsolete STARTD_EXPRS or SLOT_TYPE_n_STARTD_EXPRS which will be (partially) ignored! use STARTD_ATTRS instead.

 

 

Condor StartLog:

 

09/16/15 03:31:16 ******************************************************

09/16/15 03:31:16 ** condor_startd (CONDOR_STARTD) STARTING UP

09/16/15 03:31:16 ** /usr/sbin/condor_startd

09/16/15 03:31:16 ** SubsystemInfo: name=STARTD type=STARTD(7) class=DAEMON(1)

09/16/15 03:31:16 ** Configuration: subsystem:STARTD local:<NONE> class:DAEMON

09/16/15 03:31:16 ** $CondorVersion: 8.4.0 Sep 11 2015 BuildID: 341253 $

09/16/15 03:31:16 ** $CondorPlatform: X86_64-RedHat_6.6 $

09/16/15 03:31:16 ** PID = 5121

09/16/15 03:31:16 ** Log last touched 9/16 03:29:11

09/16/15 03:31:16 ******************************************************

09/16/15 03:31:16 Using config source: /etc/condor/condor_config

09/16/15 03:31:16 Using local config sources: 

09/16/15 03:31:16    /etc/condor/condor_config.local

09/16/15 03:31:16 config Macros = 90, Sorted = 90, StringBytes = 2792, TablesBytes = 3288

09/16/15 03:31:16 CLASSAD_CACHING is ENABLED

09/16/15 03:31:16 Daemon Log is logging: D_ALWAYS D_ERROR

09/16/15 03:31:16 Daemoncore: Listening at <0.0.0.0:9782> on TCP (ReliSock) and UDP (SafeSock).

09/16/15 03:31:16 DaemonCore: command socket at <113.x.x.x:9782?addrs=113.x.x.x-9782>

09/16/15 03:31:16 DaemonCore: private command socket at <113.x.x.x:9782?addrs=113.x.x.x-9782>

09/16/15 03:31:16 my_popenv failed

09/16/15 03:31:16 Failed to execute /usr/sbin/condor_starter.std, ignoring

09/16/15 03:31:16 VM-gahp server reported an internal error

09/16/15 03:31:16 VM universe will be tested to check if it is available

09/16/15 03:31:16 History file rotation is enabled.

09/16/15 03:31:16   Maximum history file size is: 20971520 bytes

09/16/15 03:31:16   Number of rotated history files is: 2

09/16/15 03:31:16 Allocating auto shares for slot type 0: Cpus: auto, Memory: auto, Swap: auto, Disk: auto

slot type 0: Cpus: 1.000000, Memory: 1957, Swap: 25.00%, Disk: 25.00%

slot type 0: Cpus: 1.000000, Memory: 1957, Swap: 25.00%, Disk: 25.00%

slot type 0: Cpus: 1.000000, Memory: 1957, Swap: 25.00%, Disk: 25.00%

slot type 0: Cpus: 1.000000, Memory: 1957, Swap: 25.00%, Disk: 25.00%

09/16/15 03:31:16 slot1: New machine resource allocated

09/16/15 03:31:16 Setting up slot pairings

09/16/15 03:31:16 slot2: New machine resource allocated

09/16/15 03:31:16 Setting up slot pairings

09/16/15 03:31:16 slot3: New machine resource allocated

09/16/15 03:31:16 Setting up slot pairings

09/16/15 03:31:16 slot4: New machine resource allocated

09/16/15 03:31:16 Setting up slot pairings

09/16/15 03:31:16 my_popenv failed

09/16/15 03:31:16 slot1: WARNING: config contains obsolete STARTD_EXPRS or SLOT_TYPE_n_STARTD_EXPRS which will be (partially) ignored! use STARTD_ATTRS instead.

09/16/15 03:31:16 slot2: WARNING: config contains obsolete STARTD_EXPRS or SLOT_TYPE_n_STARTD_EXPRS which will be (partially) ignored! use STARTD_ATTRS instead.

09/16/15 03:31:16 slot3: WARNING: config contains obsolete STARTD_EXPRS or SLOT_TYPE_n_STARTD_EXPRS which will be (partially) ignored! use STARTD_ATTRS instead.

09/16/15 03:31:16 slot4: WARNING: config contains obsolete STARTD_EXPRS or SLOT_TYPE_n_STARTD_EXPRS which will be (partially) ignored! use STARTD_ATTRS instead.

09/16/15 03:31:16 CronJobList: Adding job 'mips'

09/16/15 03:31:16 CronJobList: Adding job 'kflops'

09/16/15 03:31:16 CronJob: Initializing job 'mips' (/usr/libexec/condor/condor_mips)

09/16/15 03:31:16 CronJob: Initializing job 'kflops' (/usr/libexec/condor/condor_kflops)

09/16/15 03:31:16 slot1: State change: IS_OWNER is false

09/16/15 03:31:16 slot1: Changing state: Owner -> Unclaimed

09/16/15 03:31:16 State change: RunBenchmarks is TRUE

09/16/15 03:31:16 slot1: Changing activity: Idle -> Benchmarking

09/16/15 03:31:16 BenchMgr:StartBenchmarks()

09/16/15 03:31:16 slot2: State change: IS_OWNER is false

09/16/15 03:31:16 slot2: Changing state: Owner -> Unclaimed

09/16/15 03:31:16 State change: RunBenchmarks is TRUE

09/16/15 03:31:16 slot2: Changing activity: Idle -> Benchmarking

09/16/15 03:31:16 slot2: Changing activity: Benchmarking -> Idle

09/16/15 03:31:16 slot3: State change: IS_OWNER is false

09/16/15 03:31:16 slot3: Changing state: Owner -> Unclaimed

09/16/15 03:31:16 State change: RunBenchmarks is TRUE

09/16/15 03:31:16 slot3: Changing activity: Idle -> Benchmarking

09/16/15 03:31:16 slot3: Changing activity: Benchmarking -> Idle

09/16/15 03:31:16 slot4: State change: IS_OWNER is false

09/16/15 03:31:16 slot4: Changing state: Owner -> Unclaimed

09/16/15 03:31:16 State change: RunBenchmarks is TRUE

09/16/15 03:31:16 slot4: Changing activity: Idle -> Benchmarking

09/16/15 03:31:16 slot4: Changing activity: Benchmarking -> Idle

09/16/15 03:31:20 slot1: WARNING: config contains obsolete STARTD_EXPRS or SLOT_TYPE_n_STARTD_EXPRS which will be (partially) ignored! use STARTD_ATTRS instead.

09/16/15 03:31:21 slot2: WARNING: config contains obsolete STARTD_EXPRS or SLOT_TYPE_n_STARTD_EXPRS which will be (partially) ignored! use STARTD_ATTRS instead.

09/16/15 03:31:22 slot3: WARNING: config contains obsolete STARTD_EXPRS or SLOT_TYPE_n_STARTD_EXPRS which will be (partially) ignored! use STARTD_ATTRS instead.

09/16/15 03:31:23 slot4: WARNING: config contains obsolete STARTD_EXPRS or SLOT_TYPE_n_STARTD_EXPRS which will be (partially) ignored! use STARTD_ATTRS instead.

09/16/15 03:31:45 State change: benchmarks completed

09/16/15 03:31:45 slot1: Changing activity: Benchmarking -> Idle

09/16/15 03:31:49 slot1: WARNING: config contains obsolete STARTD_EXPRS or SLOT_TYPE_n_STARTD_EXPRS which will be (partially) ignored! use STARTD_ATTRS instead.

09/16/15 03:31:49 condor_write(): Socket closed when trying to write 4096 bytes to collector spring.x.x.cn, fd is 7

09/16/15 03:31:49 Buf::write(): condor_write() failed

09/16/15 03:31:49 attempt to connect to <115.x.x.245:9618> failed: Connection refused (connect errno = 111).

09/16/15 03:31:49 ERROR: SECMAN:2003:TCP connection to collector spring.x.x.cn failed.

09/16/15 03:31:49 Failed to start non-blocking update to <115.x.x.245:9618>.

09/16/15 03:31:50 slot2: WARNING: config contains obsolete STARTD_EXPRS or SLOT_TYPE_n_STARTD_EXPRS which will be (partially) ignored! use STARTD_ATTRS instead.

09/16/15 03:31:50 attempt to connect to <115.x.x.245:9618> failed: Connection refused (connect errno = 111).

09/16/15 03:31:50 ERROR: SECMAN:2003:TCP connection to collector spring.x.x.cn failed.

......

......

10/20/15 16:10:58 slot1: WARNING: config contains obsolete STARTD_EXPRS or SLOT_TYPE_n_STARTD_EXPRS which will be (partially) ignored! use STARTD_ATTRS instead.

10/20/15 16:10:59 slot2: WARNING: config contains obsolete STARTD_EXPRS or SLOT_TYPE_n_STARTD_EXPRS which will be (partially) ignored! use STARTD_ATTRS instead.

10/20/15 16:11:00 slot3: WARNING: config contains obsolete STARTD_EXPRS or SLOT_TYPE_n_STARTD_EXPRS which will be (partially) ignored! use STARTD_ATTRS instead.

10/20/15 16:11:01 slot4: WARNING: config contains obsolete STARTD_EXPRS or SLOT_TYPE_n_STARTD_EXPRS which will be (partially) ignored! use STARTD_ATTRS instead.