Bug 1538124

Summary: [cephmetrics] Graphs on few grafana pages are not displayed.
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Madhavi Kasturi <mkasturi>
Component: Ceph-MetricsAssignee: Boris Ranto <branto>
Status: CLOSED CURRENTRELEASE QA Contact: Madhavi Kasturi <mkasturi>
Severity: high Docs Contact: Aron Gunn <agunn>
Priority: high    
Version: 2.5CC: agunn, anharris, branto, ceph-eng-bugs, gmeno, hnallurv, mhackett, mkasturi, pcuzner, rperiyas
Target Milestone: rc   
Target Release: 2.5   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Known Issue
Doc Text:
.The Red Hat Ceph Storage Dashboard does not display certain graphs correctly The graphs _Top 5 Pools by Capacity Used_, and _Pool Capacity - Past 7 days_ are not displayed on the _Ceph Pools_ and _Ceph cluster_ dashboards. Also, on the _Ceph OSD Information_ dashboard, the graph _BlueStore IO Summary - all OSD's @ 95%ile_ displays an _Internal Error_.
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-22 10:18:55 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: 1536401    
Attachments:
Description Flags
graphs none

Description Madhavi Kasturi 2018-01-24 13:58:16 UTC
Created attachment 1385594 [details]
graphs

Description of problem:
On Few grafana pages the graphs are getting displayed.


Version-Release number of selected component (if applicable):
[root@magna076 ubuntu]# ceph -v
ceph version 10.2.10-14.el7cp (b05aecbcede52a89a654e9f2bec179c2050ddff6)
[root@magna076 ubuntu]# rpm -qa | grep ansible
ceph-ansible-3.0.19-1.el7cp.noarch
cephmetrics-ansible-1.0-8.el7cp.x86_64
ansible-2.4.1.0-1.el7ae.noarch

How reproducible:
always

Steps to Reproduce:
1. Deployed a ceph cluster
2. Installed cephmetrics as a root user.
3. Graphs are not plotted 
	- Grafana page - Ceph-pools ; Top 5 -> Top 5 Pools by Capacity Used ; displays -> No data to show.[ On 3.0 dashboard, its displayed]
	- grafana page - ceph cluster; Cluster Capacity -> Pool Capacity - Past 7 days -> No data points. [ On 3.0 dashboard, its displayed]

Also, Grafana page - Ceph OSD Information ;Bluestore OSD Latencies -> BlueStore IO Summary - all OSD's @ 95%ile ; displays -> Internal Server Error [On 3.0 dashboard, the same is displayed]

Actual results:


Expected results:
The graphs should be plotted

Additional info:

Comment 6 Madhavi Kasturi 2018-04-02 06:40:34 UTC
Hi Paul,

Sorry for the delay! the resources were being used in testing other releases.

The output ceph df --format=json, percent_used field is not present.

{"stats":{"total_bytes":6981846913024,"total_used_bytes":793583616,"total_avail_bytes":6981053329408},"pools":[{"name":"rbd","id":0,"stats":{"kb_used":0,"bytes_used":0,"max_avail":2210627781464,"objects":0}},{"name":"cephfs_data","id":1,"stats":{"kb_used":0,"bytes_used":0,"max_avail":2210627781464,"objects":0}},{"name":"cephfs_metadata","id":2,"stats":{"kb_used":3,"bytes_used":2068,"max_avail":2210627781464,"objects":20}},{"name":".rgw.root","id":3,"stats":{"kb_used":2,"bytes_used":1588,"max_avail":2210627781464,"objects":4}},{"name":"default.rgw.control","id":4,"stats":{"kb_used":0,"bytes_used":0,"max_avail":2210627781464,"objects":8}},{"name":"default.rgw.data.root","id":5,"stats":{"kb_used":0,"bytes_used":0,"max_avail":2210627781464,"objects":0}},{"name":"default.rgw.gc","id":6,"stats":{"kb_used":0,"bytes_used":0,"max_avail":2210627781464,"objects":32}},{"name":"default.rgw.log","id":7,"stats":{"kb_used":0,"bytes_used":0,"max_avail":2210627781464,"objects":128}}]}

Comment 8 Ramakrishnan Periyasamy 2018-04-03 05:35:39 UTC
clearing the needinfo flag, since Madhavi provided the required info in comment 6

Comment 9 Boris Ranto 2018-04-11 14:48:39 UTC
We should re-target this to ceph 2.x since these issues are occurring there.