Bug 1095611

Summary: [Nagios] when all bricks are in critical state, volume utilization is UNKNOWN with 'glfs_init() failed'
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Shruti Sampat <ssampat>
Component: gluster-nagios-addonsAssignee: Nishanth Thomas <nthomas>
Status: CLOSED ERRATA QA Contact: Shruti Sampat <ssampat>
Severity: medium Docs Contact:
Priority: medium    
Version: rhgs-3.0CC: asrivast, dpati, kmayilsa, knarra
Target Milestone: ---   
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:09:10 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:

Description Shruti Sampat 2014-05-08 07:46:02 UTC
Description of problem:
--------------------------

When all the bricks of a volume are in CRITICAL state, the volume utilization service changes state to UNKNOWN with the status information as "Volume Utilization UNKNOWN: glfs_init() failed "

The status information could be more meaningful.

Version-Release number of selected component (if applicable):
gluster-nagios-addons-0.1.0-25.git25f0bba.el6.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Kill the bricks processes ofa volume.
2. Check the volume utilization service.

Actual results:
Status information of the volume utilization service is "Volume Utilization UNKNOWN: glfs_init() failed"

Expected results:
The status information should be more meaningful like "Could not fetch utilization data" or something similar.

Additional info:

Comment 1 Dusmant 2014-05-16 10:14:27 UTC
*** Bug 1090881 has been marked as a duplicate of this bug. ***

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

Comment 3 Shruti Sampat 2014-05-20 11:32:34 UTC
Verified as fixed in gluster-nagios-addons-0.1.0-66.gitaa44342.el6rhs.x86_64. The volume utilization status information now reads the following when all bricks are CRITICAL -

UNKNOWN: Failed to get the Volume Utilization Data

Comment 5 errata-xmlrpc 2014-09-22 19:09:10 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