Description of problem: Hosted Engine VM does not update the memory inside the guest after editing it from the RHVM portal. Version-Release number of selected component (if applicable): ovirt-hosted-engine-setup-2.1.4-1.el7ev.noarch ovirt-hosted-engine-ha-2.1.8-1.el7ev.noarch ovirt-engine-4.1.9.1-0.1.el7.noarch How reproducible: Always Steps to Reproduce: 1. Edit the hosted engine VM configuration for memory. (increase or decrease) 2. Check the memory inside the guest Hosted Engine. 3. There is no change. Actual results: Hosted Engine memory change does not reflect. (when mem was 4086) # free -m total used free shared buff/cache available Mem: 3778 1599 1691 39 488 1889 Swap: 8191 0 8191 Expected results: (according to https://access.redhat.com/solutions/964693) Change should be reflected on the fly. (when mem was 5000 and after HE VM reboot) # free -m total used free shared buff/cache available Mem: 4676 1750 2391 39 534 2632 Swap: 8191 0 8191 Additional info: 1] It does update the OVF store with the new memSize: ** Increase from 4086 to 5000 so the vm.conf shows it correct: # cat /var/run/ovirt-hosted-engine-ha/vm.conf cpuType=SandyBridge emulatedMachine=pc-i440fx-rhel7.3.0 vmId=5a1dab2d-c19f-4e51-a225-71882c535084 smp=2 memSize=5000 <<===== maxVCpus=16 ** But the vdsClient does not reflect the change: guestDiskMapping = {'QEMU_DVD-ROM_QM00003': {'name': '/dev/sr0'}, '09fbcc4a-3f41-4959-a': {'name': '/dev/vda'}} vmType = kvm smp = 2 display = vnc memSize = 4086 <<===== cpuType = SandyBridge spiceSecureChannels = smain,sdisplay,sinputs,scursor,splayback,srecord,ssmartcard,susbredir statusTime = 5325240010 vmName = HostedEngine guestIPs = pauseCode = NOERR maxVCpus = 16 WORKAROUND: =========== -Enable global mainteance. - PoweOff the Hosted Engine VM. - Start the Hosted Engine VM. Now the changes are reflected in the guest.
This is expected. Hosted engine officially does not support memory hotplug. It might work starting 4.2.2 where some other changes that make it possible were merged (nicknamed libvirtxml and node 0).
*** This bug has been marked as a duplicate of bug 1523835 ***
BZ<2>Jira Resync