Bug 2071517 - Swap usage in console Overview of VMs is wrong
Summary: Swap usage in console Overview of VMs is wrong
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Console Kubevirt Plugin
Version: 4.10
Hardware: x86_64
OS: Linux
Target Milestone: ---
: 4.10.z
Assignee: Phillip Bailey
QA Contact: Guohua Ouyang
Depends On: 2102302
TreeView+ depends on / blocked
Reported: 2022-04-04 05:44 UTC by Germano Veit Michel
Modified: 2022-11-09 10:51 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2022-11-09 10:51:02 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Github openshift console pull 12172 0 None open Bug 2071517: Fix swap usage queries for Top Consumers card in virtualization Overview page 2022-10-26 13:23:09 UTC
Red Hat Product Errata RHBA-2022:7298 0 None None None 2022-11-09 10:51:05 UTC

Description Germano Veit Michel 2022-04-04 05:44:03 UTC
Description of problem:

Get some Windows and Linux VMs with swap, ensure qemu guest agent is installed.

Go to Virtualization -> Overview and check "Memory swap". There are 2 problems:

1. Linux VMs are missing (QEMU Guest Agent installed and running)
2. Windows ones have wrong values reported (QEMU Guest Agent installed and running)
3. Increase memory usage inside the VM to make it use more swap (i.e. stress-ng or configure windows with little RAM)

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

How reproducible:

Steps to Reproduce:
1. Install VM, ensure QGA is running
2. Check "Memory Swap"

Actual results:
* Linux VMs missing
* Windows VMs wrong value (i.e. 2PB of swap on a 20G disk)

Expected results:
* If VM is using swap, show there and with the right value

Comment 2 Guohua Ouyang 2022-04-06 02:16:41 UTC
I usually enable swap disk in Linux VMs and then it shows in memory swap.

Comment 8 Guohua Ouyang 2022-11-03 01:49:46 UTC
verified on 4.10.0-0.nightly-2022-11-01-183141

Comment 10 errata-xmlrpc 2022-11-09 10:51: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 (OpenShift Container Platform 4.10.40 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.


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