Bug 1537505

Summary: [cephmetrics] Ceph OSD Information: OSD ids in 'Filestore OSD latencies' are repeated
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Madhavi Kasturi <mkasturi>
Component: Ceph-MetricsAssignee: Boris Ranto <branto>
Status: CLOSED ERRATA QA Contact: Sidhant Agrawal <sagrawal>
Severity: medium Docs Contact: Aron Gunn <agunn>
Priority: unspecified    
Version: 2.5CC: agunn, anharris, branto, ceph-eng-bugs, gmeno, hnallurv, jbrier, kdreyer, mkasturi, rperiyas
Target Milestone: rc   
Target Release: 3.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: RHEL: ceph-12.2.5-34.el7cp Ubuntu: ceph_12.2.5-18redhat1xenial Doc Type: Bug Fix
Doc Text:
.OSD ids in 'Filestore OSD latencies' are no longer repeated Previously, after rebooting OSDs, on the Red Hat Storage Dashboard page _Ceph OSD Information_ the OSD IDs were repeated in the section _Filestore OSD Latencies_. With this update to {product} the OSD IDs are no longer repeated on reboot of an OSD node in the _Ceph OSD Information_ dashboard. This was fixed as a part of a redesign of the underlying data reporting.
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-26 18:18:23 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, 1584264    
Attachments:
Description Flags
Filestore OSD latencies none

Description Madhavi Kasturi 2018-01-23 12:13:34 UTC
Created attachment 1384825 [details]
Filestore OSD latencies

Description of problem:
In the Grafana page, Ceph OSD Information the OSD ids are repeated in the section Filestore OSD latencies. 

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

[root@dell-r730-014 ~]# rpm -qa | grep ansible
ceph-ansible-3.0.18-1.el7cp.noarch
cephmetrics-ansible-1.0-8.el7cp.x86_64
ansible-2.4.1.0-1.el7ae.noarch

[root@dell-r730-014 ~]# ceph -v
ceph version 10.2.10-14.el7cp (b05aecbcede52a89a654e9f2bec179c2050ddff6)
[root@dell-r730-014 ~]# 

How reproducible:
Always

Steps to Reproduce:
1. Deploy a ceph cluster
2. Install cephmetrics-ansible on the ansible node of the cluster.
3. Rebooted the OSD nodes
4. In the grafana page 'Ceph OSD Information' the OSD id's are repeated.

Actual results:
The OSD ids are repeated 

Expected results:
The OSD IDs should be mentioned only once.

Additional info:
[root@dell-r730-014 ~]# ceph osd tree
ID WEIGHT  TYPE NAME              UP/DOWN REWEIGHT PRIMARY-AFFINITY 
-1 9.79559 root default                                             
-2 3.26520     host dell-r730-030                                   
 0 3.26520         osd.0               up  1.00000          1.00000 
-3 3.26520     host dell-r730-028                                   
 1 3.26520         osd.1               up  1.00000          1.00000 
-4 3.26520     host dell-r730-029                                   
 2 3.26520         osd.2               up  1.00000          1.00000

Comment 10 Boris Ranto 2018-07-11 10:32:53 UTC
Unfortunately, we were able to hit similar issues in cephmetrics 2.0. The fix is currrently being discussed upstream:

https://github.com/ceph/ceph/pull/22732

Comment 17 errata-xmlrpc 2018-09-26 18:18:23 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-2018:2819