Bug 698369 - max_restarts and restart_expire_time ignored when VM dies repeatedly
Summary: max_restarts and restart_expire_time ignored when VM dies repeatedly
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: rgmanager
Version: 5.6
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Lon Hohberger
QA Contact: Cluster QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-20 17:57 UTC by Madison Kelly
Modified: 2012-06-15 13:43 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-15 13:43:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
related cluster.conf (3.70 KB, text/plain)
2011-04-20 17:57 UTC, Madison Kelly
no flags Details

Description Madison Kelly 2011-04-20 17:57:45 UTC
Created attachment 493568 [details]
related cluster.conf

Description of problem:

I set a (Xen) vm service to have <vm ... recovery="restart" max_restarts="2" restart_expire_time="600" />, which is part of a two-node ordered failover domain. When I repeatedly crash the guest using 'echo c > /proc/sysrq-trigger', the VM is restarted reliably, but always on the node it was last running on.

Version-Release number of selected component (if applicable):

cman-2.0.115-68.el5
rgmanager-2.0.52-9.el5

How reproducible:

100%

Steps to Reproduce:
1. Create a two-node cluster with a vm service in an ordered failover domain.
2. Crash the VM sufficient times to exceed the maximum restart counting within the restart recovery time.
3. VM will not migrate.
  
Actual results:

VM always restarts, doesn't relocate.

Expected results:

To relocate when limits are exceeded.

Additional info:

Attached very slightly modified cluster.conf.

Comment 1 RHEL Program Management 2012-05-15 18:58:04 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release.  Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products.  This request is not yet committed for inclusion in
a release.


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