Bug 1949338

Summary: Insights status card shows nothing when 0 issues found
Product: OpenShift Container Platform Reporter: Yadan Pei <yapei>
Component: Insights OperatorAssignee: Georgii Karataev <gkaratae>
Status: CLOSED CURRENTRELEASE QA Contact: ireyes
Severity: medium Docs Contact:
Priority: medium    
Version: 4.8CC: aos-bugs, inecas, jokerman, mklika, rvokal, spadgett, tremes
Target Milestone: ---   
Target Release: 4.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-31 07:15:17 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: 1986724    
Attachments:
Description Flags
Insights status when 0 issues found none

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.