RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 743218 - Cluster problem: "hard" service dependencies
Summary: Cluster problem: "hard" service dependencies
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: rgmanager
Version: 6.1
Hardware: x86_64
OS: Linux
high
high
Target Milestone: rc
: 6.2
Assignee: Lon Hohberger
QA Contact: Cluster QE
URL:
Whiteboard:
Depends On: 743214
Blocks: 756082
TreeView+ depends on / blocked
 
Reported: 2011-10-04 09:35 UTC by Frank Danapfel
Modified: 2012-06-20 14:12 UTC (History)
4 users (show)

Fixed In Version: rgmanager-3.0.12.1-6.el6
Doc Type: Bug Fix
Doc Text:
Clone Of: 743214
Environment:
Last Closed: 2012-06-20 14:12:50 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Logs (20.00 KB, application/octet-stream)
2012-02-29 22:54 UTC, Lon Hohberger
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2012:0897 0 normal SHIPPED_LIVE rgmanager bug fix and enhancement update 2012-06-19 20:47:05 UTC

Description Frank Danapfel 2011-10-04 09:35:57 UTC
+++ This bug was initially created as a clone of Bug #743214 +++

Description of problem:
Two Cluster Services are defined. The first service "sapgt1ci" starts th
e database and the central SAP instance.
The second cluster service "sapgt1ap1" starts another SAP application instance.
 "sapgt1ap1" has a hard dependency on sapgt1ci.

While executing the cluster tests / failover tests we encountered a bug:

Setup: Cluster Server lxcn1gt1 running no services and cluster server lxcn2gt1 running both sapgt1ci and sapgt1ap1.

Cluster node lxcn2gt1 (the one running everything) gets switched off (power off). Now both services get migrated to the remaining node. The start sequence is correct and matches the configured dependency. But after both services were successfully started sapgt1ap1 gets stopped again (!) while

rgmanager prints a message about "lost dependency" into the syslog. After sapgt1ap1 was successfully stopped it gets started again. This time everything stays up.

The re-start of sapgt1ap1 should not occur.

With the services swapped in /etc/cluster/cluster.conf (now sapgt1ap1 is defined first and the sapgtci second) we see a slightly different behavior:

If both services run on the same cluster node (in our test case lxcn2gt1-hb) and this node gets powered off....:

The remaining node (lxcn1gt1-hb) first tries to start sapgt1ap1 (completely ignoring the hard dependency on sapgt1ci!!) - this start attempt fails without the central instance running.

Then it starts sapgt1ci (SAP DB and central instance) and then it starts sapgt1ap1 again (which works this time).

To recapture the initial problem with the service definition of sapgt1ci first in /etc/cluster/cluster.conf and sapgtap1 second:

During the failover of both services the remaining node

- first starts sapgt1ci
- then starts sapgt1ap1
- then stops sapgt1ap1 (message about missing dependency)
- then starts sapgt1ap1 again

Both start sequences are flawed.....

Nevertheless all instances were started in both cases (with an extra step in between).


Version-Release number of selected component (if applicable):
rgmanager-3.0.12-11.el6_1.1.x86_64              

How reproducible:
always

Comment 1 RHEL Program Management 2011-10-07 16:04:15 UTC
Since RHEL 6.2 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.

Comment 6 Lon Hohberger 2012-02-29 22:53:32 UTC
I tested all 3 cases across two configurations identical to bug 743214 ; all passed with the same results (RHEL6 logging looks a bit different).

Comment 7 Lon Hohberger 2012-02-29 22:54:08 UTC
Created attachment 566665 [details]
Logs

Comment 11 errata-xmlrpc 2012-06-20 14:12:50 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2012-0897.html


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