Bug 2014279

Summary: [UI] Used Capacity, IOPS and Throughput not showing correctly in OpenShift Data Foundation page
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: Jilju Joy <jijoy>
Component: ocs-operatorAssignee: Jose A. Rivera <jrivera>
Status: CLOSED CURRENTRELEASE QA Contact: Avi Liani <alayani>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.9CC: amagrawa, badhikar, ebenahar, etamir, jefbrown, jrivera, madam, muagarwa, nberry, nigoyal, ocs-bugs, odf-bz-bot, sostapov
Target Milestone: ---   
Target Release: ODF 4.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-01-07 17:46:31 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:
Attachments:
Description Flags
Screen recording none

Description Jilju Joy 2021-10-14 19:33:20 UTC
Created attachment 1833103 [details]
Screen recording

Description of problem (please be detailed as possible and provide log
snippests):
Used capacity is showing as 0 B in "OpenShift Data Foundation" page Overview tab and "Storage Systems" tab.
IOPS and Throughput are also incorrect in Storage Systems tab.

The values are correctly shown in "StorageSystem details" page.

Screen recording attached.


ceph status
  cluster:
    id:     cc326c18-ccdd-451c-9903-d5cd6a254881
    health: HEALTH_OK
 
  services:
    mon: 3 daemons, quorum a,b,c (age 77m)
    mgr: a(active, since 5h)
    mds: 1/1 daemons up, 1 hot standby
    osd: 3 osds: 3 up (since 77m), 3 in (since 6h)
    rgw: 1 daemon active (1 hosts, 1 zones)
 
  data:
    volumes: 1/1 healthy
    pools:   11 pools, 177 pgs
    objects: 19.73k objects, 75 GiB
    usage:   228 GiB used, 1.3 TiB / 1.5 TiB avail
    pgs:     177 active+clean
 
  io:
    client:   1.2 KiB/s rd, 3.0 KiB/s wr, 2 op/s rd, 0 op/s wr

Platform is VMware.
==============================================================
Version of all relevant components (if applicable):
OCP 4.9.0-0.nightly-2021-10-13-170616
ODF 4.9.0-189.ci


Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)?
Used Capacity, IOPS and Throughput values are not correct.

Is there any workaround available to the best of your knowledge?
No

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

Can this issue reproducible?
Yes

Can this issue reproduce from the UI?
Issue is in UI

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


Steps to Reproduce:
1. Install ODF and create a storage system from UI.


Actual results:
Used Capacity, IOPS and Throughput values are not correct.

Expected results:
Used Capacity, IOPS and Throughput values should be correct.

Additional info:

Comment 3 Bipul Adhikari 2021-10-18 14:08:08 UTC
This is happening because MCG is pushing metrics even in non-standalone mode under the same storage-system name which causes confusion for the dashboard. Metrics should be pushed for standalone mode only.

Comment 19 Avi Liani 2021-11-16 13:07:27 UTC
test on :

OCP : 4.9.0-0.nightly-2021-11-15-194804
ODF : 4.9.0-237.ci

Faild !

The UI show different output on different cards, will it should show the same.

Comment 21 Avi Liani 2021-11-22 06:38:04 UTC
As mention in the above comment, this is working as expected, so moving to verified.