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 1171697

Summary: Specify (dis)allowed characters of hostname
Product: Red Hat Satellite Reporter: Pavel Moravec <pmoravec>
Component: Docs Install GuideAssignee: jsomers
Status: CLOSED CURRENTRELEASE QA Contact: Megan Lewis <melewis>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0.6CC: adstrong, inecas, jsomers, sauchter, tbrisker, xdmoon
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Build Name: 22922, Installation Guide-6.0-1 Build Date: 07-10-2014 15:39:35 Topic ID: 10911-714915 [Latest]
Last Closed: 2015-07-09 12:55:11 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: 1173744    
Bug Blocks:    

Description Pavel Moravec 2014-12-08 12:27:22 UTC
Title: Prerequisites

Describe the issue:
If (FQDN) hostname contains '_' character, katello-installer fails with "Failed to call refresh: /usr/sbin/foreman-rake db:seed returned 1 instead of one of [0]" error.

hostnames cant contain some characters (worth asking inecas for (dis)allowed chars) and Install Guide should reflect it in prerequisities - it prevents quite unrelated bug as above to appear.


Suggestions for improvement:
Before the point "Full forward and reverse DNS ..", provide list of (dis)allowed characters in server's hostname


Additional information:

Comment 4 Ivan Necas 2014-12-10 07:14:19 UTC
The only allowed characters for a hostname are letters, numbers, dot (.) and dash (-).

Comment 5 Tomer Brisker 2015-01-11 07:54:41 UTC
Similar validation is ready for testing on upstream for domain names.
Once merged it could also be used for validating host names.

Comment 6 RHEL Program Management 2015-04-21 16:07:58 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.