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.
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.