Bug 245171 - attr inheritance should try all direct ancestors
Summary: attr inheritance should try all direct ancestors
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Cluster Suite
Classification: Retired
Component: rgmanager
Version: 4
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Marek Grac
QA Contact: Cluster QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-06-21 13:51 UTC by Lon Hohberger
Modified: 2009-04-16 20:23 UTC (History)
2 users (show)

Fixed In Version: RHBA-2007-1000
Clone Of:
Environment:
Last Closed: 2007-11-21 21:53:14 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2007:1000 0 normal SHIPPED_LIVE rgmanager bug fix update 2007-11-29 14:44:31 UTC

Description Lon Hohberger 2007-06-21 13:51:38 UTC
+++ This bug was initially created as a clone of Bug #231521 +++

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 Marek Grac 2007-06-22 08:41:02 UTC
Patches in CVS

Comment 4 errata-xmlrpc 2007-11-21 21:53:14 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-1000.html



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