Bug 1506200 - cephmetrics.gauge.ceph in json files
Summary: cephmetrics.gauge.ceph in json files
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
unspecified
high
Target Milestone: rc
: 3.0
Assignee: ceph-eng-bugs
QA Contact: ceph-qe-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-25 11:45 UTC by Lubos Trilety
Modified: 2017-12-05 23:49 UTC (History)
6 users (show)

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


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github https://github.com/ceph cephmetrics pull 148 0 None None None 2017-10-25 17:14:29 UTC
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-25 11:45:18 UTC
Description of problem:
A lot of Ceph-metrics dashboard json files uses 'cephmetrics.gauge.ceph' for some measures etc. In most cases it doesn't matter it's not used anyway.

A following monitor in some shape is present there:
collectd.obj-mon-1.storage.lab.cephmetrics.gauge.ceph.mon

There's one exception which causes an issue in the dashboard.
In osd-node-detail.json file there's:
"query": "collectd.$osd_servers.$domain.cephmetrics.gauge.ceph.osd.*",

Because of this no disks are displayed on 'OSD Node Detail' dashboard when non default cluster name is used.


Version-Release number of selected component (if applicable):
cephmetrics-1.0-6.el7cp.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Install Ceph-metrics for Ceph cluster with some name different than ceph
2. Look on 'OSD Node Detail' dashboard
3. Check Ceph-metrics dashboard files

Actual results:
There's no disks available on 'OSD Node Detail' dashboard and so some charts shows no data.
There's a lot of lines where a 'cephmetrics.gauge.ceph' is used in json files.

Expected results:
There should not be any occurrence of cephmetrics.gauge.ceph in those json files, instead there should be cephmetrics.gauge.$cluster_name or the line should be removed completely.
'OSD Node Detail' dashboard should show proper data.

Additional info:

Comment 1 Federico Lucifredi 2017-10-25 11:53:46 UTC
If there is a fix quickly, we will take it.

Comment 2 Zack Cerza 2017-10-25 16:56:18 UTC
I'll take care of this one

Comment 3 Zack Cerza 2017-10-25 17:14:29 UTC
PR submitted upstream: https://github.com/ceph/cephmetrics/pull/148

Comment 4 Zack Cerza 2017-10-26 15:29:01 UTC
PR is merged

Comment 9 Lubos Trilety 2017-11-01 08:24:06 UTC
Tested with:
cephmetrics-1.0-7.el7cp.x86_64

osd-node-detail.json was fixed.
collectd.obj-mon-1.storage.lab.cephmetrics.gauge.ceph.mon remains

Comment 12 errata-xmlrpc 2017-12-05 23:49:04 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.