Project

General

Profile

Actions

Bug #16929

closed

Better error message for unresolvable host name

Added by Stephen Benjamin over 7 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Category:
Installer
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1368443
Description of problem:

If you do not configure a FQDN properly an error message is displayed, but the error message is incorrect.

The main error is in this part:
1.2.3.4 full.hostname.com full

This would be more accurate:
1.2.3.4 host_name.domain_name.com host_name

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

How reproducible:
every time

Steps to Reproduce:
1. misconfigure host anme
2. try to install Satellite Server

Actual results:
hostname: No address associated with name
Output of 'facter fqdn' is different from 'hostname -f'

Make sure above command gives the same output. 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
Your system does not meet configuration criteria

Expected results:

hostname: No address associated with name
Output of 'facter fqdn' is different from 'hostname -f'

Make sure the above command gives the same output. If needed, change 
the host name permanently using the 'hostname' command and editing
appropriate configuration files. (e.g. '/etc/sysconfig/network' on Red Hat Enterprise Linux 6 systems or '/etc/hostname' on Red Hat Enterprise Linux 7 systems ).
If 'hostname -f' still returns unexpected result, check /etc/hosts and put
the host name entry in the correct order, for example:
1.2.3.4 host_name.domain_name.com host_name
The Fully qualified host name must be the first entry on the line after the IP address.
Your system does not meet configuration criteria

Additional info:

Actions #1

Updated by The Foreman Bot over 7 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Stephen Benjamin
  • Pull request https://github.com/Katello/katello-installer/pull/412 added
Actions #2

Updated by Anonymous over 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #3

Updated by Eric Helms over 7 years ago

  • Subject changed from Better error message for unresolvable host name to Better error message for unresolvable host name
  • translation missing: en.field_release set to 197
Actions

Also available in: Atom PDF