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

[Condor-users] condor_config vs. condor_config.local



hi,

i am using Condor 7.0.1 on Debian and i noticed that it does make a
difference for my execute machine if i place the entry
CONDOR_HOST="10.8.0.1" inside condor_config or condor_config.local.

Placed in condor_config, the execute machine is advertised as follows
[from the classad (condor_status -long)]:
 Name = "10-8-0-6.domain"
 Rank = 0.000000
 CpuBusy = ((LoadAvg - CondorLoadAvg) >= 0.500000)
 MyCurrentTime = 1208248472
 Machine = "10-8-0-6.domain"
 PublicNetworkIpAddr = "<10.8.0.6:39777>"
10.8.0.6 is the IP of the execute machine, therefore the above is
exactly what i want.

If i place CONDOR_HOST inside condor_config.local, Condor is not even
able to connect to the CM because it binds to the wrong IP, MasterLog:
 4/15 04:45:38 Using config source: /usr/local/condor/etc/condor_config
 4/15 04:45:38 Using local config sources:
 4/15 04:45:38    /usr/local/condor/etc/condor_config.local
 4/15 04:45:38 DaemonCore: Command Socket at <127.0.1.1:36031>
 4/15 04:45:38 Started DaemonCore process
"/usr/local/condor/sbin/condor_startd", pid and pgroup = 3539
 4/15 04:45:43 attempt to connect to <10.8.0.1:9618> failed: Invalid
argument (connect errno = 22).  Will keep trying for 20 total seconds
(20 to go).

Condor somehow seems to guess which interface to bind to in the first
case. Why does it make a difference where i place CONDOR_HOST ?

thank you!

-
Gerald Stampfel