Bug 1499734 - 'Top 5' panels on 'Ceph Pools' dashboard are not working properly
Summary: 'Top 5' panels on 'Ceph Pools' dashboard are not working properly
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Metrics
Version: 3.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: rc
: 3.0
Assignee: Paul Cuzner
QA Contact: Lubos Trilety
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-09 09:59 UTC by Lubos Trilety
Modified: 2017-12-05 23:47 UTC (History)
6 users (show)

Fixed In Version: cephmetrics-1.0-4.el7cp
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-05 23:47:21 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:3387 0 normal SHIPPED_LIVE Red Hat Ceph Storage 3.0 bug fix and enhancement update 2017-12-06 03:03:45 UTC

Description Lubos Trilety 2017-10-09 09:59:30 UTC
Description of problem:
'Top 5' panels on 'Ceph Pools' dashboard don't show top 5 pools in the selected category. Instead they show first 5 pools ordered by chosen category.

Version-Release number of selected component (if applicable):
cephmetrics-grafana-plugins-0.1-372_g098fb9a.el7.centos.x86_64
cephmetrics-0.1-372_g098fb9a.el7.centos.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Create several pools, at least 5 (or have a rados gateway prepared and use it - 5 pools are created just for the gateway)
2. Create another pool(s)
3. Fill pools created in previous step with some data

Actual results:
Only pools created in first step are displayed in 'Top 5' panels. 

Expected results:
Top 5 pools in proper category should be displayed.

Additional info:

Comment 1 Paul Cuzner 2017-10-10 19:55:41 UTC
Queries needs to be updated to use a combination of limit for the top 5, with sortByMaxima calls

Comment 2 Paul Cuzner 2017-10-11 04:20:14 UTC
PR submitted upstream, pending review and merge
https://github.com/ceph/cephmetrics/pull/142

Comment 3 Zack Cerza 2017-10-11 16:20:22 UTC
Fix is merged

Comment 7 Lubos Trilety 2017-10-25 12:50:16 UTC
Tested with:
cephmetrics-1.0-6.el7cp.x86_64

Top 5 metrics seems to work properly.

Comment 10 errata-xmlrpc 2017-12-05 23:47:21 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://access.redhat.com/errata/RHBA-2017:3387


Note You need to log in before you can comment on or make changes to this bug.