Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1952741

Summary: Monitoring DB: after set Time Range as Custom time range, no data display
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.8CC: alegrand, anpicker, erooth, kakkoyun, lcosic, pkrupa
Target Milestone: ---   
Target Release: 4.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-27 23:03:04 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 recording
none
screenshot
none
screen recording none

Description hongyan li 2021-04-23 02:58:21 UTC
Created attachment 1774656 [details]
screen recording

Description of problem:
Monitoring DB: after set Time Range as Custom time range, no data display

Version-Release number of selected component (if applicable):
Test with PR https://github.com/openshift/console/pull/8701

How reproducible:
always

Steps to Reproduce:
1. Go to monitoring-dashboards
2. DB display well with data, we can know there is data on Apr 23 from tool tip
3. Change Time Range as Custom time range, in the pop up window with default value, click save
4. DB display no data

Actual results:


Expected results:


Additional info:
Detail see screen recorder in the attachment

Comment 1 hongyan li 2021-04-23 03:50:37 UTC
Change Time Range from Custom time range back to Last 30 minutes, display 'No datapoints found' under the first query 'etcd Request Duration - 99th Percentile'. See attached screenshot
Reload the page, everything back to normal.

Comment 2 hongyan li 2021-04-23 03:51:41 UTC
Created attachment 1774664 [details]
screenshot

Comment 3 Andrew Pickering 2021-04-23 14:02:11 UTC
Modified PR https://github.com/openshift/console/pull/8701 to fix the case where you zoom out to a custom range, then return to a preset range.

Also note that if you zoom out the graph too far (too large a time range) you can get a blank graph due the data covering too small a section of the graph to be displayed.

Comment 4 hongyan li 2021-04-26 08:47:09 UTC
Just tried today by setting up env with 'launch openshift/console#8701 aws'

Face issue
1. Go to monitoring-dashboards
2. Drag&Drop mouse on the first graph and Time Range will be changed as Custom time range
3. Click 'Custom time range' from Time Range dropdown box, in the pop up window with default value, click save
4. DB display no data

Detail see attachment

Comment 5 hongyan li 2021-04-26 08:48:46 UTC
Created attachment 1775445 [details]
screen recording

Comment 6 hongyan li 2021-04-26 09:17:56 UTC
It's expected that zoom out the graph too far (too large a time range) you can get a blank graph due the data covering too small a section of the graph to be displayed.

No issue now.

Comment 7 Andrew Pickering 2021-06-03 01:32:49 UTC
This should be fixed now that https://github.com/openshift/console/pull/8701 has merged.

Comment 9 hongyan li 2021-06-11 03:45:37 UTC
Has tested with PR, set the bug as verified

Comment 12 errata-xmlrpc 2021-07-27 23:03:04 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.8.2 bug fix and 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-2021:2438