Bug 1143995 - Brick utilization shows incorrect data for thinly provisioned LVs
Summary: Brick utilization shows incorrect data for thinly provisioned LVs
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
high
medium
Target Milestone: ---
: RHGS 3.0.3
Assignee: Darshan
QA Contact: Shruti Sampat
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-18 12:15 UTC by Sahina Bose
Modified: 2015-05-13 17:43 UTC (History)
10 users (show)

Fixed In Version: gluster-nagios-addons-0.1.13-1.el6rhs
Doc Type: Bug Fix
Doc Text:
Previously, when a brick was created from a thin-provisioned volume, the brick utilization would not display the actual brick utilization of the thin pool. With this fix, bricks with thin-logical volume display both the thin-logical volume utilization and the actual thin pool utilization.
Clone Of:
Environment:
Last Closed: 2015-01-15 13:49:49 UTC
Embargoed:


Attachments (Terms of Use)
screenshot (108.62 KB, image/png)
2014-11-23 17:31 UTC, Shruti Sampat
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1167771 0 high CLOSED [Nagios] RFE: Brick utilization service should monitor the thin-pool metadata utilization in case of thinly provisioned ... 2021-02-22 00:41:40 UTC
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

Internal Links: 1167771

Description Sahina Bose 2014-09-18 12:15:39 UTC
Description of problem:

When a brick is created from a thinly provisioned volume, the brick utilization does not show the actual utilization data. 

Version-Release number of selected component (if applicable):
3.0.0

How reproducible:
Always

Comment 1 Sahina Bose 2014-09-18 12:18:52 UTC
Rajesh, Could you provide more details on this bug?

Comment 2 rjoseph 2014-09-23 08:27:46 UTC
We need to provide LV utilization, thin pool data and meta-data utilization for each brick. For thin provisioning just checking the brick utilization is not enough. Even though you have space in your brick the thin pool might get pool. 

Check lvs command for more details.

Comment 5 Shruti Sampat 2014-11-23 17:30:06 UTC
Failed to verify this as the graph for thin-pool utilization is not shown correctly for existing bricks after gluster-nagios-addons package is updated on the server being monitored.

For new bricks, added after the package is updated, the graph is seen correctly.

Screenshot attached with the error seen in place of the thin-pool utilization graph.

Comment 6 Shruti Sampat 2014-11-23 17:31:02 UTC
Created attachment 960492 [details]
screenshot

Comment 7 Shalaka 2014-11-27 06:24:51 UTC
Please add doc text for this bug.

Comment 8 Darshan 2014-11-27 07:19:16 UTC
Done

Comment 10 Darshan 2014-11-27 10:51:29 UTC
     As a part of fix to the update problem, we run a script to migrate the data from old rrd file to new rrd file and we set RRD_STORAGE_TYPE to MULTIPLE so that different data sets are stored in different rrd files. 
     After updating nagios-server-addons package, the graphs for brick utilization will take some time(till first set of data gets populated to new rrd file) to appear.
     Both gluster-nagios-addons and nagios-server-addons packages have to be updated for this fix to work correctly.

Comment 12 Shruti Sampat 2014-12-04 12:58:18 UTC
Verified as fixed in gluster-nagios-addons-0.1.14-1.el6rhs.x86_64

Tested by upgrading from 3.0.2 to 3.0.3

Graphs appear correctly. Alerts and notifications also work as expected for thin pool and brick utilization.

Comment 13 Pavithra 2014-12-17 06:36:07 UTC
Hi Darshan,

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

Comment 14 Darshan 2014-12-17 06:42:35 UTC
Looks good.

Comment 16 errata-xmlrpc 2015-01-15 13:49:49 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.