Bug 2225223 - [UI] 'Other' PVC appears on Requested capacity card
Summary: [UI] 'Other' PVC appears on Requested capacity card
Keywords:
Status: ON_QA
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: management-console
Version: 4.14
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: ODF 4.14.0
Assignee: Debjyoti Pandit
QA Contact: Daniel Osypenko
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-24 16:11 UTC by Daniel Osypenko
Modified: 2023-08-16 14:49 UTC (History)
5 users (show)

Fixed In Version: 4.14.0-110
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-07-24 17:44:47 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github red-hat-storage odf-console pull 933 0 None open Bug 2225223: other stats data for breakdown card 2023-07-27 11:28:03 UTC

Description Daniel Osypenko 2023-07-24 16:11:14 UTC
Created attachment 1977331 [details]
other-pvc-on-card

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

When number of PVCs created in one project an "Other" pvc appears on Requested capacity cards breakdown with size = 0

Version of all relevant components (if applicable):


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

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?
5/5

Can this issue reproduce from the UI?
5/5

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

Steps to Reproduce:
1. Add PVC
2. Deploy app and attach PVC
3. Fill capacity
4. Login to management console and navigate to Block and Device tab under Storage System details


Actual results:
"Other" PVC with grey square appears

Expected results:
Requested capacity breakdown card shows only existed PVCs and their occupation size

Additional info:

Comment 3 Sanjal Katiyar 2023-07-24 17:44:47 UTC
you should be able to see same behaviour for other dropdown options as well...

closing it, feel free to re-open if there is any other requirement for this BZ (other than the one present in the description)...

Comment 4 Sanjal Katiyar 2023-07-25 08:25:41 UTC
there is however one change we can make, which is to show "Others" only when total resources are more than 5 (as current Card represents top 5 consumers)... so fix is diff from the ask of the BZ, still good to be fixed...

Comment 5 Daniel Osypenko 2023-07-25 08:43:44 UTC
Thanks Sanjal. 
I was following the tooltip, but my understanding of it is another.

The tooltip says "all other capacity usage that are not a part of the top 5 consumers" - "Other 0GiB" is not presenting "other capacity usage that are not a part of the top 5 consumers" because there is no usage and no other PVCs in the namespace, hence nothing to accumulate.

Correcting the Expected results adding clarification: 
Requested capacity breakdown card shows only existed PVCs and their occupation size.  -> 
Requested capacity breakdown card shows only existed PVCs and their occupation size. If a number of total resources is larger than 5 and no other Persistent Volumes in the namespace "Other 0GiB" should not appear.


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