Bug 1909043

Summary: OCP + OCS 4.7 Internal - Storage cluster creation throws warning when zone=0 in VMware
Product: OpenShift Container Platform Reporter: Neha Berry <nberry>
Component: Console Storage PluginAssignee: Afreen <afrahman>
Status: CLOSED ERRATA QA Contact: Pratik Surve <prsurve>
Severity: medium Docs Contact:
Priority: low    
Version: 4.7CC: afrahman, aos-bugs, bkunal, etamir, nibalach, nthomas, ocs-bugs, 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:46:32 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 Flags
Storage cluster creation page
none
Create storage cluster full page none

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