Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1940437

Summary: Topology view fails with "TypeError: e is not iterable"
Product: OpenShift Container Platform Reporter: Leonid Titov <ltitov>
Component: Dev ConsoleAssignee: cvogt
Status: CLOSED ERRATA QA Contact: spathak <spathak>
Severity: high Docs Contact: Harsh Mishra <hmishra>
Priority: urgent    
Version: 4.7CC: aos-bugs, aprajapa, cvogt, dsantra, jakumar, jokerman, mjahangi, nmukherj, nschuetz, rbobek, sa.varmazyar, spathak, vmedina
Target Milestone: ---Flags: cvogt: needinfo-
cvogt: needinfo-
Target Release: 4.7.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-04-12 23:22:56 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
Topology page loads white screen
none
Topology page loads white screen2 none

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