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

Re: [HTCondor-users] condor_userprio: Can't locate negotiator in local pool



On 3/27/2017 12:16 PM, Lee Damon wrote:
Hi Todd,

All hosts were patched at the same time from the same yum repo server.
The repo was populated from the one you fine folks maintain.


Weird. Does "condor_status -negotiator" show your negotiator appearing in the pool? What does the output look like from the command
 condor_status -negotiator -af name myaddress condorversion
?

We could also look at debugging output from condor_userprio figuring out where your negotiator resides. To display this output to stderr, you could enter command:
 /bin/bash -c "_condor_TOOL_DEBUG=D_HOSTNAME condor_userprio -debug"

If you are still stumped, send along the output from the above commands above, ideally along with the output of this command run on your central manager
 condor_config_val -writeconfig:update -

If you don't want to sanitize and post all this to htcondor-users, you can send it privately to htcondor-admin@xxxxxxxxxxx and in the email state ToddT was asking to see this output.

thanks
Todd


~ [76] ; rpm -qa \*condor\*
condor-procd-8.6.1-1.el7.x86_64
condor-external-libs-8.6.1-1.el7.x86_64
condor-8.6.1-1.el7.x86_64
condor-classads-8.6.1-1.el7.x86_64
~ [77] ; which condor_userprio
/usr/bin/condor_userprio
~ [78] ; rpm -qf `!!`
rpm -qf `which condor_userprio`
condor-8.6.1-1.el7.x86_64

I just tried running condor_userprio on the central manager itself and
got the same error.

nomad

On 3/27/17 09:59 , Todd Tannenbaum wrote:
Hi Lee,

Re the below, are both the central manager (condor_negotiator,
condor_collector) and condor_userprio at version 8.6.x, or is one still
much older than the other?  What does "condor_status -negotiator" show?

The reason I ask is things have changed over the years with regards to
condor_userprio: Long ago, condor_userprio found the negotiator via
NEGOTIATOR_HOST in the config, but IIRC for several years the
condor_negotiator now advertises itself to the condor_collector and
condor_userprio does a query to the collector to find it.  Also, in
current versions of HTCondor the user priorities are advertised to the
collector, meaning condor_userprio only needs to contact the negotiator
in order to make a change - just displaying the current priorities only
requires communication with the collector.  Perhaps your
condor_negotiator is still running an old version?

regards,
Todd


On 3/27/2017 10:50 AM, Lee Damon wrote:
We just updated our condor pool using the condor-8.6.1-1.el7.x86_64 RPM
and everything is working except condor_userprio is slightly unhappy:

~ [76] ; condor_userprio
condor_userprio: Can't locate negotiator in local pool

The command works when I give it the name of the CONDOR_HOST:

~ [77] ; condor_userprio -pool redacted
Last Priority Update:  3/27 08:41
                          Effective   Priority   Res   Total Usage  Time
Since
User Name                  Priority    Factor   In Use (wghted-hrs) Last
Usage
------------------------ ------------ --------- ------ ------------
----------
ajaech@xxxxxxxxxxxxxxxxx    137201.95   1000.00    208    198133.14
<now>
------------------------ ------------ --------- ------ ------------
----------
Number of users: 1                                 208    198133.14
0+23:59


The config files haven't changed - CONDOR_HOST and NEGOTIATOR_HOST
appear to be properly set:

~ [78] ; grep ^CONDOR_HOST /etc/condor/condor_config
CONDOR_HOST             = redacted.ee.washington.edu
~ [79] ; grep ^NEGOTIATOR_HOST /etc/condor/condor_config
NEGOTIATOR_HOST = $(CONDOR_HOST)

condor_config_val(1) confirms these settings are applied.

Any hints on how I can fix this would be appreciated.

thanks,
nomad
_______________________________________________
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/

_______________________________________________
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/



--
Todd Tannenbaum <tannenba@xxxxxxxxxxx> University of Wisconsin-Madison
Center for High Throughput Computing   Department of Computer Sciences
HTCondor Technical Lead                1210 W. Dayton St. Rm #4257
Phone: (608) 263-7132                  Madison, WI 53706-1685