Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

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