Bug 151187 - hang during shutdown of rgmanager if relocate operations are taking place
Summary: hang during shutdown of rgmanager if relocate operations are taking place
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Cluster Suite
Classification: Retired
Component: rgmanager
Version: 4
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Lon Hohberger
QA Contact: Cluster QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-03-15 20:48 UTC by Lon Hohberger
Modified: 2009-04-16 20:16 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-05-06 20:46:07 UTC
Embargoed:


Attachments (Terms of Use)

Description Lon Hohberger 2005-03-15 20:48:21 UTC
Description of problem:

rgmanager will hang during shutdown if two nodes get into a
relocate-to-eachother deadlock.


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


How reproducible: 50% on 3-node cluster


Steps to Reproduce:
1. run rgmanager on 3 nodes
2. run "while [ 0 ]; do clusvcadm -r foo; done
3. kill rgmanager with SIGTERM on all nodes at near-the-same-time
  
Actual results:

Two nodes end up with threads trying to relocate the service to one-another.


Expected results:

Clean shutdown.  It does not matter what the return value from the relocate
request is.

Additional info:

This is probably a simple logic error somewhere in the code.

Comment 1 Lon Hohberger 2005-03-15 20:52:18 UTC
One way to solve this (and all future problems like it) is to only allow stop &
disable requests during shutdown.

Comment 2 Lon Hohberger 2005-03-16 23:23:37 UTC
I have (mostly) a fix for this.  Still testing though.

Comment 3 Lon Hohberger 2005-03-21 21:08:30 UTC
Fixed in CVS

Comment 4 Lon Hohberger 2005-05-06 20:46:07 UTC
These have been fixed in CVS for some time; closing


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