Description of problem: Web console crashes when displaying some project workloads. On a project where the crash occurs, it occurs both when displaying project workload (administrator perspective) and Topology (Developer perspective). Other pages work well for the project. The project consist from only a few Kubernetes objects, not more than 10 at any time. The crash occurs in browser in Javascript, cluster itself is unaffected. After the crash in topology view, the entire GUI has to be refreshed (i.e. full page refresh from browser). Here is trace printed on the page after the crash: RangeError Description: Maximum call stack size exceeded Component Trace: in f in O in div in div in StackItem in div in Stack in div in Unknown in O in div in Data in StatusBox in Unknown in O in i in i in Unknown in Unknown in c in l in s in t in t in div in Data in StatusBox in div in Unknown in Unknown in Unknown in Unknown in O in Unknown in O in Unknown in o in DetailsPage in Ce in l in Unknown in O in t in t in div in div in section in PageSection in Unknown in O in div in div in DrawerMain in DrawerContent in div in Drawer in NotificationDrawer in Unknown in O in main in div in Page in div in DrawerContentBody in div in div in DrawerMain in DrawerContent in div in Drawer in Unknown in O in T in l in O in Unknown in O in t in t in t in t Stack Trace: RangeError: Maximum call stack size exceeded at https://console-openshift-console.apps.cluster.domain.tld/static/vendors~delete-revision~dev-console-deployImage~dev-console-edit~dev-console-import~dev-console-moda~ab5d55e7-chunk-bff7c229732a25f4e202.min.js:16:235269 at Array.forEach (<anonymous>) at c (https://console-openshift-console.apps.cluster.domain.tld/static/vendors~delete-revision~dev-console-deployImage~dev-console-edit~dev-console-import~dev-console-moda~ab5d55e7-chunk-bff7c229732a25f4e202.min.js:16:235258) at https://console-openshift-console.apps.cluster.domain.tld/static/vendors~delete-revision~dev-console-deployImage~dev-console-edit~dev-console-import~dev-console-moda~ab5d55e7-chunk-bff7c229732a25f4e202.min.js:16:235269 at Array.forEach (<anonymous>) at c (https://console-openshift-console.apps.cluster.domain.tld/static/vendors~delete-revision~dev-console-deployImage~dev-console-edit~dev-console-import~dev-console-moda~ab5d55e7-chunk-bff7c229732a25f4e202.min.js:16:235258) at https://console-openshift-console.apps.cluster.domain.tld/static/vendors~delete-revision~dev-console-deployImage~dev-console-edit~dev-console-import~dev-console-moda~ab5d55e7-chunk-bff7c229732a25f4e202.min.js:16:235269 at Array.forEach (<anonymous>) at c (https://console-openshift-console.apps.cluster.domain.tld/static/vendors~delete-revision~dev-console-deployImage~dev-console-edit~dev-console-import~dev-console-moda~ab5d55e7-chunk-bff7c229732a25f4e202.min.js:16:235258) at https://console-openshift-console.apps.cluster.domain.tld/static/vendors~delete-revision~dev-console-deployImage~dev-console-edit~dev-console-import~dev-console-moda~ab5d55e7-chunk-bff7c229732a25f4e202.min.js:16:235269 Version-Release number of selected component (if applicable): 4.6
The issue is not dependeant of the role of the user as it happens for non cluster-admin and cluster-admins.
This issue looks similar to https://bugzilla.redhat.com/show_bug.cgi?id=1920524 (as commented by Christian has a similar stack trace related to the issue) and so this issue should not be seen in 4.7 and did the cherry-pick for same in 4.6 (associated PR: https://github.com/openshift/console/pull/8971, BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1961936
4.6 cherry pick PR is merged and I couldn't reproduce this issue on 4.6.0-0.ci-2021-05-22-034447 build as it has the fix. This fix should be available next 4.6 z-stream release (4.6.31), which is planned for June 1st.
Fix for this is available as part of https://bugzilla.redhat.com/show_bug.cgi?id=1961936 and I did verify it on 4.6.31 and couldn't see the issue. Hence marking it as duplicate. Feel free to reopen it you observe the issue in 4.6.31 and beyond. *** This bug has been marked as a duplicate of bug 1961936 ***