Actions
Feature #3435
closedforeman-installer fails when /etc/hosts is not filled appropriately
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
foreman-installer script
Target version:
-
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)
Actions