Bug 1926072

Summary: Close button (X) does not work in the new "Storage cluster exists" Warning alert message(introduced via fix for Bug 1867400)
Product: OpenShift Container Platform Reporter: Neha Berry <nberry>
Component: Console Storage PluginAssignee: Sanjal Katiyar <skatiyar>
Status: CLOSED ERRATA QA Contact: Neha Berry <nberry>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.7CC: afrahman, aos-bugs, 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:41:35 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:
Bug Depends On:    
Bug Blocks: 1944955    
Attachments:
Description Flags
screenshot of the new alert window none

Description Neha Berry 2021-02-08 07:31:23 UTC
Created attachment 1755644 [details]
screenshot of the new alert window

Description of problem:
============================
With the fix for Bug 1867400, OCP 4.7 UI now blocks any user to create a 2nd storagecluster,if one already exists.

But in the resulting Alert message box, the Close (X) button is not working. We need to fix it to allow the user to return to the last visited page (i.e. Installed Operators->Operator details->Storagecluster tab)

Version-Release number of selected component (if applicable):
================================================================
OCP = 4.7.0-0.nightly-2021-02-06-084550
OCS = ocs-operator.v4.7.0-254.ci

How reproducible:
=====================
Always

Steps to Reproduce:
=====================
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

Actual results:
================
A warning Alert with two clickable options  appears on the screen, but the CLose (X) button on the new window does not work

Storage Cluster exists
A storage cluster ocs-storagecluster is already created.
You cannot create another storage cluster.

Expected results:
=========================
Clicking on "X" should take us back to Installed Operators->Operator details->Storagecluster tab)

Additional info:

Comment 7 errata-xmlrpc 2021-07-27 22:41:35 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