Bug 1909043 - OCP + OCS 4.7 Internal - Storage cluster creation throws warning when zone=0 in VMware
Summary: OCP + OCS 4.7 Internal - Storage cluster creation throws warning when zone=0 ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Console Storage Plugin
Version: 4.7
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
: 4.7.0
Assignee: Afreen
QA Contact: Pratik Surve
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-12-18 08:55 UTC by Neha Berry
Modified: 2021-02-24 15:46 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-02-24 15:46:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Storage cluster creation page (71.66 KB, image/png)
2020-12-18 08:55 UTC, Neha Berry
no flags Details
Create storage cluster full page (159.24 KB, image/png)
2020-12-18 08:58 UTC, Neha Berry
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 7762 0 None closed Bug 1909043: Show an info instead of warning for flexible scaling on internal mode 2021-02-11 08:09:01 UTC
Red Hat Product Errata RHSA-2020:5633 0 None None None 2021-02-24 15:46:52 UTC

Description Neha Berry 2020-12-18 08:55:08 UTC
Created attachment 1740174 [details]
Storage cluster creation page

Description of problem:
-------------------------------
With OCP 4.7 (flexible scaling) is introduced where, if we have zone length less than 3 then following warning is enabled on the screen:

>>Warning alert:The number of selected zones is less than the minimum requirement of 3. If not modified, a host-based failure domain deployment will be enforced.

But for platforms like VMware and Bare metal where there are racks instead of a zone, we need to handle this warning differently, as zones are expected to be 0. Seeing this warning can be confusing to users for platforms which do not use zone explicitly.


Version-Release number of selected component (if applicable):
-------------------------------------------------------
OCP version - 4.7.0-0.nightly-2020-12-14-165231
OCS version - 4.7.0-198.ci

How reproducible:
-------------------
Always

Steps to Reproduce:
-----------------------
1. Install OCP 4.7 on say VMware which uses racks rather than zones
2. Install OCS operator 4.7 
3. Click on Create Storage cluster and the attached page is displayed


Actual results:
------------------
Even for vmware where zones are NA, the warning is displayed which is confusing for the user

Warning alert:The number of selected zones is less than the minimum requirement of 3. If not modified, a host-based failure domain deployment will be enforced.

Expected results:
--------------------
It should be handled differently for platforms which use racks



Additional info:
---------------------

Also, how will it affect 1 AZ AWS clusters? it will show the warning and that is expected.. right ?

Comment 1 Neha Berry 2020-12-18 08:58:08 UTC
Created attachment 1740185 [details]
Create storage cluster full page

Comment 6 Eran Tamir 2020-12-24 07:26:15 UTC
This is a valid message as discussed. We agreed to soften the visual if possible. 

Zones expected in VMWare and BMO with stretch cluster (with or without Arbiter). 
Also, will be used between racks.

Comment 9 Yuval 2021-01-04 08:58:53 UTC
sounds good @afrahman

Comment 21 errata-xmlrpc 2021-02-24 15:46:32 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 (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


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