Bug 1842717

Summary: When clicking add capacity action button the dropdown disappears
Product: OpenShift Container Platform Reporter: OpenShift BugZilla Robot <openshift-bugzilla-robot>
Component: Management ConsoleAssignee: Samuel Padgett <spadgett>
Status: CLOSED ERRATA QA Contact: Yadan Pei <yapei>
Severity: high Docs Contact:
Priority: high    
Version: 4.5CC: aos-bugs, ebenahar, jelopez, jhadvig, jokerman, nthomas, rhamilto, spadgett, xiaocwan
Target Milestone: ---   
Target Release: 4.5.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Previously, the action menu to the right of operand lists could close immediately after opening. This could be seen on the Installed Operators details page when clicking one of the tabs for the operator provided APIs. The menu now functions correctly and will no longer close without user interaction.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-07-30 18:56:59 UTC Type: ---
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: 1840706    
Bug Blocks:    
Attachments:
Description Flags
issue screenshot none

Description OpenShift BugZilla Robot 2020-06-01 22:47:58 UTC
+++ This bug was initially created as a clone of Bug #1840706 +++

Created attachment 1692696 [details]
add capacity kebab action

Description of problem:
When clicking the 'add capacity' kebab action button, the dropdown list containing the 'Add capacity' option disappeared after 2 seconds what makes it very inconvenient for the user.

Version-Release number of selected component (if applicable):
OCP 4.5

How reproducible:
Install OCS and create a storage cluster

Steps to Reproduce:
1. Go to Storage cluster instance page.
2. Click on add capacity kebab action.

Actual results:
The dropdown list containing the 'Add capacity' option disappears after 2 seconds.

Expected results:
The dropdown list containing the 'Add capacity' option should not disappear.

Additional info:

$oc version:
Client Version: 4.3.8
Server Version: 4.5.0-0.nightly-2020-05-27-023514
Kubernetes Version: v1.18.2+9835af5

$oc get csv -n openshift-storage:
NAME                            DISPLAY                       VERSION        REPLACES              PHASE
awss3operator.1.0.1             AWS S3 Operator               1.0.1          awss3operator.1.0.0   Succeeded
lib-bucket-provisioner.v1.0.0   lib-bucket-provisioner        1.0.0                                Succeeded
ocs-operator.v4.5.0-435.ci      OpenShift Container Storage   4.5.0-435.ci                         Succeeded

Rook version:
rook: 4.5-15.741ed813.release_4.5
go: go1.13.4

Ceph version:
ceph version 14.2.8-56.el8cp (8d24dfe40524f948afd782e14dc63a0d0cacb28b) nautilus (stable)

--- Additional comment from ikave on 2020-05-27 14:09:39 UTC ---

Created attachment 1692715 [details]
When clicking on add capacity kebab action the dropdown list disappeared

--- Additional comment from nthomas on 2020-05-29 13:49:39 UTC ---

Looks like a core component issue, rather than to be handled by us, Moving to mgmt console.

--- Additional comment from rhamilto on 2020-05-29 18:43:04 UTC ---

I suspect what is happening here is a parent node is repeatedly re-rendering.  Need to investigate further.

--- Additional comment from rhamilto on 2020-05-29 20:27:24 UTC ---

Sam is investigating and will follow up next sprint.

--- Additional comment from spadgett on 2020-05-29 20:30:48 UTC ---

I believe this anonymous component declaration is causing an unmount/remount every render.

https://github.com/openshift/console/blob/master/frontend/packages/operator-lifecycle-manager/src/components/clusterserviceversion.tsx#L983-L992

--- Additional comment from spadgett on 2020-05-29 21:16:06 UTC ---

Fix in https://github.com/openshift/console/pull/5632

Comment 5 XiaochuanWang 2020-07-23 06:30:28 UTC
Created attachment 1702161 [details]
issue screenshot

Comment 9 Bipul Adhikari 2020-07-30 14:24:02 UTC
*** Bug 1861136 has been marked as a duplicate of this bug. ***

Comment 10 errata-xmlrpc 2020-07-30 18:56:59 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, 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/RHBA-2020:3028