Bug 997320

Summary: misleading help text for adding alias.
Product: OpenShift Container Platform Reporter: Peter Ruan <pruan>
Component: WebsiteAssignee: chris alfonso <calfonso>
Status: CLOSED DEFERRED QA Contact: libra bugs <libra-bugs>
Severity: low Docs Contact:
Priority: unspecified    
Version: 2.2.0CC: bleanhar, hbrock, libra-onpremise-devel, pruan
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 997567 (view as bug list) Environment:
Last Closed: 2013-08-28 13:04:38 UTC 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:
Bug Depends On: 997567    
Bug Blocks:    

Description Peter Ruan 2013-08-15 07:16:07 UTC
Description of problem:
  When trying to enter an alias from the UI for my app, the help text is misleading and incorrect

Enter your custom domain name. e.g. www.example.com or something.example.com

  If I were to put test.example.com it will display the error.  "Invalid Server Alias 'ppp.example.com' specified".  From the code, it looks like if the instance's hostname has example.com as part of the domain name it will be flagged as error, therefore the help text in the UI is incorrect.

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

How reproducible:
always.

Steps to Reproduce:
1.  In the UI's add alias text box, enter something like test.example.com
2.
3.

Actual results:
failed with the error similar to Invalid Server Alias 'ppp.example.com' specified"

Expected results:
success.

Additional info:

Comment 1 Brenton Leanhardt 2013-08-15 14:36:53 UTC
Does this happen in Online if you choose an rhcloud.com domain for your alias?  If so we should work on the bug there.

Comment 2 Peter Ruan 2013-08-15 15:43:56 UTC
Yes, if I were to put test.rhcloud.com as my alias it throws the same error.  I think it's the regular expression that's flagging it.

Comment 4 Brenton Leanhardt 2013-08-28 13:04:38 UTC
We'll pick this up in the next rebase.