Bug 1022859

Summary: Validate quota for empty UUID
Product: Red Hat Enterprise Virtualization Manager Reporter: Gilad Chaplik <gchaplik>
Component: ovirt-engineAssignee: Gilad Chaplik <gchaplik>
Status: CLOSED WONTFIX QA Contact: Artyom <alukiano>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.3.0CC: acathrow, dfediuck, gchaplik, iheim, lpeer, mavital, rgolan, Rhev-m-bugs, yeylon
Target Milestone: ---   
Target Release: 3.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: sla
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-31 09:32:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: SLA RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Gilad Chaplik 2013-10-24 07:50:15 UTC
Description of problem:
no engine validation for quota, for empty UUID (000...).
Fails on FK, since there is no such a quota.

How reproducible:
100%


Steps to Reproduce:
1. create a VM/Disk and pass Empty string or empty UUID

Actual results:
creating fails

Expected results:
proper error message (quota is invalid)

Comment 1 Gilad Chaplik 2013-10-24 07:54:06 UTC
see bug 1021393 (foreman fails to create disk on empty string), and a temporary fix to it:
http://gerrit.ovirt.org/#/c/20466/2/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddDiskCommand.java for additional

Comment 2 Doron Fediuck 2013-10-28 15:40:45 UTC
After consulting Ohad Levi, from Foreman's perspective a fix in oVirt 3.4.0 would better fit both sides. Therefore, suggesting 3.4.0 for this issue.

Comment 6 Doron Fediuck 2014-03-31 09:32:20 UTC
Since there's no related user request and a fix may introduce other risks,
closing this issue. 
If relevant please explain why and re-open.