Bug 2039019

Summary: Fix Top consumers dashboard
Product: Container Native Virtualization (CNV) Reporter: Shirly Radco <sradco>
Component: MetricsAssignee: Shirly Radco <sradco>
Status: CLOSED ERRATA QA Contact: Satyajit Bulage <sbulage>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.10.0CC: cnv-qe-bugs, dbasunag, kmajcher, lmandavi, stirabos
Target Milestone: ---   
Target Release: 4.10.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: hco-bundle-registry-container-v4.10.1-6 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-18 20:26:57 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:

Description Shirly Radco 2022-01-10 18:07:56 UTC
Description of problem:

Fix a few issues in Top consumers dashboard:
1. "Top Consumers of Memory" and "Memory Usage by virt-launcher Pods" panels queries should be updated to use VMI metrics.
2. "kubevirt_vmi_memory_available_bytes" and "kubevirt_vmi_memory_usable_bytes" are gauges, therefor the queries for panels "Top Consumers of Memory" and "Memory Usage by virt-launcher Pods" should be changed.
3. "Memory Usage by virt-launcher Pods" should be updated to "Memory Usage by Virtual Machines".
4. vCPU wait and memory swap panels should be placed below the other panels.

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

How reproducible:


Steps to Reproduce:
1.Go to "observe"-> "dashboards" ->"KubeVirt / Infrastructure Resources / Top Consumers" dashboard and review it.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Shirly Radco 2022-03-01 13:08:27 UTC
Updated the PRs that address this issue. 
Once we merge https://github.com/kubevirt/hyperconverged-cluster-operator/pull/1762 we will backport it to 4.10.1.

Comment 2 Lavanya Mandavilli 2022-03-01 13:11:26 UTC
The updates to the documentation are planned to be addressed in CNV 4.10.1 release.

Comment 4 Satyajit Bulage 2022-04-25 11:46:30 UTC
The panels which has BZ associated will be fixed later. I am verifying the BZ as per comment 3.

Comment 10 errata-xmlrpc 2022-05-18 20:26:57 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 Virtualization 4.10.1 Images security and bug fix 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:4668