Bug 1720119 - Node overview page shows incorrect metrics due to too wide selector
Summary: Node overview page shows incorrect metrics due to too wide selector
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.1.0
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: 4.2.0
Assignee: Samuel Padgett
QA Contact: Yadan Pei
Depends On:
Blocks: 1721146
TreeView+ depends on / blocked
Reported: 2019-06-13 07:59 UTC by Filip Brychta
Modified: 2019-10-16 06:32 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Previously, the metrics charts on the node page could incorrectly total usage for more than one node in some circumstances. The node page charts now correctly display the usage only for that node.
Clone Of:
: 1721146 (view as bug list)
Last Closed: 2019-10-16 06:32:02 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2019:2922 0 None None None 2019-10-16 06:32:16 UTC

Description Filip Brychta 2019-06-13 07:59:49 UTC
Description of problem:
Metrics on node overview page are defined following way (e.g. for memory):

Problem is in '.**'
We have two nodes named:

with IPs:

So the '.**' selector matches both nodes and UI console shows on node overview page for host-10-0-149-13 incorrect metrics which are relevant for  other host host-10-0-149-136.

Version-Release number of selected component (if applicable):
Kubernetes Master Version

How reproducible:

Steps to Reproduce:
1. have two nodes named as described above with described IPs (not sure if names or IPs are relevant for the {instance=~'.**'} expr)
2. go to node overview in UI console for host-10-0-149-13

Actual results:
node overview page for host-10-0-149-13 shows incorrect metrics which are relevant for other host host-10-0-149-136.

Expected results:
Metrics for host-10-0-149-13 node should be shown.

Comment 3 Samuel Padgett 2019-06-14 20:26:07 UTC

Comment 5 shahan 2019-06-26 05:34:06 UTC
The node selector is' ${nodeIp.address}:.*'
click one metrics such as Memory Usage on web console, it will got selector like node_memory_Active_bytes{instance=~'*'}
Verify this bug.


Comment 7 errata-xmlrpc 2019-10-16 06:32:02 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, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.