Bug 429248 - rgmanager restart previously stopped services
Summary: rgmanager restart previously stopped services
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: rgmanager
Version: 5.3
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Lon Hohberger
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-01-18 09:09 UTC by Fabio Massimo Di Nitto
Modified: 2009-04-16 22:56 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-01-18 19:36:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
make help not suck (3.96 KB, patch)
2008-01-18 19:35 UTC, Lon Hohberger
no flags Details | Diff

Description Fabio Massimo Di Nitto 2008-01-18 09:09:44 UTC
Description of problem:

rgmanager restart previously stopped services

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

rgmanager from cvs HEAD. mostlikely applies to other released branches as well.

How reproducible:

always

Steps to Reproduce:
1. test cluster as described in the wiki
2. start rgmanager all nodes but one
3. stop one service (clusvcadm -s service_128)
4. start rgmanager on the only node that did not start previously

Actual results:

the service is started again.

Expected results:

the service should not start as it was previously stopped manually.

Comment 1 Lon Hohberger 2008-01-18 15:54:02 UTC
Stop = "stop until next transition of (service | rgmanager) then re-evaluate"

Typically, rgmanager moves services to this state if a dependency is unsatisfied
or restricted-failover domain is offline.  Every service state change or node
state change triggers an evaluation to see if the service has become runnable.

Disable = "stop until administrator intervention"

Service is not restarted.  Unless re-enabled by an administrator with -e (or the
admin did an explicit enable in a RIND event script, which I consider bad form,
but is legal)


Try - clusvcadm -d instead of clusvcadm -s?

Comment 2 Fabio Massimo Di Nitto 2008-01-18 18:07:27 UTC
Ok in this case it makes perfect sense and this is not a bug.

For some reason I would expect a manual stop to be an alias for disabled or at
least this is how i read it via clusvcadm -h

Fabio

Comment 3 Lon Hohberger 2008-01-18 19:35:57 UTC
Created attachment 292188 [details]
make help not suck

Comment 4 Lon Hohberger 2008-01-18 19:36:51 UTC
Moved to upstream cvs


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