Bug 747095

Summary: rgmanager race leads to errors in logs
Product: Red Hat Enterprise Linux 6 Reporter: Lon Hohberger <lhh>
Component: rgmanagerAssignee: Lon Hohberger <lhh>
Status: CLOSED WONTFIX QA Contact: Cluster QE <mspqa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2CC: cluster-maint
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-01 21:35:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 756082    

Description Lon Hohberger 2011-10-18 19:29:09 UTC
Description of problem:

If you kill rgmanager at just the right time during event processing during startup, it can throw errors in to the logs:

Oct 18 15:26:30 snap rgmanager[15382]: Shutting down
Oct 18 15:26:30 snap rgmanager[15382]: Stopping service service:b
Oct 18 15:26:30 snap rgmanager[15382]: Service service:b is stopped
Oct 18 15:26:30 snap rgmanager[15382]: #45: Unable to obtain cluster lock: Bad file descriptor
Oct 18 15:26:30 snap rgmanager[15382]: #50: Unable to obtain cluster lock: Bad file descriptor
Oct 18 15:26:30 snap rgmanager[15382]: #13: Service service:wtf failed to stop cleanly
Oct 18 15:26:30 snap rgmanager[15382]: #55: Unable to obtain cluster lock: Bad file descriptor

Version-Release number of selected component (if applicable): 3.0.12.1-4.el6

How reproducible: 10%

Steps to Reproduce:
1.  service rgmanager start
2.  sleep 8
3.  service rgmanager stop
  
Actual results: Errors in logs.  This occurs because we close the lockspace while other threads are trying to acquire locks.

Expected results: No errors, clean shutdown.

Additional info: This does not look like a high-risk condition, but it is a lot of noise.

Comment 3 RHEL Program Management 2011-12-01 21:35:13 UTC
Development Management has reviewed and declined this request.  You may appeal
this decision by reopening this request.