Bug 135730 - init.d/lock_gulmd should not stop if GFS is mounted
Summary: init.d/lock_gulmd should not stop if GFS is mounted
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Cluster Suite
Classification: Retired
Component: gfs
Version: 3
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Adam "mantis" Manthei
QA Contact: GFS Bugs
URL:
Whiteboard:
Depends On: 136220
Blocks: 137219
TreeView+ depends on / blocked
 
Reported: 2004-10-14 18:22 UTC by Adam "mantis" Manthei
Modified: 2010-01-12 02:59 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2004-12-03 16:58:46 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2004:659 0 normal SHIPPED_LIVE Updated GFS packages 2004-12-03 05:00:00 UTC

Description Adam "mantis" Manthei 2004-10-14 18:22:30 UTC
Description of problem:
The init.d init script should probably not stop if there are resources
running that require it (i.e. GFS and/or GNBD).  Stopping lock_gulmd
on a client mounting GFS can cause orphaned locks to appear in the
lock server (see bug# 129193).  Additional logic that checked to see
if the resource was in use would help prevent the occurance of this bug.

I would like to make the stop operation fail in the event that GFS is
currently mounted on the system.  Operaters running this script
manually will then be informed that the lock_gulmd service is unable
to stop because it is already in use.  

The current stop operation will become a "forcestop" operation so that
this functionality is not lost.

Version-Release number of selected component (if applicable):
GFS-6.0.0-15 and earlier

Comment 1 Adam "mantis" Manthei 2004-10-18 19:31:26 UTC
The cleanest way that I can think to do this requires accessing the
Gulm_Service information of the local lock_gulmd core on the node
calling init.d/lock_gulmd stop.  This information is currently only
available via the SIGUSR1 debugging dumps.  A cleaner resource
requesting method has been requested (bug #136220).

Comment 2 Adam "mantis" Manthei 2004-10-18 23:35:49 UTC
this has been resolved in version 1.1.2.3 of gulm/init.d/lock_gulmd

Comment 3 Tim Powers 2004-12-03 16:58:46 UTC
An errata 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 the 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/RHBA-2004-659.html



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