Bug 151187

Summary: hang during shutdown of rgmanager if relocate operations are taking place
Product: [Retired] Red Hat Cluster Suite Reporter: Lon Hohberger <lhh>
Component: rgmanagerAssignee: Lon Hohberger <lhh>
Status: CLOSED RAWHIDE QA Contact: Cluster QE <mspqa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 4CC: cluster-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-05-06 20:46:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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