Bug 1949810

Summary: OKD 4.7 unable to access Project Topology View
Product: OpenShift Container Platform Reporter: Midhun K <midhun.kbc>
Component: Dev ConsoleAssignee: Jaivardhan Kumar <jakumar>
Status: CLOSED ERRATA QA Contact: Gajanan More <gamore>
Severity: urgent Docs Contact: Rishu Mehra <rmehra>
Priority: high    
Version: 4.7CC: aos-bugs, bmakam, dsantra, hmishra, jakumar, nmukherj
Target Milestone: ---Flags: jakumar: needinfo-
Target Release: 4.8.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Previously, the *Topology* view in the Developer perspective did not load if OpenShift namespace templates were not available because the Samples Operator was not installed. This update fixes the issue. (link:https://bugzilla.redhat.com/show_bug.cgi?id=1949810[*BZ#1949810*])
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-27 23:00:57 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:
Bug Depends On:    
Bug Blocks: 1952293    
Attachments:
Description Flags
After developer login or clicking on topology view
none
Verified the topology page with newly created namespace none

Description Midhun K 2021-04-15 07:23:37 UTC
Created attachment 1772076 [details]
After developer login or clicking on topology view

Describe the bug

Developers unable to see the topology view of openshift project, Insted of that it is showing white blank page.

Version

4.7.0-0.okd-2021-03-07-090821

How reproducible

Switch to Developer console ---> click on topology
Expected - Topology view of the project
Results - White Blank Page

URL Path looks like - https://console-url/topology/ns/project-name?view=graph

Comment 1 Jaivardhan Kumar 2021-04-19 14:18:38 UTC
(In reply to Midhun K from comment #0)
> Created attachment 1772076 [details]
> After developer login or clicking on topology view
> 
> Describe the bug
> 
> Developers unable to see the topology view of openshift project, Insted of
> that it is showing white blank page.
> 
> Version
> 
> 4.7.0-0.okd-2021-03-07-090821
> 
> How reproducible
> 
> Switch to Developer console ---> click on topology
> Expected - Topology view of the project
> Results - White Blank Page
> 
> URL Path looks like - https://console-url/topology/ns/project-name?view=graph

Hi Midhun, 

we tried to verify it on 4.7.0-0.okd-2021-03-28-152009/ 4.7.0-0.okd-2021-04-11-124433 and we couldn't reproduce it.

https://github.com/openshift/console/issues/8499#issuecomment-822218105

Above where new cluster, no operator were installed on it.
Looks like we need, some more information to reproduce it

- What was the user role?
- Was there any Operator installed?

Comment 2 cvogt 2021-04-21 16:18:16 UTC
The issue was found. See discussion here: https://github.com/openshift/console/issues/8499#issuecomment-823625064

If the OpenShift samples operator is not installed, there will be no Templates in the openshift namespace. This results in an error when loading topology.

The fix for the issue is identified in the referenced github issue

Comment 4 BalajiMakam 2021-04-22 12:23:28 UTC
Created attachment 1774468 [details]
Verified the topology page with newly created namespace

Comment 5 BalajiMakam 2021-04-22 12:26:42 UTC
Verified the bug with 2 different scenarios

Pre-Requisite
Login as developer

SC1: 
Navigate to topology page with existing namespace and verified the topology page [displaying as expected]

Sc2: 
Navigate to topology page with existing namespace and verified the topology page [displaying as expected]

Comment 8 errata-xmlrpc 2021-07-27 23:00:57 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.8.2 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:2438

Comment 9 Red Hat Bugzilla 2023-09-15 01:05:10 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days