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

Re: [Condor-users] "COLLECTOR address or hostname not specified in config file"



Hi Todd

I thought this may also explain the problem we are having with being
unable to submit jobs from windows PCs with version 7.4.* that I
Reported back in January this year.
(see email ticket #20209 - I've had exchanges with Tim and Zach).

I've tested it by removing NEGOTIATOR_HOST as you suggested as well
as changing references to NEGOTIATOR_HOST to IP numbers, e.g.
(BTW I've deliberately blanked out some IP info for security reasons)

#NEGOTIATOR_HOST = $(CONDOR_HOST)
#HOSTALLOW_NEGOTIATOR = $(NEGOTIATOR_HOST)
HOSTALLOW_NEGOTIATOR = 13*.11*.2*.14*
##  Now, with flocking we need to let the SCHEDD trust the other 
##  negotiators we are flocking with as well.  You should normally 
##  not have to change this either.
#HOSTALLOW_NEGOTIATOR_SCHEDD = $(NEGOTIATOR_HOST), $(FLOCK_NEGOTIATOR_HOSTS)
HOSTALLOW_NEGOTIATOR_SCHEDD = 13*.11*.2*.14*, $(FLOCK_NEGOTIATOR_HOSTS)

Submission of jobs now works OK in windows 7.4.* and we do not get the
following errors anymore (which we do NOT get for 7.2.4)

02/02 12:20:48 (fd:4) (pid:6888) Config 'NEGOTIATOR_HOST': no prefix ==> '$(CONDOR_HOST)'
02/02 12:20:48 (fd:4) (pid:6888) NEGOTIATOR_HOST is set to "condor-wa.csiro.au"
02/02 12:20:48 (fd:4) (pid:6888) Config 'NEGOTIATOR_HOST': no prefix ==> '$(CONDOR_HOST)'
02/02 12:20:48 (fd:4) (pid:6888) NEGOTIATOR_HOST is set to "condor-wa.csiro.au"
02/02 12:20:48 (fd:4) (pid:6888) Negotiator hostname lookup failed!
02/02 12:20:48 (fd:4) (pid:6888) Destroying Daemon object:
02/02 12:20:48 (fd:4) (pid:6888) Type: 6 (negotiator), Name: (null), Addr: (null)
02/02 12:20:48 (fd:4) (pid:6888) FullHost: (null), Host: (null), Pool: (null), Port: -1
02/02 12:20:48 (fd:4) (pid:6888) IsLocal: Y, IdStr: (null), Error: NEGOTIATOR address or hostname not specified in config file

So it would appear that the bug you mentioned will also sort out our issue.

Cheers

Greg

-----Original Message-----
From: condor-users-bounces@xxxxxxxxxxx [mailto:condor-users-bounces@xxxxxxxxxxx] On Behalf Of Todd Tannenbaum
Sent: Saturday, 1 May 2010 6:00 AM
To: Condor-Users Mail List
Subject: Re: [Condor-users] "COLLECTOR address or hostname not specified in config file"

Angel de Vicente wrote:
> Hi,
> 
> I have a similar problem, but with the Negotiator. Since we upgraded to 
> 7.4.1 I have noticed that condor_userpio and condor_q -analyze (and 
> perhaps some other commands as well) complain with:
> 
> angelv@vaso:/opt/condor$ condor_userprio
> condor_userprio: NEGOTIATOR address or hostname not specified in config 
> file
> 
> Any hints?
> 
> 

I just reproduced the issue.

Immediate Workaround:
Get rid of NEGOTIATOR_HOST altogether from your condor config file(s), 
and condor_userprio will work.  You can do this by either removing 
NEGOTIATOR_HOST from your condor_config file(s) or by having a line
   NEGOTIATOR_HOST =

I'll get a patch in the code for this into the next stable release. You 
can follow progress or comment here
  https://condor-wiki.cs.wisc.edu/index.cgi/tktview?tn=1380,4

It looks like there is a bug relating to some (well intentioned but 
failing) backwards compatibility code. If NEGOTIATOR_HOST does not 
exist, the recent releases of Condor (definitely v7.4.x, and I think 
v7.2.x as well) will do the right thing by querying the collector for 
the IP and port of the negotiator and it all seems good.

Thanks for reporting this one folks, and thanks to Becky G for creating 
a ticket,

Todd

-- 
Todd Tannenbaum                       University of Wisconsin-Madison
Center for High Throughput Computing  Department of Computer Sciences
tannenba@xxxxxxxxxxx                  1210 W. Dayton St. Rm #4257
Phone: (608) 263-7132                 Madison, WI 53706-1685
_______________________________________________
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/condor-users/