Bug 692635 - configd does not shutdown gracefully if BROKER_HOST is invalid
Summary: configd does not shutdown gracefully if BROKER_HOST is invalid
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: condor-wallaby-client
Version: Development
Hardware: All
OS: Windows
unspecified
low
Target Milestone: 2.0
: ---
Assignee: Robert Rati
QA Contact: Petra Svobodová
URL:
Whiteboard:
Depends On: 706415
Blocks: 693778
TreeView+ depends on / blocked
 
Reported: 2011-03-31 18:39 UTC by Timothy St. Clair
Modified: 2011-06-23 15:36 UTC (History)
6 users (show)

Fixed In Version: condor-wallaby-client-4.0-5
Doc Type: Bug Fix
Doc Text:
C: A mis-configured QMF_BROKER_HOST in condor's configuration C: The configd would be unable to contact the broker and wouldn't respond to shutdown commands F: Moved the windows signal handling initialization to earlier in the code path R: The configd will shutdown gracefully regardless of whether QMF_BROKER_HOST is configured correctly
Clone Of:
Environment:
Last Closed: 2011-06-23 15:36:01 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2011:0889 0 normal SHIPPED_LIVE Red Hat Enterprise MRG Grid 2.0 Release 2011-06-23 15:35:53 UTC

Description Timothy St. Clair 2011-03-31 18:39:23 UTC
Description of problem:
The configd does not respond to a softkill if the BROKER_HOST is invalid

Version-Release number of selected component (if applicable):
condor-wallaby-4.0-4

How reproducible:
100%

Steps to Reproduce:
1. Comment out BROKER_HOST
2. net stop condor
3. shutdown hangs until hardkill

Expected results:
clean shutdown on softkill

Comment 1 Robert Rati 2011-03-31 20:27:48 UTC
Issue was that the windows shutdown timer wasn't started until after the configd connected to the broker, so if the configd couldn't connect then the timer was never started.  The timer is now started when other signal handlers are setup.

Fixed on master.

Comment 2 Robert Rati 2011-04-05 14:07:39 UTC
    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:
C: A mis-configured QMF_BROKER_HOST in condor's configuration
C: The configd would be unable to contact the broker and wouldn't respond to shutdown commands
F: Moved the windows signal handling initialization to earlier in the code path
R: The configd will shutdown gracefully regardless of whether QMF_BROKER_HOST is configured correctly

Comment 4 Petra Svobodová 2011-06-01 08:46:43 UTC
The issue does not occur on version "condor-7.4-103_20110124.msi" (the last brewed version what can be running before the patch)  neither on version "condor-7.6.1-0.8.msi". 

Tested on Windows:
XP-x86
Server2003-x86 and x64
Server2008-x86, x64 and R2-x64
7-x86 and x64

--> VERIFIED

Comment 5 errata-xmlrpc 2011-06-23 15:36:01 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2011-0889.html


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