The memory guaranteed and memory size in the webadmin's new/edit dialogs is unclear. It should behave like this in VM dialog: - if the template is selected, it's values for memory guaranteed and min allocated memory should be copied as defined on the template - if the user changes the memory size, the min allocated memory has to be recalculated using the overcommit regardless if the mem size is enlarged or not
*** Bug 1302301 has been marked as a duplicate of this bug. ***
Verified on: rhevm-3.6.5.1-0.1.el6 libvirt-client-1.2.17-13.el7_2.2.x86_64 sanlock-3.2.4-1.el7.x86_64 qemu-kvm-rhev-2.3.0-31.el7_2.10.x86_64 vdsm-4.17.25-0.el7ev.noarch 1)Create new VM from template and verify that the values of memory size and memory guaranteed are copied from the template. 1.1)Change the memory size and verify that the memory guaranteed changed to the same size. 2)Create a new VM and change the default of the memory size, verify that the memory guaranteed changed to the same value.