Bug 249758 - locking in 5.1 breaks rgmanager
Summary: locking in 5.1 breaks rgmanager
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: rgmanager
Version: 5.1
Hardware: All
OS: Linux
urgent
urgent
Target Milestone: ---
: ---
Assignee: Lon Hohberger
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-07-26 20:27 UTC by Lon Hohberger
Modified: 2009-04-16 22:18 UTC (History)
1 user (show)

Fixed In Version: RHBA-2007-0580
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-11-07 16:46:25 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Fix (482 bytes, patch)
2007-07-26 20:27 UTC, Lon Hohberger
no flags Details | Diff
Smaller patch. (449 bytes, patch)
2007-07-26 20:30 UTC, Lon Hohberger
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2007:0580 0 normal SHIPPED_LIVE rgmanager bug fix and enhancement update 2007-10-30 15:37:24 UTC

Description Lon Hohberger 2007-07-26 20:27:19 UTC
Description of problem:

The changes to libdlm from 5.0->5.1 break rgmanager.  This is most likely due to
rgmanager relying on a particular errant behavior in libdlm (where either
dlm_dispatch or dlm_ls_lock would return -1 on convert w/ no-queue).

The correction is to simply have rgmanager always look at the lock status prior
to accepting a lock grant.

This is easily reproducible with the locktest program in src/clulib.

Version-Release number of selected component (if applicable): 5.1 beta

How reproducible: 100%

Steps to Reproduce:
1. run locktest on one node
2. run locktest on another node
  
Actual results: Both locktest acquire an EX lock, or appear to.

Expected results: One locktest acquires an EX lock; the other hangs.

Additional info:

Comment 1 Lon Hohberger 2007-07-26 20:27:19 UTC
Created attachment 160070 [details]
Fix

Comment 2 Lon Hohberger 2007-07-26 20:30:08 UTC
Created attachment 160071 [details]
Smaller patch.

Comment 3 Lon Hohberger 2007-07-26 20:49:15 UTC
Patch in head RHEL51 RHEL5

Comment 7 errata-xmlrpc 2007-11-07 16:46:25 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 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-2007-0580.html



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