Bug 1930895
Summary: | RHEL 8 virtual machine with qemu-guest-agent installed displays Guest OS Memory Free/Cached/Buffered: Not Configured | ||
---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Sam Wachira <swachira> |
Component: | ovirt-engine | Assignee: | Liran Rotenberg <lrotenbe> |
Status: | CLOSED ERRATA | QA Contact: | Guilherme Santos <gdeolive> |
Severity: | medium | Docs Contact: | |
Priority: | high | ||
Version: | 4.4.3 | CC: | ahadas, alex.williamson, dhildenb, gdeolive, mavital, mperina, mtessun, sgratch, tgolembi |
Target Milestone: | ovirt-4.4.6 | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | ovirt-engine-4.4.6.5 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-06-01 13:22:12 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | Virt | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1917718 | ||
Bug Blocks: |
Description
Sam Wachira
2021-02-19 17:39:28 UTC
RFE for QGA? No this is not RFE for QGA. We don't use agent for gathering memory statistics any more but query such information from the balloon driver in guest OS. When we switched to balloon driver and deprecated ovirt-guest-agent, this information was not available so we stopped reporting it to engine. We reintroduced the caches/buffers later again (provided guest OS kernel is 4.16 or newer) in 4.3 (bug 1687832) but it is for internal purposes (MOM) only and is still not reported to engine. The complication here is that we don't have this information as two separate values buffers and caches but only a sum. So we can either reuse one of the stats for this (e.g. mem_cached and keep mem_buffers equal 0) which may be confusing or engine can compute the value on its own by subtracting mem_unused from mem_free. Either way we need to change how we represent the values in UI. Ack, thanks Tomáš So adding bz 1917718 as a dependency and let's add their combined value (I think it would make more sense to compute it and stored it in a different DB field because of the DWH views). To sum up the internal discussion -- we are not going to do any changes in VDSM and its API. Engine can compute the the sum of buffers and caches from existing stats by using the formula: buffers_caches = mem_free - mem_unused. Engine will store the computed value in new field (will not reuse mem_buffers or mem_cached) and the UI will be redesigned to compensate for the fact that we don't have two separate values anymore. Engine should resort to the computation if mem_cached and mem_buffers are either missing (cases when ovirt-guest-agent is not running) as well as when both mem_cached and mem_buffers equal zero (case of Windows with ovirt-guest-agent installed). Verified on: ovirt-engine-4.4.6.6-0.10.el8ev.noarch Steps: 1. In the UI, open the detailed information for a RHEL8 VM Results: On general tab, information of "Guest OS Memory Free/Cached+Buffered" memory is shown as expected 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: RHV Manager security update (ovirt-engine) [ovirt-4.4.6]), 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-2021:2179 Due to QE capacity, we are not going to cover this issue in our automation |