Bug 202637

Summary: better error reporting from rgmanager is needed to debug restarts/failovers
Product: [Retired] Red Hat Cluster Suite Reporter: Lon Hohberger <lhh>
Component: rgmanagerAssignee: Lon Hohberger <lhh>
Status: CLOSED ERRATA QA Contact: Cluster QE <mspqa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 4CC: cluster-maint, f.hackenberger, mgrac, mnapolis, tao
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:17:19 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:

Description Lon Hohberger 2006-08-15 17:01:45 UTC
Description of problem:

In some situations, the reason a status check fails is not reported correctly to
 the system logs prior to causing a failover or a service restart.  The reason a
service is restarted or migrated without intervention is required for proper
debugging of service problems.

There are a couple of things that should happen:

(a) Each resource agent should log errors whenever they are about to return a
failure code.

(b) Rgmanager should log an error whenever a resource agent status check fails.

(c) Rgmanager should pass in "<type>:'<attr>'" as OCF_INSTANCE_NAME to resource
agents, and resource agents should log OCF_INSTANCE_NAME whenever an error occurs.

(d) Error messages and logs should be more uniform in the way they are reported
throughout the resource-agents.

Comment 1 Lon Hohberger 2006-08-15 17:23:43 UTC
*** Bug 202569 has been marked as a duplicate of this bug. ***

Comment 2 Lon Hohberger 2006-08-15 17:29:58 UTC
*** Bug 199678 has been marked as a duplicate of this bug. ***

Comment 5 Lon Hohberger 2006-10-31 15:19:20 UTC
Moving back to assigned.  We need to be sure we notify callers about fatal
signal errors when a child process dies.

Comment 6 Lon Hohberger 2006-11-21 15:06:15 UTC
This is just about done, except for clusterfs.sh needing to be updated.

Comment 9 Red Hat Bugzilla 2007-05-10 21:17:19 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