Bug 1917718

Summary: [RFE] Collect memory usage from guests without ovirt-guest-agent and memory ballooning
Product: Red Hat Enterprise Virtualization Manager Reporter: Juan Orti <jortialc>
Component: ovirt-engineAssignee: Liran Rotenberg <lrotenbe>
Status: CLOSED ERRATA QA Contact: Polina <pagranat>
Severity: medium Docs Contact:
Priority: high    
Version: 4.4.3CC: ahadas, lrotenbe, lsurette, mavital, mtessun, srevivo, sstagnar, ycui
Target Milestone: ovirt-4.4.6Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine-4.4.6.5 vdsm-4.40.60.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-06-01 13:22:11 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: 1911610    
Bug Blocks: 1930895    

Description Juan Orti 2021-01-19 09:30:08 UTC
Description of problem:
Please, see this bug report for background:
https://bugzilla.redhat.com/show_bug.cgi?id=1789647

The memory information from RHEL8 guests is not collected if the VM doesn't have a balloon device even if the guest has qemu-guest-agent installed.

There are certain cases where it is not recommeded to have a balloon device, for example when using a high performance VM:

https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.4/html/virtual_machine_management_guide/configuring_high_performance_virtual_machines_templates_and_pools#creating_a_high_performance_virtual_machine_template_or_pool

Version-Release number of selected component (if applicable):
RHV 4.3, 4.4
qemu-guest-agent-4.2.0-34.module+el8.3.0+8829+e7a0a3ea.1.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Install RHEL8 VM in RHV. Don't use balloon device.
2. Install qemu-guest-agent in the guest.

Actual results:
VM memory usage is not reported in RHV.

Expected results:
Memory usage reported.

Additional info:

Comment 2 Arik 2021-01-19 10:18:33 UTC
We have bz 1917718 on oVirt that is also about this issue

Comment 3 Arik 2021-01-19 15:24:40 UTC
(In reply to Arik from comment #2)
> We have bz 1917718 on oVirt that is also about this issue

I meant bz 1911610

Comment 4 Arik 2021-01-31 14:03:00 UTC
*** Bug 1911610 has been marked as a duplicate of this bug. ***

Comment 6 Polina 2021-05-04 14:50:21 UTC
verified on ovirt-engine-4.4.6.6-0.10.el8ev.noarch by the attached new Polarion case and also the existing automation tests for ballooning functionality were passed successfully.

Comment 10 errata-xmlrpc 2021-06-01 13:22:11 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: 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

Comment 11 meital avital 2022-08-01 11:59:20 UTC
Due to QE capacity, we are not going to cover this issue in our automation