Bug 159767 - service operations on non-existent services are processed anyway
service operations on non-existent services are processed anyway
Status: CLOSED ERRATA
Product: Red Hat Cluster Suite
Classification: Red Hat
Component: rgmanager (Show other bugs)
4
All Linux
medium Severity medium
: ---
: ---
Assigned To: Lon Hohberger
Cluster QE
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-06-07 16:55 EDT by Lon Hohberger
Modified: 2009-04-16 16:17 EDT (History)
1 user (show)

See Also:
Fixed In Version: RHBA-2005-738
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-10-07 12:52:00 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Fixes behavior and makes error reporting more readable. (7.50 KB, patch)
2005-07-12 12:43 EDT, Lon Hohberger
no flags Details | Diff

  None (edit)
Description Lon Hohberger 2005-06-07 16:55:28 EDT
Description of problem:

If a service doesn't exist and we try to enable it, it will fail.  That's fine
-- except that rgmanager goes through the hassle of a full start sequence, and
spits out really ugly log messages while it's trying to start the nonexistent
service.

Ex:

clusvcadm -e "fehjre"

Jun  7 16:49:59 red clurgmgrd[4174]: <notice> Stopping service fehjre 
Jun  7 16:49:59 red clurgmgrd[4174]: <crit> #12: RG fehjre failed to stop;
intervention required 

clusvcadm -e "fehjre"
Jun  7 16:49:59 red clurgmgrd[4174]: <notice> Service fehjre is failed 
Jun  7 16:50:09 red clurgmgrd[4174]: <notice> Starting stopped service fdsafdsa 
Jun  7 16:50:09 red clurgmgrd[4174]: <warning> #68: Failed to start fdsafdsa;
return value: 1 

clusvcadm -d "fdsafdsa"
Jun  7 16:50:09 red clurgmgrd[4174]: <notice> Stopping service fdsafdsa 
Jun  7 16:50:09 red clurgmgrd[4174]: <crit> #12: RG fdsafdsa failed to stop;
intervention required
Comment 1 Lon Hohberger 2005-07-12 12:43:02 EDT
Created attachment 116664 [details]
Fixes behavior and makes error reporting more readable.
Comment 2 Lon Hohberger 2005-07-12 12:45:20 EDT
[root@red ~]# clusvcadm -d rhjkdfsafdsahjk
Member red disabling rhjkdfsafdsahjk...failed: Service does not exist
Comment 3 Lon Hohberger 2005-07-28 17:21:42 EDT
Fixes in CVS
Comment 5 Red Hat Bugzilla 2005-10-07 12:52:00 EDT
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 the 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/RHBA-2005-738.html

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