Bug 1302582 - The relation between memory and memory guaranteed is not consistent
Summary: The relation between memory and memory guaranteed is not consistent
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Frontend.WebAdmin
Version: 3.6.1
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ovirt-3.6.5
: 3.6.5
Assignee: jniederm
QA Contact: meital avital
URL:
Whiteboard:
: 1302301 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-28 08:32 UTC by Tomas Jelinek
Modified: 2016-04-21 14:37 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-04-21 14:37:05 UTC
oVirt Team: Virt
Embargoed:
rule-engine: ovirt-3.6.z+
mgoldboi: planning_ack+
tjelinek: devel_ack+
mavital: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 51562 0 master MERGED webadmin: Consistent relation memory - guaranteed memory 2016-01-28 15:08:38 UTC
oVirt gerrit 52921 0 ovirt-engine-3.6 MERGED webadmin: Consistent relation memory - guaranteed memory 2016-02-02 14:53:02 UTC

Description Tomas Jelinek 2016-01-28 08:32:36 UTC
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

Comment 1 Tomas Jelinek 2016-02-10 08:44:35 UTC
*** Bug 1302301 has been marked as a duplicate of this bug. ***

Comment 2 meital avital 2016-04-11 08:55:22 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.