Bug 2039776 - Observe dashboard shows nothing if the URL links to an non existing dashboard
Summary: Observe dashboard shows nothing if the URL links to an non existing dashboard
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Dev Console
Version: 4.9
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: 4.10.0
Assignee: Vikram Raj
QA Contact: spathak@redhat.com
Depends On:
Blocks: 2041434
TreeView+ depends on / blocked
Reported: 2022-01-12 12:33 UTC by Christoph Jerolimov
Modified: 2022-03-10 16:39 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2022-03-10 16:38:43 UTC
Target Upstream Version:

Attachments (Terms of Use)
dashboard-does-not-exist-looks-like-an-error.png (87.72 KB, image/png)
2022-01-12 12:34 UTC, Christoph Jerolimov
no flags Details

System ID Private Priority Status Summary Last Updated
Github openshift console pull 10851 0 None open Bug 2039776: Monitoring: show a error message if wrong dashboard name is passed to the URL 2022-01-14 20:36:45 UTC
Red Hat Product Errata RHSA-2022:0056 0 None None None 2022-03-10 16:39:00 UTC

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):

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]

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

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.


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