Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1775145

Summary: Incorrect message from hot-plugging memory
Product: Red Hat Enterprise Virtualization Manager Reporter: Roman Hodain <rhodain>
Component: ovirt-engineAssignee: Milan Zamazal <mzamazal>
Status: CLOSED ERRATA QA Contact: Qin Yuan <qiyuan>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.3.5CC: ahadas, dfodor
Target Milestone: ovirt-4.4.6   
Target Release: 4.4.6   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine-4.4.6.3 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-06-01 13:22:09 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:

Description Roman Hodain 2019-11-21 13:27:33 UTC
Description of problem:
When hotplugging memory the engine reports 

    EVENT_ID: HOT_SET_MEMORY(2,039), Hotset memory: changed the amount of memory on VM MyVM01 from 13312 to 13312


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

How reproducible:
100%

Steps to Reproduce:
1.hotplug memory and monitor the events
2.
3.

Actual results:
The size "from" and "to" are the same

Expected results:
"from" is the original size of memory
"to" is the one after the hotplug

Additional info:

Comment 2 Qin Yuan 2021-04-21 05:14:20 UTC
Verified with:
ovirt-engine-4.4.6.3-0.8.el8ev.noarch

Steps:
1. Create and run a VM(used latest-rhel-guest-image-8.3-infra template)
2. Hot plug 256M memory, check the events
3. Hot plug 1G memory, check the events

Results:
The reported new memory sizes are correct in engine.log:

2021-04-21 07:41:07,716+03 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-100) [14a34613] EVENT_ID: HOT_SET_MEMORY(2,039), Hotset memory: changed the amount of memory on VM test from 1024 to 1280

2021-04-21 07:42:50,992+03 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-100) [469ffc6e] EVENT_ID: HOT_SET_MEMORY(2,039), Hotset memory: changed the amount of memory on VM test from 1280 to 2304

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