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: CLOSED ERRATA
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: Nishanth Thomas
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-11-08 18:52 UTC (History)
6 users (show)

Fixed In Version: 4.14.0-115
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-11-08 18:51:19 UTC
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
Github red-hat-storage odf-console pull 980 0 None open [release-4.14] Bug 2213085: fix: add capacity error message 2023-08-23 07:35:15 UTC
Github red-hat-storage odf-console pull 981 0 None open [release-4.14-compatibility] Bug 2213085: fix: add capacity error message 2023-08-23 07:35:20 UTC
Red Hat Product Errata RHSA-2023:6832 0 None None None 2023-11-08 18:52:27 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.

Comment 12 Joy John Pinto 2023-09-15 14:17:53 UTC
Verified with OCP 4.14.0-0.nightly-2023-09-15-055234 and ODF 4.14.0-134

When the capacity or devices are lower than stretch cluster requirement, proper error message is displayed, PFA, bug2213085_verfication.png

Comment 14 errata-xmlrpc 2023-11-08 18:51:19 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


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