Bug 2027681 - Utilization values are misreported and isn't matching
Summary: Utilization values are misreported and isn't matching
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: ocs-operator
Version: 4.9
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ODF 4.11.4
Assignee: arun kumar mohan
QA Contact: Ramakrishnan Periyasamy
URL:
Whiteboard:
Depends On: 2026144
Blocks: 2124280
TreeView+ depends on / blocked
 
Reported: 2021-11-30 12:50 UTC by Bipin Kunal
Modified: 2023-08-09 17:00 UTC (History)
15 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of: 2026144
: 2124280 (view as bug list)
Environment:
Last Closed: 2022-12-07 11:19:24 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github red-hat-storage ocs-operator pull 1433 0 None Merged Decreasing the timeout of 'ODF_standardized_metrics.rules' group to 30s 2022-10-12 13:48:53 UTC
Github red-hat-storage ocs-operator pull 1840 0 None Merged Bug 2027681: [release-4.11] Fix utilization values mismatch queries 2022-11-22 04:54:15 UTC
Github red-hat-storage ocs-operator pull 1879 0 None Merged Sync all the libsonnet changes to metrics deploy files 2022-11-16 15:24:14 UTC
Github red-hat-storage ocs-operator pull 1885 0 None Merged Bug 2027681: [release-4.11] Sync all the libsonnet changes to metrics deploy files 2022-11-22 13:36:03 UTC
Red Hat Product Errata RHBA-2022:8877 0 None None None 2022-12-07 11:19:40 UTC

Comment 3 Nitin Goyal 2022-03-01 07:33:59 UTC
Moving it to ocs as it is fixed there.

Comment 9 arun kumar mohan 2022-09-19 07:40:50 UTC
The PR is still under review: https://github.com/red-hat-storage/ocs-operator/pull/1761
Moving this out of 4.11.2

Comment 13 arun kumar mohan 2022-10-13 05:36:30 UTC
OCS-Operator PR is merged: https://github.com/red-hat-storage/ocs-operator/pull/1761
and Mudit has backported it to the previous builds

Comment 20 arun kumar mohan 2022-11-02 05:54:34 UTC
As observed in the original BZ's comment: https://bugzilla.redhat.com/show_bug.cgi?id=2026144#c20 , the TWO graphs will never match, because the Overview page shows the map representing the sum of Read+Writes whereas the StorageSystem's Utilization card shows separate/individual maps of Read and Write. So these maps will never match.

What we have done is, to make the queries and collection intervals same.

Comment 21 Tiffany Nguyen 2022-11-08 03:39:18 UTC
The new issue is seen on build 4.11.3-5.
1. ODF Overview page: - Performance card IOPs, Latency and Throughput datas are empty
2. ODF StorageSystems Details page -> Utilization card:
IOPS and Throughput data are showing correct except Latency which currently shows "Not available".
3. Data Foundation -> Storage Systems tab: Data are showing empty as well

See attached for more detail.

This is blocking the verification of this BZ.

Comment 29 arun kumar mohan 2022-11-21 06:18:23 UTC
PR created: https://github.com/red-hat-storage/ocs-operator/pull/1885 , for 4.11 branch.
@Sunil, please take a look

Comment 35 Ramakrishnan Periyasamy 2022-12-01 06:31:29 UTC
Observed IOPS, Latency, Throughput and Used Capacity values in Performance card are closely matching with StorageSystems Block and File card.

Verified in version
$ oc get csv -n openshift-storage
NAME                              DISPLAY                       VERSION   REPLACES                          PHASE
mcg-operator.v4.11.4              NooBaa Operator               4.11.4    mcg-operator.v4.11.3              Succeeded
ocs-operator.v4.11.4              OpenShift Container Storage   4.11.4    ocs-operator.v4.11.3              Succeeded
odf-csi-addons-operator.v4.11.4   CSI Addons                    4.11.4    odf-csi-addons-operator.v4.11.3   Succeeded
odf-operator.v4.11.4              OpenShift Data Foundation     4.11.4    odf-operator.v4.11.3              Succeeded

Note: 
1. During this test ran some IO 
2. Updated chart values for 24hrs in Performance and StorageSystems Block and File card
3. Took one specific time eg: 10.03 and gathered values for all mentioned params in 1st line 
4. Values are not exact but its closely matching, even time is not exact its +/- 0.02

Moving the BZ to verified state

Comment 39 errata-xmlrpc 2022-12-07 11:19:24 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 (Red Hat OpenShift Data Foundation 4.11.4 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/RHBA-2022:8877


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