Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: VM memory reconfigure-> set memory to a value, smaller than guaranteed memory, request fail: "Error: [Cannot edit VM. Physical Memory Guaranteed cannot exceed Memory Size.]" Same operation, done on RHEV webadmin, behave differently: The memory is set to the new value, though it is smaller than the guaranteed memory, and the guaranteed memory is set also to this new memory value. Example case, where this bug can be seen: VM memory cold remove 2048MB->100M, for VM with guaranteed memory of 512MB. Version-Release number of selected component (if applicable): CFME 5.6.0.11-rc2.2.20160614152915_f315c68 RHEVM-3.6.6.2-0.1.el6 How reproducible: 100% Expected results: Behaviout on CFME should be the same as RHEV bahaviour. Memory update to a value smaller than guaranteed memory should succeed. Additional info: Might be that RHEV webadmin, and RESTAPI memory setting responses, to a value smaller than guaranteed memory are different.
https://github.com/ManageIQ/ovirt/pull/59/
(In reply to Moti Asayag from comment #2) > https://github.com/ManageIQ/ovirt/pull/59/ This bug was solved in manageIQ (instead of the first suggestion to solve it on ovirt gem which was abandoned). The relevant merged PR is https://github.com/ManageIQ/manageiq/pull/9882
Verified on manageiq-ovirt-master-201608192000-6658ccc8e and RHEVM-3.6.8-0.1. VM memory cold remove 2048MB->100M, for VM with guaranteed memory of 512MB, from CFME side succeeded. No error was seen on evm.log, or in the request result, seen on the CFME UI.
Verified on: RHV-4.0.4.2-0.1.el7ev 5.7.0.1.20160913164703_66caf07