Bug 1482042

Summary: [Memory hotplug] Mismatching values and units in memory hotplug
Product: [oVirt] ovirt-engine Reporter: Israel Pinto <ipinto>
Component: BLL.VirtAssignee: jniederm
Status: CLOSED CURRENTRELEASE QA Contact: Israel Pinto <ipinto>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.2.0CC: bugs, ipinto, mavital, tjelinek
Target Milestone: ovirt-4.2.0Flags: rule-engine: ovirt-4.2+
rule-engine: blocker+
rule-engine: planning_ack+
rule-engine: devel_ack+
mavital: testing_ack+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-20 11:25:42 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:    
Bug Blocks: 1228543    
Attachments:
Description Flags
logs
none
dimm in vm xml
none
4.2 vm devices
none
4.1 vm devices none

Description Israel Pinto 2017-08-16 10:41:26 UTC
Description of problem:
While hotplug memory to VM there is mismatch of value and units in the dimm device.

Version-Release number of selected component (if applicable):
Software version:4.2.0-0.0.master.20170813134654.gitaee967b.el7.centos

How reproducible:
All the time

Steps to Reproduce:
1. Create VM with OS
2. Start VM 
3. Hotplug memory in different sizes: 256M , 512MB, 1 GB couple of time each one.
and check VM device.  
See test case: https://polarion.engineering.redhat.com/polarion/redirect/project/RHEVM3/workitem?id=RHEVM-22160

Actual results:
Memory is increased on the and update in General Tab.
But the sizes in VM device show different behavior then in 4.1.
That could expect Memory hot unplug. 
The values and units are not match with the value i hotplug.
   

Additional info:
See attached:
1. Snapshot of VM devices from 4.1 with same values   
2. Snapshot of VM devices from 4.2 
3. VM dumpxml
And logs

Comment 1 Israel Pinto 2017-08-16 10:41:51 UTC
Created attachment 1314055 [details]
logs

Comment 2 Israel Pinto 2017-08-16 10:42:28 UTC
Created attachment 1314056 [details]
dimm in vm xml

Comment 3 Israel Pinto 2017-08-16 10:43:02 UTC
Created attachment 1314058 [details]
4.2 vm devices

Comment 4 Israel Pinto 2017-08-16 10:43:37 UTC
Created attachment 1314060 [details]
4.1 vm devices

Comment 5 Yaniv Kaul 2017-08-16 12:25:47 UTC
Dup of https://bugzilla.redhat.com/show_bug.cgi?id=1482041 ?

Comment 7 Israel Pinto 2017-08-16 12:32:17 UTC
*** Bug 1482041 has been marked as a duplicate of this bug. ***

Comment 8 Israel Pinto 2017-09-24 08:59:35 UTC
Verify with:
Software version:4.2.0-0.0.master.20170917124606.gita804ef7.el7.centos

Steps:
1. Create VM with OS
2. Start VM 
3. Hotplug memory in different sizes: 256M , 512MB, 1 GB couple of time each one.
and check VM device.  


Results:
PASS

Comment 9 Sandro Bonazzola 2017-12-20 11:25:42 UTC
This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017.

Since the problem described in this bug report should be
resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.