Bug 1882583

Summary: error on rules page of prometheus UI
Product: OpenShift Container Platform Reporter: hongyan li <hongyli>
Component: MonitoringAssignee: Simon Pasquier <spasquie>
Status: CLOSED ERRATA QA Contact: hongyan li <hongyli>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.6CC: alegrand, anpicker, erooth, juzhao, kakkoyun, lcosic, mloibl, pkrupa, spasquie, surbania
Target Milestone: ---Keywords: Regression
Target Release: 4.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-27 16:45:23 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
none
prometheus rules page none

Description hongyan li 2020-09-25 03:45:22 UTC
Description of problem:
error on rules page of prometheus UI 

Version-Release number of selected component (if applicable):
prometheus version 2.21.0
OCP 4.6.0-0.nightly-2020-09-24-184015


How reproducible:
always

Steps to Reproduce:
Access prometheus rules UI, get error
https://prometheus-k8s-openshift-monitoring.apps.qe-groupd-0925.qe.devcluster.openshift.com/rules

error executing template rules.html: template: rules.html:84:48: executing "content" at <.GetEvaluationTimestamp.IsZero>: can't evaluate field GetEvaluationTimestamp in type *rules.Group

Actual results:


Expected results:


Additional info:

Comment 1 Junqi Zhao 2020-09-25 05:45:28 UTC
Created attachment 1716532 [details]
screen shot

Comment 3 Junqi Zhao 2020-09-29 00:59:55 UTC
tested with 4.6.0-0.nightly-2020-09-28-125756, no error with prometheus /rules page

Comment 4 Junqi Zhao 2020-09-29 01:01:07 UTC
Created attachment 1717384 [details]
prometheus rules page

Comment 7 errata-xmlrpc 2020-10-27 16:45:23 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 (OpenShift Container Platform 4.6 GA Images), 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/RHBA-2020:4196