Bug 1842390

Summary: [GSS] cephmetrics grafana dashboard do not show disk IOPS/Throughput in RHCS 3.3
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Niharika Neervani <nneervan>
Component: Ceph-MetricsAssignee: Zack Cerza <zcerza>
Status: CLOSED ERRATA QA Contact: Sunil Angadi <sangadi>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.3CC: branto, ceph-eng-bugs, gmeno, gsitlani, jbiao, kchai, lithomas, mmuench, sangadi, tserlin, zcerza
Target Milestone: ---   
Target Release: 3.3z7   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: cephmetrics-ansible-2.0.10-1.el7cp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-06 18:32:04 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 Niharika Neervani 2020-06-01 07:50:33 UTC
** Description of problem:

- [Disk  IOPS] and [Disk Throughput] is giving N/A in grafana dashboard.
- Data is collected in prometheus server.
- If we access above graphs, we receive error "Dashboard not found"

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

RHCS 3.3
cephmetrics-ansible-2.0.9-1.el7cp.x86_64

** How reproducible:

Always

** Steps to Reproduce:

1. Deploy new RHCS 3.3 cluster
2. Install cephmetrics via cephmetrics-ansible 

** Actual results:

Graphs section for Disk iops and Disk Throughput
gives N/A, even with client IO.

** Expected results:

Graphs for Disk IOPS and Disk Throughput in RHCS 3.3


Additional info:

Comment 1 Niharika Neervani 2020-06-01 07:54:58 UTC
The issue was previously reported via https://bugzilla.redhat.com/show_bug.cgi?id=1753942#add_comment, and it was fixed with version cephmetrics-2.0.9-1.el7cp.
However, the issue still exists and is reproducible. Env details will be provided soon.

Comment 4 Kefu Chai 2020-07-09 11:01:16 UTC
Hi Boris, do you have any quick thoughts?

Comment 5 Zack Cerza 2020-07-09 21:33:26 UTC
Thanks for leaving the test machine up! I was able to find and fix the bug. A PR is attached, and you can see the fix in place in a separate copy of the dashboard:

http://10.74.255.61:3000/d/9Rpk5jGMz/ceph-at-a-glance-bz1842390?refresh=15s&orgId=1

Comment 20 errata-xmlrpc 2021-05-06 18:32: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 (Important: Red Hat Ceph Storage 3.3 Security and Bug Fix Update), 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/RHSA-2021:1518