Bug 1867400
Summary: | [OCs 4.5]UI should not allow creation of second storagecluster of different mode in a single OCS | ||||||
---|---|---|---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Neha Berry <nberry> | ||||
Component: | Console Storage Plugin | Assignee: | Afreen <afrahman> | ||||
Status: | CLOSED ERRATA | QA Contact: | Neha Berry <nberry> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 4.5 | CC: | afrahman, anbehl, aos-bugs, asachan, assingh, badhikar, bkunal, fbalak, jefbrown, madam, nthomas, ocs-bugs, sagrawal, ygalanti | ||||
Target Milestone: | --- | ||||||
Target Release: | 4.7.0 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2021-02-24 15:15:27 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: | |||||||
Attachments: |
|
Description
Neha Berry
2020-08-09 16:21:32 UTC
Need UX Input on where and what message to show. Is it possible to turn this CR to [Internal] after one storage cluster is created for this use case? It will be a temporary solution until the creation of storage cluster will be a part of the operator installation flow (which is planned for 4.7/4.8). In that flow we will not have this CR after the installation is completed. >> Is it possible to turn this CR to [Internal] after one storage cluster is created for this use case?
@shiri, We can't edit the CSV itself to make it internal not a right approch. We just need a proper message to be displayed to used the blocking from UI is already happening.
Let do a proper fix for 4.7/4.8.
This will be solved as part of the Wizard changes: https://marvelapp.com/prototype/12i47i8j/screen/73606066 @afrahman Yuval, are you taking this as Shiri is leaving? Do you have any updates? we already shared a UI suggestion of how to solve this issue, see design: https://marvelapp.com/prototype/12i47i8j/screen/73606066 (In reply to Yuval from comment #8) > we already shared a UI suggestion of how to solve this issue, see design: > https://marvelapp.com/prototype/12i47i8j/screen/73606066 I suggest to disable Create button after one StorageCluster is created so that user can not access installation wizard at all when StorageCluster is installed. There can be a tooltip on the disabled button with note why it is disabled. Created attachment 1755647 [details] screencast of the new alert window Verified the fix on a Vmware based internal mode cluster: OCP = 4.7.0-0.nightly-2021-02-06-084550 OCS = ocs-operator.v4.7.0-254.ci Steps Performed: ===================== 1. Install OCP 4.7 latest nightly 2. Install latest OCS 4.7 nightly accepted build 3. Navigate to Installed Operators->Operator details->Storagecluster tab 4. Click on Create Storage Cluster button Observation: ================= A warning alert window appears A warning Alert window with two clickable options appears on the screen, (even before we can select any different/same mode) which informs that "Storage Cluster exists" Storage Cluster exists A storage cluster ocs-storagecluster is already created. You cannot create another storage cluster. P.S: but the CLose (X) button on the new window does not work, hence raised a new bug to track the fix for this issue : Bug 1926072 Based on the fact that UI now blocks users to create a 2nd storagecluster if one already exists, moving this BZ to verified state. Though, IMHO, there is a scope to make a slight change in the content of the Alert window(to be tracked in the same new bug 1926072#c2) 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 (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement 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-2020:5633 |