Bug 1338985 - [API] Invalid RHEV storage name not caught by validate
Summary: [API] Invalid RHEV storage name not caught by validate
Keywords:
Status: NEW
Alias: None
Product: Red Hat Quickstart Cloud Installer
Classification: Red Hat
Component: fusor-server
Version: 1.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: John Matthews
QA Contact: Dave Johnson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-05-23 20:14 UTC by Thom Carlin
Modified: 2016-09-27 22:49 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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:


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