Bug 2213085
Summary: | [Stretch cluster] UI - Add capacity failure should carry proper error message | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat OpenShift Data Foundation | Reporter: | Joy John Pinto <jopinto> |
Component: | management-console | Assignee: | Nishanth Thomas <nthomas> |
Status: | CLOSED ERRATA | QA Contact: | Joy John Pinto <jopinto> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.13 | CC: | badhikar, ebenahar, muagarwa, nthomas, odf-bz-bot, skatiyar |
Target Milestone: | --- | ||
Target Release: | ODF 4.14.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | 4.14.0-115 | Doc Type: | No Doc Update |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2023-11-08 18:51:19 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: |
Correction for steps to reproduce: 5. If the available capacity is less than the required capacity. Proper error messgae is not displayed We need the queries metioned in https://bugzilla.redhat.com/show_bug.cgi?id=2209012#c27 replied before we can proceed with this. 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. Please attach the PR link when the bug moves to POST. 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 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 |
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