Bug 1908717

Summary: "missing unit character in duration" error in some network dashboards
Product: OpenShift Container Platform Reporter: Junqi Zhao <juzhao>
Component: Management ConsoleAssignee: Andrew Pickering <anpicker>
Status: CLOSED ERRATA QA Contact: Yadan Pei <yapei>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.7CC: aos-bugs, jhadvig, jokerman
Target Milestone: ---Keywords: Regression, UpcomingSprint
Target Release: 4.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-02-24 15:46:22 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
errors in "Monitoring -> Dashboard" none

Description Junqi Zhao 2020-12-17 12:21:29 UTC
Created attachment 1739972 [details]
errors in "Monitoring -> Dashboard"

Created attachment 1739972 [details]
errors in "Monitoring -> Dashboard"

Description of problem:
go to "Monitoring -> Dashboard", select "Kubernetes / Compute Resources / Namespace (Pods)", error in "Current Network Usage" panel
"error	1:95: parse error: missing unit character in duration"
see the attached picture, debug in console

take Receive Bandwith API as example, API
sum(irate(container_network_receive_bytes_total{cluster="",+namespace=~"openshift-apiserver"}[$__rate_interval]))+by+(pod)

also checked in 4.6, the parameter is replcaced
sum(irate(container_network_receive_bytes_total{cluster="",+namespace=~"openshift-apiserver"}[5m]))+by+(pod)

Version-Release number of selected component (if applicable):
4.7.0-0.nightly-2020-12-14-165231

How reproducible:
always

Steps to Reproduce:
1. see from description
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Jakub Hadvig 2020-12-23 16:04:51 UTC
We did not have time to fix this issue this sprint. Will fix in next.

Comment 6 errata-xmlrpc 2021-02-24 15:46:22 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.7.0 security, bug fix, and enhancement 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-2020:5633