Bug 2225223

Summary: [UI] 'Other' PVC appears on Requested capacity card
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: Daniel Osypenko <dosypenk>
Component: management-consoleAssignee: Nishanth Thomas <nthomas>
Status: CLOSED ERRATA QA Contact: Daniel Osypenko <dosypenk>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.14CC: ebenahar, muagarwa, nthomas, odf-bz-bot, skatiyar, tdesala
Target Milestone: ---Keywords: Reopened
Target Release: ODF 4.14.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 4.14.0-110 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-11-08 18:52:55 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:

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.

Comment 11 Daniel Osypenko 2023-08-23 13:38:14 UTC
ODF 4.14.0-111.stable issue fixed. attachment # 1984798 [details]

Comment 15 errata-xmlrpc 2023-11-08 18:52:55 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 (Important: Red Hat OpenShift Data Foundation 4.14.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-2023:6832