Bug 1073450

Summary: System Tab in VM dialog not validated
Product: [Retired] oVirt Reporter: Martin Betak <mbetak>
Component: ovirt-engine-webadminAssignee: bugs <bugs>
Status: CLOSED DUPLICATE QA Contact: Pavel Stehlik <pstehlik>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.4CC: acathrow, ecohen, gklein, iheim, mgoldboi, michal.skrivanek, yeylon
Target Milestone: ---   
Target Release: 3.4.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: virt
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-09 13:14:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Martin Betak 2014-03-06 13:12:36 UTC
Description of problem:

Frontend allows creation of a VM with negative memory. 

Version-Release number of selected component (if applicable):
ovirt-engine-3.4.0-0.12


How reproducible:
100%


Steps to Reproduce:
1. Click create new VM
2. In System Tab enter negative amount of memory (i.e -15 MB)
3. Click ok

Actual results:

VM created without errors.

Expected results:

Dialog should validate incorrect input and prevent creation of such VM.


Additional info:

Also other parts of the "System" tab seem to be not validated (for example the Total virtual CPUs will accept negative value but at least will fail on the backend upon the dialog submit)

Comment 1 Michal Skrivanek 2014-03-09 13:14:08 UTC

*** This bug has been marked as a duplicate of bug 1069628 ***