Bug 1775145 - Incorrect message from hot-plugging memory
Summary: Incorrect message from hot-plugging memory
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 4.3.5
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ovirt-4.4.6
: 4.4.6
Assignee: Milan Zamazal
QA Contact: Qin Yuan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-11-21 13:27 UTC by Roman Hodain
Modified: 2021-06-01 13:23 UTC (History)
2 users (show)

Fixed In Version: ovirt-engine-4.4.6.3
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-06-01 13:22:09 UTC
oVirt Team: Virt
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2021:2179 0 None None None 2021-06-01 13:23:11 UTC
oVirt gerrit 114051 0 master MERGED core: Fix reported memory size after memory hot plug 2021-03-30 10:09:11 UTC

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


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