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 1200639 - orainstance.sh pauses for 90 seconds to wait for exiting oracle processes.
Summary: orainstance.sh pauses for 90 seconds to wait for exiting oracle processes.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: resource-agents
Version: 6.6
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Oyvind Albrigtsen
QA Contact: cluster-qe@redhat.com
URL:
Whiteboard:
Depends On:
Blocks: 1172231
TreeView+ depends on / blocked
 
Reported: 2015-03-11 03:33 UTC by Takayuki Nagata
Modified: 2019-10-10 09:40 UTC (History)
5 users (show)

Fixed In Version: resource-agents-3.9.5-26.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-10 19:13:49 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
proposal for the fix (1.02 KB, patch)
2015-03-11 03:33 UTC, Takayuki Nagata
no flags Details | Diff
Working patch (895 bytes, patch)
2015-10-20 15:21 UTC, Oyvind Albrigtsen
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 898193 0 None None None Never
Red Hat Knowledge Base (Solution) 1552793 0 None None None Never
Red Hat Product Errata RHBA-2016:0735 0 normal SHIPPED_LIVE resource-agents bug fix and enhancement update 2016-05-10 22:28:24 UTC

Comment 2 Takayuki Nagata 2015-03-11 07:43:28 UTC
I have sent the upstream a pull request.
https://github.com/ClusterLabs/resource-agents/pull/583

The customer has verified the fix.

Comment 9 Oyvind Albrigtsen 2015-10-20 15:21:06 UTC
Created attachment 1084806 [details]
Working patch

Comment 10 Oyvind Albrigtsen 2015-10-20 15:24:08 UTC
Tested and verified that if you had one database called e.g. "db" and another called e.g. "db2", you end up waiting 90 seconds and killing "db2" as well when trying to kill "db".

Tested with patch, and attached the working patch.

Comment 11 Oyvind Albrigtsen 2015-10-29 10:10:49 UTC
Say you have 2 databases (cdb running from rgmanager and cdb2 running separately), this update will solve the issue where cdb2 which isnt controlled by rgmanager gets killed because it contains cdb in it's name. This also causes a 90 sec wait. 

Before:
Start e.g. cdb2 and stop the oracle service from rgmanager
# clusvcadm -d oracle

Expected: cdb2 is still running, and cdb is stopped.
Result: both cdb2 and cdb are stopped during 90 sec stop period.


After:
Start e.g. cdb2 and stop the oracle service from rgmanager
# clusvcadm -d oracle

Expected: cdb2 is still running, and cdb is stopped.
Result: cdb2 is still running, and cdb is stopped without any wait.

Comment 15 errata-xmlrpc 2016-05-10 19:13:49 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.

https://rhn.redhat.com/errata/RHBA-2016-0735.html


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