Bug 1105568 - [Nagios] - When glusterd is stopped, all the process displays incorrect status information.
Summary: [Nagios] - When glusterd is stopped, all the process displays incorrect statu...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: gluster-nagios-addons
Version: rhgs-3.0
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: RHGS 3.0.3
Assignee: Ramesh N
QA Contact: RamaKasturi
URL:
Whiteboard:
Depends On: 1162518
Blocks: 1087818
TreeView+ depends on / blocked
 
Reported: 2014-06-06 12:26 UTC by RamaKasturi
Modified: 2015-05-15 17:39 UTC (History)
7 users (show)

Fixed In Version: gluster-nagios-addons-0.1.11-1.el6rhs
Doc Type: Bug Fix
Doc Text:
Previously, the status message for CTDB, NFS, Quota, SMB, and Self Heal services were not clearly defined in the Nagios Remote Plugin Executor. With this fix, the plugin for these services return the correct error message and when the glusterd service is offline, clear values are displayed for Status and Status Information fields.
Clone Of:
Environment:
Last Closed: 2015-01-15 13:47:43 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:0039 0 normal SHIPPED_LIVE Red Hat Storage Console 3.0 enhancement and bug fix update #3 2015-01-15 18:46:40 UTC

Description RamaKasturi 2014-06-06 12:26:12 UTC
Description of problem:
When glusterd is stopped on all the nodes, status shows unknown with status information as "UNKNOWN: Brick - None status could not be determined"

Version-Release number of selected component (if applicable):
nagios-server-addons-0.1.1-2.el6rhs.x86_64.rpm
gluster-nagios-addons-0.1.1-1.el6rhs.x86_64.rpm

How reproducible:
Always

Steps to Reproduce:
1. Install nagios on rhs nodes.
2. Now stop glusterd by running the command "service glusterd stop".
3. 

Actual results:
For all the process i.e nfs,shd,smb,quota status information is being displayed as "UNKNOWN: Brick - None status could not be determined".

Expected results:
Status information should be displayed as "UNKNOWN:None status could not be determined

Additional info:

Comment 1 Dusmant 2014-06-11 05:13:17 UTC
NOT A BLOCKER -- Should be planned for ASYNC Errata release.

Comment 2 Timothy Asir 2014-06-12 09:02:45 UTC
Sent a patch for internal review

diff --git a/nagios-plugins.spec b/nagios-plugins.spec
index cd56e47..0e6b3cd 100644
--- a/nagios-plugins.spec
+++ b/nagios-plugins.spec
@@ -1,6 +1,6 @@
 Name: nagios-plugins
 Version: 1.4.16
-Release: 7%{?dist}
+Release: 8%{?dist}
 Summary: Host/service/network monitoring program plugins for Nagios
 
 Group: Applications/System
@@ -66,8 +66,6 @@ This plugin does not actually check anything, simply provide it with a flag
 Summary: Nagios Plugin - check_ide_smart
 Group: Applications/System
 Requires: nagios-plugins = %{version}-%{release}
-Requires: group(nagios)
-Requires(pre): group(nagios)
 
 %description ide_smart
 Provides check_ide_smart support for Nagios.
@@ -221,7 +219,7 @@ rm -rf %{buildroot}
 %{_libdir}/nagios/plugins/check_dummy
 
 %files ide_smart
-%defattr(4750,root,nagios,-)
+%defattr(-,root,root,-)
 %{_libdir}/nagios/plugins/check_ide_smart

Comment 3 Timothy Asir 2014-06-12 09:21:49 UTC
Sorry i posted in the wrong place

Comment 4 Shalaka 2014-06-18 05:53:57 UTC
Please add doc text for this known issue.

Comment 5 Ramesh N 2014-06-20 08:26:47 UTC
Patch sent for upstream : http://review.gluster.org/#/c/8125/.

Status information will be,
"UNKNOWN: CTDB status could not be determined " for CTDB 
"UNKNOWN: SMB status could not be determined" for SMB
"UNKNOWN: NFS status could not be determined" for NFS
"UNKNOWN: QUOTA status could not be determined" for QUOTA
"UNKNOWN: SHD status could not be determined" for SHD

Comment 6 Shalaka 2014-06-24 17:25:48 UTC
Please review and signoff the edited doc text.

Comment 7 Ramesh N 2014-06-25 06:14:45 UTC
Doc text looks good.

Comment 8 Kanagaraj 2014-07-14 08:48:43 UTC
Status information would be 

"UNKNOWN: Status could not be determined as glusterd is not running"

Comment 10 Shalaka 2014-09-22 04:35:16 UTC
Please review and sign-off edited doc text,

Comment 11 Ramesh N 2014-09-22 05:06:07 UTC
Doc text looks good except the fact that glusterd is refereed as "glusterFS Management service".

Comment 13 RamaKasturi 2014-10-17 05:40:45 UTC
From kanagaraj, i understand that these bugs have been moved to on_qa by errata. 

Since QE has not received the build yet, i am moving this bug back to assigned state. Please move it on to on_qa once builds are attached to errata.

Comment 15 RamaKasturi 2014-11-11 09:00:09 UTC
Will verify this bug when https://bugzilla.redhat.com/show_bug.cgi?id=1162518 is resolved.

Comment 16 RamaKasturi 2014-11-18 06:17:29 UTC
Verified and works fine with build nagios-server-addons-0.1.8-1.el6rhs.noarch.

When glusterd is down, status and status information for the below services would be 'UNKNOWN' and 'UNKNOWN: Status could not be determined as glusterd is not running"

SMB, NFS, CTDB, Quota, Self-Heal, and brick status of all the bricks present in the node where glusterd went down.

Comment 17 Pavithra 2014-12-24 09:00:45 UTC
Hi Ramesh,

Can you please review the edited doc text for technical accuracy and sign off?

Comment 18 Ramesh N 2014-12-24 11:08:25 UTC
Doc text looks good to me.

Comment 20 errata-xmlrpc 2015-01-15 13:47:43 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-0039.html


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