Bug 1232646

Summary: [New] - Brick utilization graphs are not seen in the trends tab.
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: RamaKasturi <knarra>
Component: rhsc-monitoring-uipluginAssignee: anmol babu <anbabu>
Status: CLOSED ERRATA QA Contact: RamaKasturi <knarra>
Severity: unspecified Docs Contact:
Priority: high    
Version: rhgs-3.1CC: annair, nlevinki, rhs-bugs, rnachimu, sabose
Target Milestone: ---Keywords: Regression
Target Release: RHGS 3.1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rhsc-monitoring-uiplugin-0.2.3-1.el6rhs Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-29 05:34:01 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:
Bug Depends On:    
Bug Blocks: 1202842    

Description RamaKasturi 2015-06-17 08:42:28 UTC
Description of problem:
Brick utilization graphs should be present for all the volumes in the cluster in the trends tab. Brick utilization graphs are not seen in this build.

Nagios displays all the brick utilization graphs.

Version-Release number of selected component (if applicable):
rhsc-3.1.0-0.60.el6.noarch

How reproducible:
Always

Steps to Reproduce:
1. Install the latest rhsc build.
2. Run configure-gluster-nagios command to monitor nodes.
3. Now click on the trends tab.
4. click on the volumes from the tree view and click trends.

Actual results:
graph for volume utilization is seen.

Expected results:
Volume utilization + brick utilization graphs should be seen.

Additional info:

Comment 3 Ramesh N 2015-06-19 11:46:46 UTC
Looks like there something wrongs the trends.js used in UI Plugin. 
bricks length is coming as 0 in
trends.js: 108  for(var i = 0 ; i < bricks.length ; i++) {

We have to fix this.

Giving the devel ack

Comment 5 RamaKasturi 2015-07-07 13:07:31 UTC
Verified and works fine with build rhsc-3.1.0-0.61.el6.noarch.

Trends tab for volume utilization tab shows brick utilization graphs only for the space and not for thin-pool utilization. Same is captured in the bug below.

https://bugzilla.redhat.com/show_bug.cgi?id=1167305

Comment 6 errata-xmlrpc 2015-07-29 05:34:01 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/RHEA-2015-1494.html