Bug 1374046 - Cannot use capital letters in Custom Naming Scheme.
Summary: Cannot use capital letters in Custom Naming Scheme.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Quickstart Cloud Installer
Classification: Red Hat
Component: Installation - RHEV
Version: 1.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: 1.1
Assignee: cchase
QA Contact: Tasos Papaioannou
Dan Macpherson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-07 19:39 UTC by James Olin Oden
Modified: 2017-02-28 01:39 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-02-28 01:39:28 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2017:0335 0 normal SHIPPED_LIVE Red Hat Quickstart Installer 1.1 2017-02-28 06:36:13 UTC

Description James Olin Oden 2016-09-07 19:39:07 UTC
Description of problem:
When you add a capital letter to the name template Next is grayed out but no error is printed.

Version-Release number of selected component (if applicable):
QCI-1.0-RHEL-7-20160902.5

How reproducible:
always

Steps to Reproduce:
1.   Do a RHV deployment 
2.   Use the custom name scheme for the hosts, but try to add a capital 
     letter to the name template.

Actual results:
Next is grayed out.

Expected results:
Either it print an error in red, or it allow the capital letter.

Comment 1 James Olin Oden 2016-09-07 19:41:14 UTC
I was wrong it is printing an error but the error is not in red text so it was not apparent to me.

Comment 2 James Olin Oden 2016-09-07 19:42:49 UTC
OK, no it doesn't print an error at all with the custom naming scheme, but it does print a non red error when you try to do a freeform name on an individual host.

Comment 3 James Olin Oden 2016-09-07 19:44:18 UTC
Also, when you do enter a truly invalid char like a comma in the template it will give you an error that says:

This field must contain only 'A-Z', 'a-z', '0-9', '_' or '-' characters.

Note it says A-Z is OK, when probably it shouldn't

Comment 4 James Olin Oden 2016-09-07 19:45:12 UTC
It also says _, and - are OK but the Next button gets grayed out when you use them in the name template.

Comment 5 James Olin Oden 2016-09-07 19:47:06 UTC
Additionally, if one tries to enter a name longer than 43 characters the Next is grayed out with no error.

Comment 7 cchase 2016-09-16 15:43:02 UTC
https://github.com/fusor/fusor/pull/1226

Modified custom naming scheme entry:
- Disallow capital letters and underscores.
- Limit to 40 characters.
- Allow - and . after the first character.
- Changed message to "Custom prefixes must begin with "a-z" or "0-9" and contain only "a-z", "0-9", "." or "-" characters."

Comment 8 Tasos Papaioannou 2016-10-04 19:37:34 UTC
Verified on QCI-1.1-RHEL-7-20161004.t.0.

Comment 11 errata-xmlrpc 2017-02-28 01:39:28 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2017:0335


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