Bug 1338985

Summary: [API] Invalid RHEV storage name not caught by validate
Product: Red Hat Quickstart Cloud Installer Reporter: Thom Carlin <tcarlin>
Component: fusor-serverAssignee: John Matthews <jmatthew>
Status: NEW --- QA Contact: Dave Johnson <dajohnso>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 1.0Keywords: FutureFeature, Triaged
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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 Thom Carlin 2016-05-23 20:14:12 UTC
Description of problem:

If an invalid RHEV export storage domain name is entered, it is immediately caught by the web UI.  The API does not catch it, either on entry or on validate

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

1.0

How reproducible:

100%

Steps to Reproduce:
1. Create a RHEV deployment using the API with invalid value for rhev_storage_name
2. Validate the deployment using the API
3. Check the deployment in the web UI

Actual results:

No errors on creation
No errors or warnings on validate
web UI shows in Section 2E. Data Domain Name "must contain only 'A-Z', 'a-z', '0-9', '_' or '-' characters"

Expected results:

Error during validate

Additional info: