Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1105568 - [Nagios] - When glusterd is stopped, all the process displays incorrect status information.
[Nagios] - When glusterd is stopped, all the process displays incorrect statu...
Status: CLOSED ERRATA
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: gluster-nagios-addons (Show other bugs)
3.0
Unspecified Unspecified
medium Severity low
: ---
: RHGS 3.0.3
Assigned To: Ramesh N
RamaKasturi
: ZStream
Depends On: 1162518
Blocks: 1087818
  Show dependency treegraph
 
Reported: 2014-06-06 08:26 EDT by RamaKasturi
Modified: 2015-05-15 13:39 EDT (History)
7 users (show)

See Also:
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.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-01-15 08:47:43 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:0039 normal SHIPPED_LIVE Red Hat Storage Console 3.0 enhancement and bug fix update #3 2015-01-15 13:46:40 EST

  None (edit)
Description RamaKasturi 2014-06-06 08:26:12 EDT
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 01:13:17 EDT
NOT A BLOCKER -- Should be planned for ASYNC Errata release.
Comment 2 Timothy Asir 2014-06-12 05:02:45 EDT
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 05:21:49 EDT
Sorry i posted in the wrong place
Comment 4 Shalaka 2014-06-18 01:53:57 EDT
Please add doc text for this known issue.
Comment 5 Ramesh N 2014-06-20 04:26:47 EDT
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 13:25:48 EDT
Please review and signoff the edited doc text.
Comment 7 Ramesh N 2014-06-25 02:14:45 EDT
Doc text looks good.
Comment 8 Kanagaraj 2014-07-14 04:48:43 EDT
Status information would be 

"UNKNOWN: Status could not be determined as glusterd is not running"
Comment 10 Shalaka 2014-09-22 00:35:16 EDT
Please review and sign-off edited doc text,
Comment 11 Ramesh N 2014-09-22 01:06:07 EDT
Doc text looks good except the fact that glusterd is refereed as "glusterFS Management service".
Comment 13 RamaKasturi 2014-10-17 01:40:45 EDT
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 04:00:09 EST
Will verify this bug when https://bugzilla.redhat.com/show_bug.cgi?id=1162518 is resolved.
Comment 16 RamaKasturi 2014-11-18 01:17:29 EST
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 04:00:45 EST
Hi Ramesh,

Can you please review the edited doc text for technical accuracy and sign off?
Comment 18 Ramesh N 2014-12-24 06:08:25 EST
Doc text looks good to me.
Comment 20 errata-xmlrpc 2015-01-15 08:47:43 EST
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.