Bug 1090881

Summary: [Nagios] - When glusterd is stopped on all the nodes in a cluster, volume utilization shows "glfs_init() failed"
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: RamaKasturi <knarra>
Component: nagios-server-addonsAssignee: Nishanth Thomas <nthomas>
Status: CLOSED ERRATA QA Contact: RamaKasturi <knarra>
Severity: medium Docs Contact:
Priority: medium    
Version: rhgs-3.0CC: asrivast, dpati, kmayilsa, rhsc-qe-bugs
Target Milestone: ---Keywords: Reopened
Target Release: RHGS 3.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: gluster-nagios-addons-0.1.0-66.gitaa44342.el6rhs, nagios-server-addons-0.1.0-75.git2efd1bf.el6rhs Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-22 19:08:43 UTC Type: Bug
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
Volume utilization while glusterd is down in all the nodes. none

Description RamaKasturi 2014-04-24 10:56:29 UTC
Description of problem:
When glusterd is stopped on all the nodes in a cluster, volume utilization status information "glfs_init()" failed.

Version-Release number of selected component (if applicable):
nagios-server-addons-0.1.0-46.git7e39773.el6.x86_64.rpm
nagios-plugins-nrpe-2.14-6.el6.x86_64.rpm

How reproducible:
Always

Steps to Reproduce:
1. Install nagios
2. Create a cluster and have volumes in the cluster.
3. Now stop glusterd on all the nodes in the cluster.

Actual results:
Status information of Volume Utilization shows glfs_init() failed.

Expected results:
status information of volume Utilization should show "OK:Volume Utilization:%20"

Additional info:

Comment 1 Dusmant 2014-05-16 10:12:04 UTC
Expected Result should be "Volume Utilization: UNKNOWN , <Reason for why is it unknown>"

Comment 2 Dusmant 2014-05-16 10:14:26 UTC

*** This bug has been marked as a duplicate of bug 1095611 ***

Comment 3 RamaKasturi 2014-05-16 12:52:39 UTC
Hi Dusmant,

   This bug cannot be closed as the steps to reproduce the issue are different. Hence QE would like to verify both the bugs once the patch is available, so reopening the bug again.

Thanks
kasturi.

Comment 4 Nishanth Thomas 2014-05-19 06:39:21 UTC
Fixed in version:
gluster-nagios-addons-0.1.0-66.gitaa44342.el6rhs
nagios-server-addons-0.1.0-75.git2efd1bf.el6rhs

Comment 5 RamaKasturi 2014-05-19 11:10:51 UTC
Verified and works fine in the build "nagios-server-addons-0.1.0-75.git2efd1bf.el6rhs.x86_64", gluster-nagios-addons-0.1.0-66.gitaa44342.el6rhs.x86_64.

when glusterd goes down in all the nodes in the cluster, volume utilization shows status as "UNKNOWN" and status information as "Failed to get the Volume Utilization Data".

Comment 6 RamaKasturi 2014-05-19 11:12:29 UTC
Created attachment 897110 [details]
Volume utilization while glusterd is down in all the nodes.

Comment 8 errata-xmlrpc 2014-09-22 19:08: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.

http://rhn.redhat.com/errata/RHEA-2014-1277.html