Bug 1368443
Summary: | Better error message for unresolvable host name | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Stephen Wadeley <swadeley> |
Component: | Installation | Assignee: | Stephen Benjamin <stbenjam> |
Status: | CLOSED ERRATA | QA Contact: | Adam Ruzicka <aruzicka> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.2.0 | CC: | aruzicka, bbuckingham, ddubuque, jcallaha |
Target Milestone: | Unspecified | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-02-21 16:51:07 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
Stephen Wadeley
2016-08-19 12:13:23 UTC
Created redmine issue http://projects.theforeman.org/issues/16929 from this bug I wouldn't say it's incorrect, just unhelpful.. I said "incorrect" because of this bit: full.hostname the is not how a FQDN works. Upstream bug assigned to stbenjam Upstream bug assigned to stbenjam Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/16929 has been resolved. Verified. Version Tested: Satellite-6.3 Snap 12 Package versions: satellite-6.3.0-16.0.beta.el7sat.noarch foreman-installer-1.15.2-1.el7sat.noarch foreman-installer-katello-3.4.4-1.el7sat.noarch katello-installer-base-3.4.4-1.el7sat.noarch satellite-installer-6.3.0.3-1.beta.el7sat.noarch The error message when hostname is not set correctly is better now. # hostname -f snap12.satellite63.centos7.lxc # cat >/etc/hosts <<-END 127.0.0.1 localhost 192.168.122.74 foobar snap12.satellite63.centos7.lxc END # hostname -f foobar # satellite-installer --scenario satellite Output of 'hostname -f' does not seems to be valid FQDN Make sure above command gives fully qualified domain name. At least one dot must be present and underscores are not allowed. If 'hostname -f' still returns unexpected result, check /etc/hosts and put the hostname entry in the correct order, for example: 1.2.3.4 hostname.example.com hostname Fully qualified hostname must be the first entry on the line Your system does not meet configuration criteria 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/RHSA-2018:0336
Running the following command sets the static hostname and allows you to run the foreman installer hostnamectl set-hostname your-new-hostname Reboot your system and you can run the installer just fine. |