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:
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.
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.
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.
I don't think that the fix was backported to 4.15 branches, Bipul please confirm Moving it to POST
This bug is merged in 4.15 branch itself. Moving it to Modified.
Storage usage metrics are shown correctly. --> VERIFIED Tested with odf 4.15.0-134.
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