Bug 1949338 - Insights status card shows nothing when 0 issues found
Summary: Insights status card shows nothing when 0 issues found
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Insights Operator
Version: 4.8
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.8.0
Assignee: Georgii Karataev
QA Contact: ireyes
URL:
Whiteboard:
: 1954690 (view as bug list)
Depends On:
Blocks: 1986724
TreeView+ depends on / blocked
 
Reported: 2021-04-14 03:10 UTC by Yadan Pei
Modified: 2021-07-28 08:23 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: Insights widget expected at least one issue hitting the cluster to display the pie chart. Consequence: Zero issues were resulting in empty widget content without any further information for a user. Fix: Show the pie chart and additional links for a case when no issues hit a cluster. Result: when a cluster is healthy, the widget shows a chart with Total issues = 0 and the further link to OCM.
Clone Of:
Environment:
Last Closed: 2021-05-31 07:15:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Insights status when 0 issues found (30.82 KB, image/png)
2021-04-14 03:10 UTC, Yadan Pei
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 8989 0 None open Bug 1949338: show the content of Insights widget when there are 0 recommendations for cluster 2021-05-20 13:28:59 UTC

Internal Links: 1986724

Description Yadan Pei 2021-04-14 03:10:28 UTC
Created attachment 1771734 [details]
Insights status when 0 issues found

Description of problem:
when 0 issues found in Insights, click 'Insights' status card just show a title 'Insights status'

Version-Release number of selected component (if applicable):
4.8.0-0.nightly-2021-04-09-222447

How reproducible:
Always

Steps to Reproduce:
1. check Insights status card content when 0 issues found
2.
3.

Actual results:
1. after clicking the Insights status card, we can only see title `Insights status` 

Expected results:
1. maybe we can add some text or more details

Additional info:

Comment 1 Jakub Hadvig 2021-04-29 07:14:33 UTC
*** Bug 1954690 has been marked as a duplicate of this bug. ***

Comment 2 Martin Klika 2021-05-06 12:39:44 UTC
We've created task https://issues.redhat.com/browse/CCXDEV-4648 for CCX team. We'll get to it in next couple weeks

Comment 5 ireyes 2021-05-25 13:25:48 UTC
Verified on a cluster 4.8.0-0.nightly-2021-05-25-072938, and with an AWS 4.7.9 cluster and a local version of console.


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