Bug 1940437 - Topology view fails with "TypeError: e is not iterable"
Summary: Topology view fails with "TypeError: e is not iterable"
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Dev Console
Version: 4.7
Hardware: Unspecified
OS: Unspecified
urgent
high
Target Milestone: ---
: 4.7.z
Assignee: cvogt
QA Contact: spathak@redhat.com
Harsh Mishra
URL:
Whiteboard:
: 1933233 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-03-18 12:13 UTC by Leonid Titov
Modified: 2021-12-17 15:41 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Previously, an error occurred when loading the Topology page. With this release, the issue is resolved and the Topology page loads successfully.
Clone Of:
Environment:
Last Closed: 2021-04-12 23:22:56 UTC
Target Upstream Version:
Embargoed:
cvogt: needinfo-
cvogt: needinfo-


Attachments (Terms of Use)
Topology page loads white screen (533.42 KB, image/png)
2021-04-16 08:14 UTC, sa.varmazyar
no flags Details
Topology page loads white screen2 (601.79 KB, image/png)
2021-04-16 08:15 UTC, sa.varmazyar
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1933233 1 unspecified CLOSED Topology view fails with "TypeError: e is not iterable" when installed disconnected using imageContentSources 2021-03-23 08:06:13 UTC
Red Hat Product Errata RHBA-2021:1075 0 None None None 2021-04-12 23:23:10 UTC

Description Leonid Titov 2021-03-18 12:13:58 UTC
Description of problem:
Accessing project workload page  https://console-openshift-console.apps.cluster-url/k8s/cluster/projects/openshift-ingress(or any)/workloads throws an TypeError exception

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

How reproducible:
Disconnected UPI cluster 

Steps to Reproduce:
1. Install disconnected UPI cluster
2. Try to access https://console-openshift-console.apps.cluster-url/k8s/cluster/projects/openshift-ingress/workloads
3. Get a stacktrace

Actual results:
TypeError
Description:

e is undefined

in Unknown
    in Unknown
    in Unknown
    in div
    in ToolbarItem
    in div
    in div
    in ToolbarContent
    in div
    in GenerateId
    in Toolbar
    in Unknown
    in O
    in div
    in StackItem
    in div
    in Stack
    in div
    in Unknown
    in O
    in u
    in div
    in Data
    in StatusBox
    in f
    in Unknown
    in div
    in div
    in Unknown
    in Unknown
    in Unknown
    in c
    in l
    in i
    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 we
    in l
    in Unknown
    in O
    in t
    in t
    in div
    in div
    in section
    in PageSection
    in Unknown
    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 L
    in L
    in Unknown
    in s
    in Unknown
    in withExtensions()
    in withI18nextTranslation(withExtensions())
    in t
    in t
    in t
    in t
    in Suspense

Expected results:
Page with workload overview

Additional info:
Looks similar to https://bugzilla.redhat.com/show_bug.cgi?id=1933233, but happening in Administrative console, not in Developer one.

Comment 2 Jakub Hadvig 2021-03-18 13:46:24 UTC
Moving to DevConsole since they are the original owner of the Topology component.

Comment 4 Debsmita Santra 2021-03-23 08:06:13 UTC
*** Bug 1933233 has been marked as a duplicate of this bug. ***

Comment 13 errata-xmlrpc 2021-04-12 23:22:56 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 (OpenShift Container Platform 4.7.6 bug fix 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/RHBA-2021:1075

Comment 14 sa.varmazyar 2021-04-16 07:58:40 UTC
I installed Openshift 4.7.6 and Openshift 4.7.7 (Disconnected UPI cluster) and there is same issue on 4.7.6 , 4.7.7 and It seems bug don't fix (Topology view fails with "TypeError: e is not iterable" ) , (Topology page loads white screen)

Comment 15 sa.varmazyar 2021-04-16 08:14:18 UTC
Created attachment 1772374 [details]
Topology page loads white screen

Comment 16 sa.varmazyar 2021-04-16 08:15:00 UTC
Created attachment 1772375 [details]
Topology page loads white screen2


Note You need to log in before you can comment on or make changes to this bug.