Bug 1909096

Summary: OCP 4.7+OCS 4.7 - The Requested Cluster Capacity field needs to include the selected capacity in calculation in Review and Create Page
Product: OpenShift Container Platform Reporter: Neha Berry <nberry>
Component: Console Storage PluginAssignee: Afreen <afrahman>
Status: CLOSED ERRATA QA Contact: Neha Berry <nberry>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.7CC: aos-bugs, ebenahar, nthomas, ocs-bugs
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:47:00 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
Review Storage cluster page none

Description Neha Berry 2020-12-18 10:56:00 UTC
Created attachment 1740215 [details]
Review Storage cluster page

Description of problem:
-------------------------------
On OCP 4.7 + OCS 4.7 Create storage cluster flow in Internal mode, we now have a 3 step wizard:

1. Select capacity and nodes
2. Configure
3. Review and Create

Under  Review and Create -> Capacity and nodes, we have the following

>Requested Cluster Capacity: <blank> TiB * 3 replicas = 6 TiB (since I had selected 2 TB OSD size)

But it should be

Requested Cluster Capacity: 2 TiB * 3 replicas = 6 TiB

i.e. the selected "Requested capacity" from first page is not listed in this calculation. We need to correct this to include the number from first page's selection.



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 or AWS
2. Install OCS operator 4.7 
3. Click on Create Storage cluster and the attached pages are displayed


Actual results:
------------------
The  "Requested Cluster Capacity" field in the last page (Review and Create) is missing the number (0.5 / 2/ 4) as selected by the user, in the calculation

If 0.5 TiB was selected

>> Requested Cluster Capacity:  TiB x 3 replicas = 1.5 TiB

Expected results:
--------------------
If 2 TiB was selected

Requested Cluster Capacity: <2> TiB * 3 replicas = 6 TiB

If 0.5 TiB was selected

Requested Cluster Capacity: <0.5> TiB * 3 replicas = 1.5 TiB



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

Comment 7 errata-xmlrpc 2021-02-24 15:47:00 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