Bug 2124282

Summary: Utilization values are misreported and isn't matching
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: Bipin Kunal <bkunal>
Component: ocs-operatorAssignee: arun kumar mohan <amohan>
Status: CLOSED ERRATA QA Contact: Ramakrishnan Periyasamy <rperiyas>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.9CC: amagrawa, amohan, badhikar, bkunal, ebenahar, jarrpa, kramdoss, madam, mbukatov, mmuench, muagarwa, nigoyal, ocs-bugs, odf-bz-bot, rcyriac, rperiyas, sheggodu, sostapov
Target Milestone: ---   
Target Release: ODF 4.9.13   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2124280 Environment:
Last Closed: 2022-12-12 21:09:12 UTC Type: ---
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: 2124280    
Bug Blocks:    

Comment 4 arun kumar mohan 2022-10-20 04:10:16 UTC
Mudit, can you please take a look at the 4.9 branch PR: https://github.com/red-hat-storage/ocs-operator/pull/1842 
It should be good to go... Let me know if any has to be done from my end

Comment 5 Mudit Agarwal 2022-10-20 07:33:19 UTC
Done

Comment 18 Ramakrishnan Periyasamy 2022-12-06 15:50:51 UTC
Observed IOPS, Throughput and Used Capacity values in Performance card are closely matching with StorageSystems Block and File card.
But there were around ~2ms Latency difference between those 2 pages which is big difference.

After discussion with Arun came to know about comment https://bugzilla.redhat.com/show_bug.cgi?id=2026144#c20 that value calculation of those params are using different queries and timeline and due to that there is a difference expected, so according to this comment moving this BZ to verified state.

Also Opened new BZ https://bugzilla.redhat.com/show_bug.cgi?id=2151291 to track the value mismatch issue mentioned in comment https://bugzilla.redhat.com/show_bug.cgi?id=2026144#c20

Verified in version
$ oc get csv -n openshift-storage
NAME                   DISPLAY                       VERSION   REPLACES               PHASE
mcg-operator.v4.9.13   NooBaa Operator               4.9.13    mcg-operator.v4.9.12   Succeeded
ocs-operator.v4.9.13   OpenShift Container Storage   4.9.13    ocs-operator.v4.9.12   Succeeded
odf-operator.v4.9.13   OpenShift Data Foundation     4.9.13    odf-operator.v4.9.12   Succeeded
$ ceph -v
ceph version 16.2.0-152.el8cp (e456e8b705cb2f4a779689a0d80b122bcb0d67c9) pacific (stable)

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 22 errata-xmlrpc 2022-12-12 21:09:12 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.9.13 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:8936

Comment 23 Red Hat Bugzilla 2023-12-08 04:30:30 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days