Bug 1949810 - OKD 4.7 unable to access Project Topology View [NEEDINFO]
Summary: OKD 4.7 unable to access Project Topology View
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Dev Console
Version: 4.7
Hardware: x86_64
OS: Linux
high
urgent
Target Milestone: ---
: 4.8.0
Assignee: Jaivardhan Kumar
QA Contact: Gajanan More
Rishu Mehra
URL:
Whiteboard:
Depends On:
Blocks: 1952293
TreeView+ depends on / blocked
 
Reported: 2021-04-15 07:23 UTC by Midhun K
Modified: 2021-09-15 17:33 UTC (History)
6 users (show)

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*])
Clone Of:
Environment:
Last Closed: 2021-07-27 23:00:57 UTC
Target Upstream Version:
jakumar: needinfo-
jakumar: needinfo? (midhun.kbc)


Attachments (Terms of Use)
After developer login or clicking on topology view (28.58 KB, image/png)
2021-04-15 07:23 UTC, Midhun K
no flags Details
Verified the topology page with newly created namespace (154.21 KB, image/png)
2021-04-22 12:23 UTC, BalajiMakam
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 8732 0 None open Bug 1949810: adds check for templates 2021-04-21 18:19:10 UTC
Red Hat Product Errata RHSA-2021:2438 0 None None None 2021-07-27 23:01:18 UTC

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


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