Bug 669440 - Service will failback on "nofailback" failover domain if service is in "starting" state
Summary: Service will failback on "nofailback" failover domain if service is in "start...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: rgmanager
Version: 5.7
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: rc
: ---
Assignee: Lon Hohberger
QA Contact: Toure Dunnon
URL:
Whiteboard:
Depends On:
Blocks: 672841
TreeView+ depends on / blocked
 
Reported: 2011-01-13 17:07 UTC by Shane Bradley
Modified: 2018-11-14 15:59 UTC (History)
5 users (show)

Fixed In Version: rgmanager-2.0.52-10.1.el5
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 672841 (view as bug list)
Environment:
Last Closed: 2011-07-21 10:47:25 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Patch that will fix issue with failback service if in "starting" state (672 bytes, patch)
2011-01-13 17:07 UTC, Shane Bradley
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 1392853 0 None None None Never
Red Hat Product Errata RHSA-2011:1000 0 normal SHIPPED_LIVE Low: rgmanager security, bug fix, and enhancement update 2011-07-21 10:43:18 UTC

Description Shane Bradley 2011-01-13 17:07:40 UTC
Created attachment 473374 [details]
Patch that will fix issue with failback service if in "starting" state

Description of problem:
If a failover domain has "nofailback" enabled a service that is "starting" state would still failback to the original.  If a service takes a while to come up and is in the "starting" state and the original node comes back online while it is in that state the service will be failed back.

There is patch attached that resolves this issue.

Version-Release number of selected component (if applicable):
rgmanager-2.0.52-9.el5

How reproducible:
Everytime

Steps to Reproduce:
1.  Start a service on NodeA which is failover domain X that has "nofailback, ordered" enabled. In order to recreate the service needs to spin for a few seconds so that is in "starting" for x seconds.
2.  stop rgmanager on NodeA
3. Watch logs on NodeB and start rgmanager on NodeA once NodeB starts the failed over service.
  
Actual results:
Service will failback

Expected results:
Service should not failback

Additional info:

Comment 3 Martin Juricek 2011-06-10 10:36:12 UTC
Verified in version rgmanager-2.0.52-19.el5, kernel 2.6.18-265.el5


Service in "starting" state on node a2 will not failback when rgmanager is started again on node a1.

<failoverdomain name="failoverdomain1" ordered="1" nofailback="1">
    <failoverdomainnode name="a1" priority="1"/>
    <failoverdomainnode name="a2" priority="2"/>
    <failoverdomainnode name="a3" priority="3"/>
</failoverdomain>

Comment 4 errata-xmlrpc 2011-07-21 10:47: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 therefore 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/RHSA-2011-1000.html


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