Bug 193603

Summary: rgmanager init script should fail it it can't start
Product: [Retired] Red Hat Cluster Suite Reporter: Corey Marthaler <cmarthal>
Component: rgmanagerAssignee: Lon Hohberger <lhh>
Status: CLOSED ERRATA QA Contact: Cluster QE <mspqa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 4CC: cluster-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHBA-2007-0149 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-05-10 21:16:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Adds 30 second wait for status report from rgmanager on startup none

Description Corey Marthaler 2006-05-30 21:50:57 UTC
Description of problem:
Without any cluster services (ccsd, cman, lock_gulm) running, an attempt to
start the rgmanger init script passed as if it worked. The log in the console
messages it a bit more descriptive though.

[root@taft-04 init.d]# service rgmanager start
Starting Cluster Service Manager:                          [  OK  ]
[root@taft-04 init.d]# echo $?
0
[root@taft-04 init.d]# clustat
Could not connect to cluster service
[root@taft-04 init.d]# ps -ef | grep clurgmgrd
root      4694  4214  0 12:02 pts/0    00:00:00 grep clurgmgrd


May 30 12:01:42 taft-04 clurgmgrd[4592]: <notice> Resource Group Manager Starting
May 30 12:01:42 taft-04 clurgmgrd[4592]: <info> Loading Service Data
May 30 12:01:42 taft-04 rgmanager: clurgmgrd startup succeeded
May 30 12:01:42 taft-04 clurgmgrd[4592]: <crit> #5: Couldn't connect to ccsd!
May 30 12:01:42 taft-04 clurgmgrd[4592]: <crit> #8: Couldn't initialize services


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

Comment 2 Lon Hohberger 2006-09-06 19:04:00 UTC
Created attachment 135688 [details]
Adds 30 second wait for status report from rgmanager on startup

This will allow the admin to see if rgmanager started correctly or not from
init script output, and has 30 second timeout by default.  This will not
override $RGMGR_OPTS if the user has set them.

Comment 3 Corey Marthaler 2006-11-21 23:17:57 UTC
The proper status is now reported, but still missing the proper return code in
rgmanager-1.9.55-0.

[root@link-07 tmp]# service rgmanager start
Starting Cluster Service Manager:                          [FAILED]
[root@link-07 tmp]# echo $?
0


Comment 4 Lon Hohberger 2006-12-13 18:20:36 UTC
Fixes in CVS.

Comment 5 Corey Marthaler 2007-04-23 19:41:23 UTC
Marking verified.

Comment 7 Red Hat Bugzilla 2007-05-10 21:16:56 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 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-2007-0149.html