Bug 231521

Summary: attr inheritance should try all direct ancestors
Product: Red Hat Enterprise Linux 5 Reporter: Lon Hohberger <lhh>
Component: rgmanagerAssignee: Lon Hohberger <lhh>
Status: CLOSED ERRATA QA Contact: Cluster QE <mspqa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.0CC: cluster-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHBA-2007-0580 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-11-07 16:45:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Lon Hohberger 2007-03-08 20:15:55 UTC
Description of problem:

The special non-OCF inherit flag for rgmanager's resource agents currently only
inherits from the parent resource.  For example, if the "nfslock" attr  is
inherited from the parent "service" for <fs> a la ineherit="service%nfslock",
and the service is structured thusly:

  <service nfslock="1">
    <fs/>
    <fs/>
  </service>

Things work fine.  However, if there's a necessary parent-child relationship
between two <fs/> agents, the second one will not inherit the nfslock parameter:

  <service nfslock="1">
    <fs> <!-- nfslock inherited -->
      <fs/> <!-- nfslock *not* inherited -->
    </fs>
  </service>

So, the inherit-flag should check parents-of-parents until a parent <service>
tag is found, or there are no more parents (e.g. service has no parents, so we
can't check its ancestors).

Comment 1 Lon Hohberger 2007-03-08 20:19:48 UTC
This is not dependent on - but somewhat related to #212121

Comment 2 Kiersten (Kerri) Anderson 2007-03-20 15:55:38 UTC
Devel ACK for 5.1

Comment 3 Kiersten (Kerri) Anderson 2007-04-23 17:27:48 UTC
Fixing Product Name.  Cluster Suite was integrated into the Enterprise Linux for
version 5.0.

Comment 4 RHEL Product and Program Management 2007-04-25 20:48:11 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 5 Lon Hohberger 2007-04-26 20:42:52 UTC
Patches in CVS.

Comment 8 errata-xmlrpc 2007-11-07 16:45:46 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