Bug 2252035 - Discrepancy shown when viewing storage metrics - (but product can continue to work)
Summary: Discrepancy shown when viewing storage metrics - (but product can continue to...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: ceph-monitoring
Version: 4.13
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: ODF 4.15.0
Assignee: Bipul Adhikari
QA Contact: Filip Balák
URL:
Whiteboard:
Depends On:
Blocks: 2246375
TreeView+ depends on / blocked
 
Reported: 2023-11-29 06:20 UTC by Alexander
Modified: 2024-03-19 15:29 UTC (History)
7 users (show)

Fixed In Version: 4.15.0-123
Doc Type: Bug Fix
Doc Text:
.Discrepancy in storage metrics Previously, the capacity of a pool was reported incorrectly as wrong metrics query was used in the Raw Capacity card in the Block Pool dashboard. With this fix, the metrics query in the user interface is updated. As a result, the metrics of the total capacity of a block pool is reported correctly.
Clone Of:
Environment:
Last Closed: 2024-03-19 15:29:15 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github red-hat-storage odf-console pull 1131 0 None Merged Bug 2252035: Updates query to report raw availability of a pool 2024-01-09 08:14:05 UTC
Red Hat Product Errata RHSA-2024:1383 0 None None None 2024-03-19 15:29:26 UTC

Description Alexander 2023-11-29 06:20:08 UTC
Created attachment 2001926 [details]
Discrepancy shown and highlighted

Description of problem (please be detailed as possible and provide log
snippests):

The visualization incorrectly displays storage usage metrics. Showing some discrepancies in the reported usage and total capacity. In this case, the actual storage usage is 9.6TiB out of 108 TiB, the raw display however shows 9.6TiB out of a total of 36TiB


Version of all relevant components (if applicable):
ODF 4.13

Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)?
No impact, can continue to use the product

Is there any workaround available to the best of your knowledge?
The workaround is to look at other outputs and compare from there. 

Rate from 1 - 5 the complexity of the scenario you performed that caused this
bug (1 - very simple, 5 - very complex)?
Open Dashboard and view it

Can this issue reproducible?
Open Dashboard and view it

Can this issue reproduce from the UI?
Open Dashboard and view it

If this is a regression, please provide more details to justify this:


Steps to Reproduce:
1. Discrepancy shown and highlighted in attachment
2.
3.


Actual results:


Expected results:


Additional info:

Comment 3 Bipul Adhikari 2023-11-29 10:32:36 UTC
The screenshot attached shows the Raw Capacity of a particular block pool. Could you perhaps share the raw capacity image of the block and file dashboard as well? It could well be that the default pool is of 36 Tib and the total cluster is actually of 108TiB as you mentioned.

Comment 6 Bipul Adhikari 2024-01-09 08:15:27 UTC
Yes there are some updates the query in use was wrong: 
The query currently used was indeed showing the logical amount ( ceph_pool_max_avail )
We have updated the query in the attached PR to ( ceph_pool_avail_raw )

This should fix the issue seen here.

Comment 7 Bipul Adhikari 2024-01-09 08:16:23 UTC
As this is a low severity issue we will not backport it to 4.14.z. Please do update me if you think a backport to 4.14 is necessary for the cu.

Comment 8 Mudit Agarwal 2024-01-09 09:36:43 UTC
I don't think that the fix was backported to 4.15 branches, Bipul please confirm

Moving it to POST

Comment 11 Bipul Adhikari 2024-01-22 04:46:24 UTC
This bug is merged in 4.15 branch itself. Moving it to Modified.

Comment 13 Filip Balák 2024-02-06 11:28:45 UTC
Storage usage metrics are shown correctly. --> VERIFIED

Tested with odf 4.15.0-134.

Comment 15 errata-xmlrpc 2024-03-19 15:29:15 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 OpenShift Data Foundation 4.15.0 security, enhancement, & 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-2024:1383


Note You need to log in before you can comment on or make changes to this bug.