Bug 782863 - Using config retrieval produces error if condor is not running
Summary: Using config retrieval produces error if condor is not running
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: condor-wallaby-client
Version: 2.0
Hardware: All
OS: Linux
low
low
Target Milestone: ---
: ---
Assignee: grid-maint-list
QA Contact: MRG Quality Engineering
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-18 17:46 UTC by Robert Rati
Modified: 2016-05-26 20:03 UTC (History)
4 users (show)

Fixed In Version: condor-wallaby-client-5.0.0-2
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-26 20:03:55 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Robert Rati 2012-01-18 17:46:22 UTC
Description of problem:
sudo condor_configd -r
Error: Unable to retrieve configuration

From the Logs:
01/18 12:41:09 ERROR: Failed to send command "condor_reconfig" to subsystem "master" (retval: 1, stdout: "", stderr: "Can't find address for local master
Perhaps you need to query another pool.
")

-r shouldn't fail if it is unable to restart condor.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Luigi Toscano 2012-03-07 19:34:02 UTC
It shouldn't fail, but should it be able to retrieve the information? What is the exact expected behavior?

Comment 2 Robert Rati 2012-03-07 20:55:28 UTC
It does retrieve the configuration, but it prints a message that there was a problem.  The only problem is the failure to send condor_reconfig to master (which isn't running).  Using -r should print a better error (or warning) message stating that it's unable to send reconfig to master, not print a retrieve error when there was no problem.

Comment 3 Robert Rati 2012-03-26 20:46:47 UTC
Fixed upstream on master branch

Comment 4 Robert Rati 2012-03-26 20:51:04 UTC
The configd will not attempt to restart/reconfig any daemons if -r is used.  It will just retrieve the configuration from the store.

Comment 12 Anne-Louise Tangring 2016-05-26 20:03:55 UTC
MRG-Grid is in maintenance and only customer escalations will be considered. This issue can be reopened if a customer escalation associated with it occurs.


Note You need to log in before you can comment on or make changes to this bug.