Debian 10 Buster install fails on Quickstart install instructions

Problem:

A vanilla Debian Buster install fails following Quickstart install instructions at step

sudo foreman-installer

Expected outcome:

Foreman 1.24 installs successfully

Foreman and Proxy versions:

Foreman 1.24 installer

Foreman and Proxy plugin versions:

Distribution and version:

Debian 10.2 Buster

Other relevant data:

...
         ' | RUBYLIB=/usr/lib/ruby/vendor_ruby/kafo/modules: /opt/puppetlabs/bin/puppet apply --config=/tmp/kafo_installation20200118-6840-1hf0cxd/puppet.conf 2>&1
[ERROR 2020-01-18T01:12:32 main] ESC[1;33mWarning: Unknown variable: '::domain'. (file: /usr/share/foreman-installer/modules/foreman_proxy/manifests/params.pp, line: 265, column: 31)ESC[0m
ESC[1;33mWarning: Unknown variable: '::domain'. (file: /usr/share/foreman-installer/modules/foreman_proxy/manifests/params.pp, line: 296, column: 29)ESC[0m
ESC[1;31mError: Evaluation Error: Error while evaluating a Function Call, 'upcase' parameter 'arg' expects a value of type Numeric, String, Array, or Hash, got Undef (file: /usr/share/foreman-installer/modules/foreman_proxy/manifests/params.pp, line: 297, column: 29) on node homunculusESC[0m

[ERROR 2020-01-18T01:12:32 main] Could not get default values, cannot continue

Sounds a bit like Bug #27179: foreman-installer 1.22 fails on new Ubuntu Bionic box due to use of upcase() in foreman-proxy's params.pp - Installer - Foreman

1 Like

Thanks.

I neglected to state I did removed the hostname entry in /etc/hosts, as advised, but it seems in Buster, this is insufficient. Both
facter domain
and
facter fqdn
return null values.

Issuing
hostnamectl set-hostname hostname.example.com

fixes the issue.

Thanks!