Bug 2039776

Summary: Observe dashboard shows nothing if the URL links to an non existing dashboard
Product: OpenShift Container Platform Reporter: Christoph Jerolimov <cjerolim>
Component: Dev ConsoleAssignee: Vikram Raj <viraj>
Status: CLOSED ERRATA QA Contact: spathak <spathak>
Severity: low Docs Contact:
Priority: medium    
Version: 4.9CC: abhindas, aos-bugs, nmukherj, skontopo, viraj
Target Milestone: ---   
Target Release: 4.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-03-10 16:38:43 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: 2041434    
Attachments:
Description Flags
dashboard-does-not-exist-looks-like-an-error.png none

Description Christoph Jerolimov 2022-01-12 12:33:10 UTC
Description of problem:
When the user saves or shares a dashboard URL it contains the dashboard parameter. If the dashboard could not be found the page looks incomplete.

The Dashboard dropdown doesn't show any info that the user can still select something. See screenshot.

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

How reproducible:
Always, when changing the URL manually to a dashboard that doesn't exist

Steps to Reproduce:
1. Navigate to Observe > Dashboard
2. Change the URL manually to a dashboard that does not exist

Actual results:
Empty page which looks like something failed

Expected results:
Show an empty state or error message. Would be also nice if the dashboard dropdown shows a hint that the user can switch the dropdown.

Additional info:

Comment 1 Christoph Jerolimov 2022-01-12 12:34:17 UTC
Created attachment 1850358 [details]
dashboard-does-not-exist-looks-like-an-error.png

Comment 2 Christoph Jerolimov 2022-01-12 12:37:49 UTC
This bug report is based on skontopo feedback here https://github.com/openshift-knative/serverless-operator/pull/1242#issuecomment-1008944248

Comment 5 Abhinandan Das 2022-01-18 14:28:22 UTC
Verified

OpenShift version 4.10.0-0.ci-2022-01-17-220215
Kubernetes version v1.22.1-4609+60f5a1c6c03d74-dirty
Cluster ID c4b6f9c3-677d-408e-ac60-5de24dd0653b
API server https://api.ci-ln-4hk6fpb-72292.origin-ci-int-gce.dev.rhcloud.com:6443

Comment 8 errata-xmlrpc 2022-03-10 16:38:43 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.10.3 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-2022:0056