Bug 1323447

Summary: Foreman-installer - typo in the message : The hostname contains a a capital letter.
Product: Red Hat Satellite Reporter: Tazim Kolhar <tkolhar>
Component: InstallationAssignee: Bryan Kearney <bkearney>
Status: CLOSED ERRATA QA Contact: Sanket Jagtap <sjagtap>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: bbuckingham, cwelton, kbidarka
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/14489
Whiteboard:
Fixed In Version: katello-installer-base-3.0.0.20-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-27 11:21:45 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:

Description Tazim Kolhar 2016-04-03 07:24:49 UTC
Description of problem:
Foreman-installer - typo in the message 

Version-Release number of selected component (if applicable):
# rpm -qa foreman
foreman-1.11.0.9-1.el7sat.noarch


How reproducible:


Steps to Reproduce:
1) Set your hostname to start with a capital letter (use the sethostname command, or hostname, or edit /etc/sysconfig/network
# hostname Dell-pem610-01.rhts.eng.bos.redhat.com

2) run facter and check that the fqdn shows the capital letter
# hostname
Dell-pem610-01.rhts.eng.bos.redhat.com

# hostname -f
Dell-pem610-01.rhts.eng.bos.redhat.com



3) run the installer, 
# foreman-installer --scenario katello
The hostname contains a a capital letter.

This is not supported. Please modify the hostname to be all lowercase. If needed, change the hostname permanently via 'hostname' command and editing 
appropriate configuration file.
(e.g. on Red Hat systems /etc/sysconfig/network).

If 'hostname -f' still returns unexpected result, check /etc/hosts and put
hostname entry in the correct order, for example:
 
  1.2.3.4 full.hostname.com full

 
Fully qualified hostname must be the first entry on the line
Installing             Done                                               [100%] [....................................................................................]
  Success!
  * Katello is running at https://dell-pem610-01.rhts.eng.bos.redhat.com
      Initial credentials are admin / SYZB6L8d4XGoUv55
  * To install additional capsule on separate machine continue by running:

      capsule-certs-generate --capsule-fqdn "$CAPSULE" --certs-tar "~/$CAPSULE-certs.tar"

  The full log is at /var/log/foreman-installer/katello.log


Actual results:
The hostname contains a a capital letter.

Expected results:
should  be
The hostname contains a capital letter.

Additional info:

Comment 2 Bryan Kearney 2016-04-05 19:04:00 UTC
Created redmine issue http://projects.theforeman.org/issues/14489 from this bug

Comment 3 Bryan Kearney 2016-04-05 20:03:51 UTC
Upstream bug assigned to bkearney

Comment 4 Bryan Kearney 2016-04-05 20:03:53 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/14489 has been closed
-------------
Anonymous
Applied in changeset commit:katello-installer|28d42e416c11dcf60eca97a8ef7fdc74a9fc2da5.

Comment 6 Sanket Jagtap 2016-05-10 13:27:13 UTC
The hostname contains a capital letter.

Comment 7 Bryan Kearney 2016-07-27 11:21:45 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/RHBA-2016:1501