Bug 2213085 - [Stretch cluster] UI - Add capacity failure should carry proper error message
Summary: [Stretch cluster] UI - Add capacity failure should carry proper error message
Keywords:
Status: POST
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: management-console
Version: 4.13
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ODF 4.14.0
Assignee: Debjyoti Pandit
QA Contact: Joy John Pinto
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-06-07 06:28 UTC by Joy John Pinto
Modified: 2023-08-10 08:33 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github red-hat-storage odf-console pull 944 0 None open Bug 2213085: add capacity error message 2023-08-08 09:37:33 UTC

Description Joy John Pinto 2023-06-07 06:28:31 UTC
Created attachment 1969455 [details]
Add capacity UI error

Description of problem (please be detailed as possible and provide log
snippests):
[Stretch cluster] UI - Add capacity failure should carry proper error message
i.e. If the odf does not have enough storage capacity in stretch mode lso cluster.. Adding capacity fails with message "An error occured"

version of all relevant components (if applicable):
OCP 4.13.0-0.nightly-2023-06-05-212836
ODF 4.13.0-207


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

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

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?
Yes

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

Steps to Reproduce:
1. Install ocp cluster 
2. Add disk in vsphere and install local storage operator
3. Install ODf and Create storage system using local storage and stretch mode enabled
4. Through openshift UI try to Add capacity
5. If the available capacity is less than required capacity. Proper error messgae is not required


Actual results:
While adding capacity if the available capacity is less than required capacity. Proper error messgae is not displayed


Expected results:
Proper error message should be displayed along with the reason for error

Additional info:
Refer attachment Add capacity UI error: Here for 4 osd we require 400GB but since only 240GB is available, adding capacity fails. But the error messgae displayed does not specify the reason of failure

Comment 2 Joy John Pinto 2023-06-07 06:53:21 UTC
Correction for steps to reproduce:
5. If the available capacity is less than the required capacity. Proper error messgae is not displayed

Comment 3 Bipul Adhikari 2023-06-07 12:58:06 UTC
We need the queries metioned in https://bugzilla.redhat.com/show_bug.cgi?id=2209012#c27 replied before we can proceed with this.

Comment 4 Joy John Pinto 2023-06-16 07:31:16 UTC
The queries are answered in https://bugzilla.redhat.com/show_bug.cgi?id=2209012#c30, Similar behaviour is seen on non stretch LSO cluster upon trying to add capacity through thin-csi storage class.

Comment 5 Mudit Agarwal 2023-08-02 15:55:39 UTC
Please attach the PR link when the bug moves to POST.


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