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

Re: [HTCondor-users] Avoiding the docker interface for primary IP address



On 01/09/2015 18:13, Brian Bockelman wrote:
BIND_ALL_INTERFACES = False
NETWORK_INTERFACE = 192.168.56.13

alternately:

BIND_ALL_INTERFACES = False
NETWORK_INTERFACE = br-lan

Either IP address or interface name are acceptable.  NETWORK_INTERFACE can have wildcards such as NETWORK_INTERFACE=192.168.*.

Hope this is helpful,
Thank you - yes that solves it. After this, netstat shows binding to the single address, and the tools show the correct address:

$ condor_q


-- Schedd: trusty.ws.nsrc.org : <192.168.56.13:20092?...
 ID      OWNER            SUBMITTED     RUN_TIME ST PRI SIZE CMD

0 jobs; 0 completed, 0 removed, 0 idle, 0 running, 0 held, 0 suspended

$ condor_status -long | grep Addr
AddressV1 = "{[ p=\"primary\"; a=\"192.168.56.13\"; port=4856; n=\"Internet\"; ], [ p=\"IPv4\"; a=\"192.168.56.13\"; port=4856; n=\"Internet\"; ]}"
HardwareAddress = "......"
MyAddress = "<192.168.56.13:4856?addrs=192.168.56.13-4856>"
StartdIpAddr = "<192.168.56.13:4856?addrs=192.168.56.13-4856>"

Furthermore I can now remove all the ALLOW_FOO lines.

Regards,

Brian.