Bug 2111218

Summary: Create cluster - Infrastructure page crashes
Product: Red Hat Advanced Cluster Management for Kubernetes Reporter: Thuy Nguyen <thnguyen>
Component: ConsoleAssignee: Feng Xiang <fxiang>
Status: CLOSED ERRATA QA Contact: dhuynh
Severity: urgent Docs Contact:
Priority: urgent    
Version: rhacm-2.6CC: cbynum, fxiang, huichen, nagbetra, nmanos
Target Milestone: ---Keywords: Regression, TestBlocker
Target Release: rhacm-2.6Flags: bot-tracker-sync: rhacm-2.6+
cbynum: rhacm-2.6.z+
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-09-06 22:34:08 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
Infrastructure page crashes none

Description Thuy Nguyen 2022-07-26 18:44:28 UTC
Created attachment 1899525 [details]
Infrastructure page crashes

Description of problem: Infrastructure page crashes when creating a cluster


Version-Release number of selected component (if applicable):
2.6.0-DOWNSTREAM-2022-07-26-04-01-36

How reproducible:


Steps to Reproduce:
1. Add provider credentials OK
2. In Clusters page, click 'Create cluster'

Actual results:
The page crashes


Expected results:


Additional info:

Comment 2 dhuynh 2022-07-27 17:54:29 UTC
This breaks MCE only test flows on latest MCE `2.1.0-DOWNANDBACK-2022-07-27-08-13-04`, marking as test blocker and regression issue.

Comment 3 bot-tracker-sync 2022-07-27 21:21:32 UTC
G2Bsync 1197320706 comment 
 fxiang1 Wed, 27 Jul 2022 20:16:37 UTC 
 G2Bsync
Tested with upstream snapshot `2.1.0-BACKPLANE-2022-07-27-15-33-10` and don't see the issue anymore. Will see if QE is still hitting the issue on the latest build.

Comment 4 dhuynh 2022-07-28 15:14:17 UTC
Still happening on MCE `2.1.0-DOWNANDBACK-2022-07-28-09-05-43`

Comment 5 bot-tracker-sync 2022-07-29 22:04:35 UTC
G2Bsync 1199926444 comment 
 fxiang1 Fri, 29 Jul 2022 20:34:05 UTC 
 G2Bsync
Just want to provide an update on this. So I figured out what's wrong, we're using a beta Patternfly component `Truncate` that doesn't exist in the react version OCP 4.10 is using and when it tries to render this component it crashes. Unfortunately we can't just remove the beta component as it's used in other places. One solution proposed is to write our own Truncate which will take some time to provide the fix.

![unnamed](https://user-images.githubusercontent.com/38960034/181797696-68666697-8bf0-4b54-b51a-8299bc34080f.jpg)

Comment 7 bot-tracker-sync 2022-08-15 16:43:53 UTC
G2Bsync 1210966643 comment 
 thuyn-581 Wed, 10 Aug 2022 16:34:08 UTC 
 G2BSync-
Validated on 2.6.0-FC4.

Comment 10 errata-xmlrpc 2022-09-06 22:34:08 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: Red Hat Advanced Cluster Management 2.6.0 security updates and bug fixes), 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-2022:6370