Bug 2074447 - cluster-dashboard: CPU Utilisation iowait and steal
Summary: cluster-dashboard: CPU Utilisation iowait and steal
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.11
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.11.0
Assignee: Jakub Hadvig
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-04-12 09:02 UTC by Jan Fajerski
Modified: 2022-08-10 11:07 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-10 11:06:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 10450 0 None open cluster-dashboard: exclude iowait and steal from CPU Utilisation 2022-04-12 09:03:52 UTC
Red Hat Product Errata RHSA-2022:5069 0 None None None 2022-08-10 11:07:08 UTC

Description Jan Fajerski 2022-04-12 09:02:59 UTC
Description of problem:

'iowait' and 'steal' indicate specific idle/wait states, which shouldn't
be counted into CPU Utilisation.

Per the iostat man page:

%idle
Show the percentage of time that the CPU or CPUs were idle and the
system did not have an outstanding disk I/O request.

%iowait
Show the percentage of time that the CPU or CPUs were idle during
which the system had an outstanding disk I/O request.

%steal
Show the percentage of time spent in involuntary wait by the
virtual CPU or CPUs while the hypervisor was servicing another
virtual processor.

Comment 3 hongyan li 2022-04-15 07:36:41 UTC
wait for the fix in payload, not in any payload now.

Comment 4 hongyan li 2022-04-18 08:02:17 UTC
Test with payload 4.11.0-0.nightly-2022-04-16-163450

Request url contains the change
https://console-openshift-console.apps.qe-daily-0418.qe.devcluster.openshift.com/api/prometheus/api/v1/query_range?start=1650264822.946&end=1650268422.946&step=60&query=
      sum(
        (
          1 - sum without (mode) (rate(node_cpu_seconds_total{mode=~"idle|iowait|steal"}[2m]))
          *
          on(namespace, pod) group_left(node) node_namespace_pod:kube_pod_info:{pod=~"node-exporter. "}
        )
        *
        on(node) group_left(role) (
          max by (node) (kube_node_role{role=~". "})
        )
      )

Comment 5 Simon Pasquier 2022-06-14 08:05:44 UTC
Moving to the management console component since the fix was in github.com/openshift/console.

Comment 9 errata-xmlrpc 2022-08-10 11:06:14 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 (Important: OpenShift Container Platform 4.11.0 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-2022:5069


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