Bug 1127307

Summary: Installer fails if Satellite hostname doesn't have a TLD at the end of the domain
Product: Red Hat Satellite Reporter: Mike McCune <mmccune>
Component: InstallationAssignee: Mike McCune <mmccune>
Status: CLOSED NOTABUG QA Contact: Katello QA List <katello-qa-list>
Severity: high Docs Contact:
Priority: high    
Version: 6.0.4CC: bbuckingham, bkearney, daobrien, stbenjam, sthirugn, xdmoon
Target Milestone: UnspecifiedKeywords: ReleaseNotes, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-29 13:50:29 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:    
Bug Blocks: 1190823    

Description Mike McCune 2014-08-06 15:17:16 UTC
Users with domains containing hyphens are unable to install Satellite 6, they get errors during installation:

[root@sat6 ~]# katello-installer
 /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[sat6.test.example-domain]: Could not evaluate: 500 Internal Server Error
Installing             Done            [100%] 

We need to determine why Satellite 6 can't be installed on systems with a domain including a hyphen and support this use case.

Steps to reproduce:

1) Setup a system who's domain name resolves to something with a hyphen:

sat6test.example-domain.com

2) Attempt to run katello-installer

3) note errors

Comment 1 RHEL Program Management 2014-08-06 15:43:51 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 4 Mike McCune 2014-08-12 22:40:28 UTC
Clarification:

It will only fail if the domain is missing a TLD:

FAIL: hostname.domain-example

PASS: hostname.domain-example.com

Comment 5 Mike McCune 2014-08-12 22:45:30 UTC
This is:

http://projects.theforeman.org/issues/4675

Comment 6 Mike McCune 2014-08-12 22:51:21 UTC
WORKAROUND, specify a valid email address in the installer with a TLD

# katello-installer --foreman-admin-email=root.com

Comment 8 David O'Brien 2015-06-17 05:14:20 UTC
Added to beta release notes. Not brewed yet.

Comment 12 Bryan Kearney 2016-05-27 16:52:54 UTC
Created redmine issue http://projects.theforeman.org/issues/15216 from this bug