Bug 1294488

Summary: Edit blank template fail on that "Physical Memory Guaranteed" can't be 0 MB.
Product: [oVirt] ovirt-engine Reporter: Ilanit Stein <istein>
Component: Backend.CoreAssignee: Tomas Jelinek <tjelinek>
Status: CLOSED CURRENTRELEASE QA Contact: Ilanit Stein <istein>
Severity: medium Docs Contact:
Priority: high    
Version: 3.6.2CC: amarchuk, bugs, gklein, lsurette, mavital, mgoldboi, michal.skrivanek, rbalakri, Rhev-m-bugs, tjelinek, yeylon, ykaul, ylavi
Target Milestone: ovirt-3.6.3Keywords: Regression
Target Release: 3.6.3Flags: rule-engine: ovirt-3.6.z+
rule-engine: blocker+
mgoldboi: planning_ack+
tjelinek: devel_ack+
mavital: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: The blank template had the "physical memory guaranteed" field set by default to 0 Consequence: the edit blank template had a validation error stating that the "physical memory guaranteed" can not be 0 Fix: set the default "physical memory guaranteed" to be the same as memory size for the blank template Result: now the edit blank template works without editing the "physical memory guaranteed"
Story Points: ---
Clone Of:
: 1302301 (view as bug list) Environment:
Last Closed: 2016-02-18 11:15:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1302301    

Description Ilanit Stein 2015-12-28 12:26:29 UTC
Description of problem:
Edit Blank template console from it's default to VNC+SPICE, and press OK, 
fail on that  "Physical Memory Guaranteed" can't be 0 MB.
If in addition changing  "Physical Memory Guaranteed" to 1024 MB, for example,
the Edit Blank template succeed.

Version-Release number of selected component (if applicable):
rhevm 3.6.2-2

Expected results:
Edit Blank template operation should not fail / be blocked by that "Physical Memory Guaranteed" must be changed from it's default value, 0 MB. 

Additional info:
A VM created from the Blank default template (no edit was made to the Blank template) has  "Physical Memory Guaranteed" 1024 MB, though the blank has  "Physical Memory Guaranteed" 0 MB, Is that OK?

Comment 3 Michal Skrivanek 2016-01-08 18:16:52 UTC
We want to modify the behavior a bit more

Comment 4 Red Hat Bugzilla Rules Engine 2016-01-10 11:55:02 UTC
Bug tickets must have version flags set prior to targeting them to a release. Please ask maintainer to set the correct version flags and only then set the target milestone.

Comment 5 Tomas Jelinek 2016-01-28 08:34:56 UTC
The part fixing the inconsistant relation between memory guaranteed and min allocated memory has been split to this bug: https://bugzilla.redhat.com/show_bug.cgi?id=1302582

Consequently closing this one as the bug as described in title has been fixed and merged.

Comment 6 Red Hat Bugzilla Rules Engine 2016-01-28 12:16:24 UTC
Bug tickets that are moved to testing must have target release set to make sure tester knows what to test. Please set the correct target release before moving to ON_QA.

Comment 7 Red Hat Bugzilla Rules Engine 2016-01-28 12:25:00 UTC
Bug tickets that are moved to testing must have target release set to make sure tester knows what to test. Please set the correct target release before moving to ON_QA.

Comment 8 Red Hat Bugzilla Rules Engine 2016-01-28 12:28:51 UTC
Bug tickets that are moved to testing must have target release set to make sure tester knows what to test. Please set the correct target release before moving to ON_QA.

Comment 9 Ilanit Stein 2016-02-09 10:18:56 UTC
Verified on rhevm 3.6.3-0.1.
Now Blank template "Physical Memory Guaranteed" is set to 1024 MB by default, and not to 0 MB.