Project

General

Profile

Actions

Feature #3435

closed

foreman-installer fails when /etc/hosts is not filled appropriately

Added by Yanis Guenane about 11 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
foreman-installer script
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

If one leaves the /etc/hosts as it is

127.0.0.1 localhost
::1 localhost

and run the foreman-installer, installation fails with

/Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[foreman.example.com]: Could not evaluate: undefined method `[]' for nil:NilClass

To me, it might be due to the smart-proxy not being able to ping foreman.example.com since on the host there is no route to it leading to the nil:NilClass. (I have no DNS setup in my case)


Related issues 1 (0 open1 closed)

Related to Kafo - Feature #3394: Run puppet with --traceClosedLukas Zapletal10/21/2013Actions
Actions #1

Updated by Greg Sutcliffe about 11 years ago

  • Tracker changed from Bug to Feature
  • Category set to foreman-installer script

We should probably add this to checks/hostname.rb (or to a new check file)

Actions #2

Updated by Dominic Cleal about 11 years ago

Actions #3

Updated by Anonymous over 7 years ago

  • Status changed from New to Resolved

there an installer hook with a check now.

Actions

Also available in: Atom PDF