Bug 1891696

Summary: [LSO] Add capacity UI does not check for node present in selected storageclass
Product: OpenShift Container Platform Reporter: Pratik Surve <prsurve>
Component: Console Storage PluginAssignee: Sanjal Katiyar <skatiyar>
Status: CLOSED ERRATA QA Contact: Pratik Surve <prsurve>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.6CC: aos-bugs, ebenahar, nberry, nthomas, ocs-bugs
Target Milestone: ---   
Target Release: 4.8.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-07-27 22:33:58 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:

Description Pratik Surve 2020-10-27 05:22:25 UTC
Description of problem:

Add capacity UI does not check for node present in selected storageclass

Version-Release number of selected component (if applicable):
4.6.0-0.nightly-2020-10-17-040148

How reproducible:
always

Steps to Reproduce:
1. Deploy OCP 4.6(3M,5W)
2. Deploy OCS 4.6
3. Create a new localvolumeset by selecting 2 nodes only
4. Perform Add capacity no error show when selected that sc with 2 nodes

Actual results:
Add capacity does not show any error and capacity is added but one osd will be in the pending state

Expected results:
Error msg should be shown something like this `The OCS Storage cluster requires a minimum of 3 nodes for the initial deployment. Please choose a different storage class or go to create a new volume set that matches the minimum node requirement.`

Additional info:

Comment 4 Nishanth Thomas 2021-02-13 07:52:21 UTC
Moving out of 4.7 as branched  out

Comment 17 errata-xmlrpc 2021-07-27 22:33:58 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.8.2 bug fix and security 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-2021:2438