Bug 2016925

Summary: Dashboards with All filter, change to a specific value and change back to All, data will disappear
Product: OpenShift Container Platform Reporter: hongyan li <hongyli>
Component: MonitoringAssignee: Andrew Pickering <anpicker>
Status: CLOSED ERRATA QA Contact: hongyan li <hongyli>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.9CC: amuller, anpicker, aos-bugs, aprabhu, erooth, jfajersk, juzhao
Target Milestone: ---   
Target Release: 4.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-03-10 16:21:40 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:
Attachments:
Description Flags
screen shot with data missing
none
Data is visible in the dashboard using 21st Nov build
none
Issue is reproducible with 21st Nov build on ppc64le none

Description hongyan li 2021-10-25 07:38:00 UTC
Created attachment 1836607 [details]
screen shot with data missing

Created attachment 1836607 [details]
screen shot with data missing

Description of problem:
Dashboards with All filter, change to a specific value and change back, all data will disappear

Version-Release number of selected component (if applicable):
4.9.0-0.nightly-2021-10-22-102153

How reproducible:
always

Steps to Reproduce:
1. Go console->Observe->Dashboards->Kubernetes / Networking / Namespace (Pods)
2. Data display well
3. Change All to a specific namespace such as openshift-apiserver
4. Change back to all, all data will be missing and display as N/A or 'No Data found'

Actual results:
Dashboards with All filter, change to a specific value and change back, all data will disappear

Expected results:
Dashboards with All filter, change to a specific value and change back, all data should display well

Additional info:
same issue exists for DB: 
Kubernetes / Networking / Pod
Prometheus / Overview

Comment 1 Andrew Pickering 2021-11-09 23:36:03 UTC
*** Bug 2021503 has been marked as a duplicate of this bug. ***

Comment 2 Junqi Zhao 2021-11-15 03:38:57 UTC
tested with PR, checked "Prometheus / Overview" and "Kubernetes / Networking / Namespace (Pods)" dashboards, dashboards with All filter, change to a specific value and change back, all data display well now

Comment 4 Alisha 2021-11-21 18:53:50 UTC
Hi , I see the PR https://github.com/openshift/console/pull/10447 is merged. Can we use the latest build to test ? thanks !

Comment 5 Junqi Zhao 2021-11-22 01:42:48 UTC
(In reply to Alisha from comment #4)
> Hi , I see the PR https://github.com/openshift/console/pull/10447 is merged.
> Can we use the latest build to test ? thanks !

fix is not packaged to payload, will test after the fix includes in payload

Comment 6 Alisha 2021-11-22 04:54:38 UTC
Created attachment 1842931 [details]
Data is visible in the dashboard using 21st Nov build

Comment 7 Alisha 2021-11-22 04:55:58 UTC
Build referred in comment 6 (https://bugzilla.redhat.com/show_bug.cgi?id=2016925#c6) is : 
# oc version
Client Version: 4.10.0-0.nightly-ppc64le-2021-11-21-111244
Server Version: 4.10.0-0.nightly-ppc64le-2021-11-21-111244
Kubernetes Version: v1.22.1+35a59a5

Comment 8 hongyan li 2021-11-23 02:07:57 UTC
Tried with payload 4.10.0-0.nightly-2021-11-22-122803, the bug is still not in.

Comment 9 Alisha 2021-11-23 08:31:23 UTC
Created attachment 1843127 [details]
Issue is reproducible with 21st Nov build on ppc64le

Using build : 4.10.0-0.nightly-ppc64le-2021-11-21-111244 ,
data is initially seen when I select a specific value. But , when I change from all to a specific value and change back to all, No data is found.
So the bug is reproducible using 21st Nov build. Waiting for a build which will include the fix. Please let know when available. Thanks !

Comment 10 hongyan li 2021-11-25 07:02:52 UTC
still not in build 4.10.0-0.nightly-2021-11-25-024655

Comment 12 hongyan li 2021-12-06 03:30:21 UTC
Not fixed in payload 4.10.0-0.nightly-2021-12-03-213835

Comment 13 Alisha 2021-12-17 10:13:54 UTC
The issue is not seen in 16th December build.
Build used to test : 4.10.0-0.nightly-ppc64le-2021-12-16-185327

# oc -n openshift-console get deploy console -oyaml | grep "image:"
    console.openshift.io/image: quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:c397faa96d298356fd8303df0703617c8a8fd97d82a53e79a2b688759065e4bc
        console.openshift.io/image: quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:c397faa96d298356fd8303df0703617c8a8fd97d82a53e79a2b688759065e4bc
        image: quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:c397faa96d298356fd8303df0703617c8a8fd97d82a53e79a2b688759065e4bc

Comment 17 errata-xmlrpc 2022-03-10 16:21:40 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