Description of problem: When condor is not running and condor_userprio was run it prints just 'condor_userprio:' and finishes. It should print some error message as other tools (condor_q, condor_status, ..) Version-Release number of selected component (if applicable): condor-7.6.1-0.10 How reproducible: 100% Steps to Reproduce: 1. stop condor 2. run 'condor_userprio' # condor_userprio condor_userprio: # Actual results: condor_userprio ends without proper error message, that it cannot connect to condor (negotiator) Expected results: condor_userprio prints correct error message Additional info:
upstream: https://condor-wiki.cs.wisc.edu/index.cgi/tktview?tn=2478
REPRO/TEST No configuration is required. Repro is easiest if pool is halted: $ condor_off -master Before fix: when pool is halted so condor_userprio can't locate the negotiator, there is not a good error msg: $ condor_userprio condor_userprio: $ condor_userprio -pool fred condor_userprio: After fix: error message is informative: $ condor_userprio condor_userprio: Can't locate negotiator in local pool $ condor_userprio -pool fred condor_userprio: Can't locate negotiator in fred
Committed fix to uw/V7_6-branch
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Cause: Lack of error message text output when condor_userprio detects failure to locate the negotiator. Consequence: User does not have informative message to explain failure. Fix: Informative error message added to the failure detection code path. Result: User will now be properly informed when condor_userprio cannot locate the negotiator.
Teste in RHEL5.8/6.1 x x86_64/i386 with condor-7.6.4-0.8 and it works. -->VERIFIED
Technical note updated. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. Diffed Contents: @@ -1,11 +1 @@ -Cause: +When the condor_userprio utility detected failure to locate the Negotiator daemon, no error message was returned to inform users. With this update, an informative error message has been added to the failure detection code path and users are now properly informed in the described scenario.-Lack of error message text output when condor_userprio detects failure to locate the negotiator. - -Consequence: -User does not have informative message to explain failure. - -Fix: -Informative error message added to the failure detection code path. - -Result: -User will now be properly informed when condor_userprio cannot locate the negotiator.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHEA-2012-0045.html