Description of problem: For a Powered OFF VM, with Guaranteed memory 512 MB, and Memory size 1024 MB, CFME Reconfigure VM: change memory size to 2048 MB request fail on 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% Actual results: The cold Add VM memory actually succeed (Checking it on RHEV side), in parallel to having the request itself fail on CFME side on the "divided by 0" Error. Expected results: Cold Add VM memory request should succeed, without errors.
Created attachment 1175937 [details] evm.log relevant part
RHEV VM Cold memory remove request on CFME, fail on "Error divided by 0" as well. For example, a VM with Memory 512MB, and guaranteed memory 100 MB, VM reconfigure-> memory update 512MB->100MB fail on "Error: divided by 0", while on RHEV side this memory remove operation succeded (memory updated to 100MB)
Moti, can you add PR link that fixed this issue?
Verified on manageiq-ovirt-master-201608192000-6658ccc8e and RHEVM-3.6.8-0.1. VM memory cold remove 1024M->2048M, for VM with guaranteed memory of 512MB, from CFME side succeeded. No error was seen on evm.log, or in the request result, on CFME UI.
Verified on: RHV-4.0.4.2-0.1.el7ev 5.7.0.1.20160913164703_66caf07 Memory cold add/remove succeed, with no errors on CFME, and the guaranteed memory is updated to the memory new set value.
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, 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://rhn.redhat.com/errata/RHBA-2017-0012.html