Bug 1285375 - RHEV Hypervisor custom naming scheme does not check for invalid characters
Summary: RHEV Hypervisor custom naming scheme does not check for invalid characters
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Quickstart Cloud Installer
Classification: Red Hat
Component: Installation - RHEV
Version: 1.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: TP2
: 1.0
Assignee: dgao
QA Contact: Dave Johnson
Dan Macpherson
URL:
Whiteboard:
Depends On:
Blocks: rhci-sprint-12
TreeView+ depends on / blocked
 
Reported: 2015-11-25 13:47 UTC by Antonin Pagac
Modified: 2016-10-03 19:00 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-10-03 19:00:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Antonin Pagac 2015-11-25 13:47:22 UTC
Description of problem:
When deploying RHEVM, in step 2C Hypervisors, the host naming scheme 'Custom scheme' does not check for invalid characters in 'Prepend host names with' field. This can cause an invalid hostname to be added and the deployment to fail.

Version-Release number of selected component (if applicable):
RHCI-6.0-RHEL-7-20151118.t.0-RHCI-x86_64-dvd1.iso

How reproducible:
Always

Steps to Reproduce:
1. Start a deployment of RHEVM
2. Go to step 2C Hypervisors, choose naming scheme 'Custom scheme'
3. Fill out some invalid characters in the 'Prepend host names with' field
4. Click Next, no check is performed

Actual results:
No check for invalid characters is performed; user is allowed to continue with invalid characters in hostname

Expected results:
Check for invalid characters; don't allow to continue with invalid characters in hostname

Additional info:

Comment 1 Antonin Pagac 2015-11-25 14:16:19 UTC
See also: https://bugzilla.redhat.com/show_bug.cgi?id=1285393

Comment 2 dgao 2016-01-20 15:12:21 UTC
The UI already has checks against invalid characters in mac naming scheme. When invalid characters are entered, the "Next" button is disabled.

In addition, invalid characters are checked as part of backend validation in the deployment summary screen. The changes can be tracked in: 

https://github.com/fusor/fusor/pull/600

Comment 3 Antonin Pagac 2016-01-26 09:29:53 UTC
Verified.

RHCI-6.0-RHEL-7-20160122.t.1-RHCI-x86_64-dvd1.iso


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