Bug 1537035

Summary: [cephmetrics] Ceph-Pools: displays pools which are deleted.
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Madhavi Kasturi <mkasturi>
Component: Ceph-MetricsAssignee: Boris Ranto <branto>
Status: CLOSED ERRATA QA Contact: Pratik Surve <prsurve>
Severity: medium Docs Contact: Aron Gunn <agunn>
Priority: high    
Version: 2.5CC: agunn, anharris, branto, ceph-eng-bugs, gmeno, hnallurv, jbrier, kdreyer, mkasturi, pcuzner, rperiyas
Target Milestone: rc   
Target Release: 3.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cephmetrics-2.0-3.el7cp Doc Type: Bug Fix
Doc Text:
.The _Ceph-pools_ Dashboard no longer displays previously deleted pools Previously in the _Red Hat Ceph Storage Dashboard_, the _Ceph-pools_ Dashboard continued to reflect pools which were deleted from the Ceph Storage Cluster. With this update to Ceph they are no longer shown after being deleted.
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    

Description Madhavi Kasturi 2018-01-22 10:21:40 UTC
Description of problem:
The Ceph-pools grafana page, displays the name of the pools which are deleted.

Version-Release number of selected component (if applicable):
[root@dell-r730-014 cephmetrics-ansible]# ceph -v
ceph version 10.2.10-14.el7cp (b05aecbcede52a89a654e9f2bec179c2050ddff6)
[root@dell-r730-014 cephmetrics-ansible]# 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

How reproducible:
always

Steps to Reproduce:
1. Deploy a ceph cluster 
2. Install cephmetrics-ansible on the ansible node.
3. Create pools 
4. The newly added pools reflects in the following grafana pages 
   -'Ceph-pools'
   - 'At a glance'
   - 'ceph cluster'
 
5. Remove the pools from cluster
6. The grafana page, 'At a glance', 'ceph cluster' reflects the current pool number.
7. However, the grafana page 'ceph-pools', reflects the deleted pools are present[ even after waiting for over 1 minute.]

Actual results:
If the pools are deleted from the cluster, then 'ceph-pools' grafana page should also reflect the same.

Expected results:
If the pools are deleted, then 'ceph-pools' page should not display the deleted pools.

Additional info:
The pools present at the time of screenshot 
[root@dell-r730-014 cephmetrics-ansible]# ceph osd lspools
0 rbd,1 cephfs_data,2 cephfs_metadata,3 .rgw.root,4 default.rgw.control,5 default.rgw.data.root,6 default.rgw.gc,7 default.rgw.log,

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

Comment 13 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