Bug 1986127

Summary: UI crash when installing helm chart or right click installed chart in topology
Product: OpenShift Container Platform Reporter: Rohit Rai <rorai>
Component: Dev ConsoleAssignee: Rohit Rai <rorai>
Status: CLOSED ERRATA QA Contact: Debsmita Santra <dsantra>
Severity: high Docs Contact:
Priority: high    
Version: 4.9CC: aos-bugs, dsantra, nmukherj, sbudhwar
Target Milestone: ---   
Target Release: 4.9.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-10-18 17:41:12 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:

Description Rohit Rai 2021-07-26 17:51:29 UTC
Description of problem:
When installing a helm chart the helm chart is installed, but the console crashs with an error.
The console crashes also when the user right click of helm chart workload in topology.
An error was catched:
TypeError
Description:
Converting circular structure to JSON --> starting at object with constructor 'd' | property 'children' -> object with constructor 'Array' | index 0 -> object with constructor 's' --- property 'parent' closes the circle

Component Trace:
minified version

Stack Trace:
TypeError: Converting circular structure to JSON
    --> starting at object with constructor 'd'
    |     property 'children' -> object with constructor 'Array'
    |     index 0 -> object with constructor 's'
    --- property 'parent' closes the circle
    at JSON.stringify (<anonymous>)
Prerequisites (if any, like setup, operators/versions):
Steps to Reproduce
Switch to developer perspective
Add page > Select Helm charts
Install one of the charts (error happens at least with Dotnet 0.0.1 and Quarkus 0.0.3)
https://github.com/openshift/console/pull/9519/files#diff-f559d79848ae57197f5bd502fa3e7707f32fdcf388a36ccc7f7bc0b2d80a5677L9-L13
Actual results:
Error is being displayed

Expected results:
Could install the chart with an error.
The context menu should be displayed when right click the chart in topology.
Reproducibility (Always/Intermittent/Only Once):
Always
Build Details:
4.9.0-0.nightly-2021-07-25-125326
Additional info:
Normal git workload, working fine, Only for Helm chart workloads error is displayed

Comment 2 Debsmita Santra 2021-08-05 11:12:21 UTC
verified on 4.9.0-0.nightly-2021-08-04-131508

Comment 5 errata-xmlrpc 2021-10-18 17:41:12 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.9.0 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:3759