Project

General

Profile

Actions

Bug #20943

closed

Provisioning Setup, Kafo Error, undefined method `keys' for "134.155.91.233 84.226":String (NoMethodError)

Added by mr ch almost 8 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Heey, thx a lot to gwmngilfen and singularity42, the problem i had was quite strange, beside this problem, i never couldn't install foreman in "i" mode straight up, with the many components i needed but had to do a default install before.

Main Issue:
but even after the regular, non "i" install, i went through the great Provisioning Setup Wizzard, generated:

foreman-installer \
--enable-foreman-proxy \
--foreman-proxy-tftp=true \
--foreman-proxy-tftp-servername=10.10.10.1 \
--foreman-proxy-dhcp=true \
--foreman-proxy-dhcp-interface=ens5f0 \
--foreman-proxy-dhcp-gateway= \
--foreman-proxy-dhcp-nameservers="10.10.10.1" \
--foreman-proxy-dns=true \
--foreman-proxy-dns-interface=ens5f0 \
--foreman-proxy-dns-zone=mannheim.bw-cloud.org \
--foreman-proxy-dns-reverse=10.10.10.in-addr.arpa \
--foreman-proxy-dns-forwarders=XXXXXXXX \
--foreman-proxy-foreman-base-url=https://XXXXXXXXXXXXXXXXXXXXXX.org \
--foreman-proxy-oauth-consumer-key=XXXXXXXXXXXXXXXXXXXXXXX \
--foreman-proxy-oauth-consumer-secret=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

ran into it, 2x, on my dev vm and on bare metal:

/usr/share/gems/gems/kafo-2.0.0/lib/kafo/configuration.rb:97:in `modules': undefined method `keys' for "134.155.91.233 84.226":String (NoMethodError)
from /usr/share/gems/gems/kafo-2.0.0/lib/kafo/configuration.rb:207:in `params'
from /usr/share/gems/gems/kafo-2.0.0/lib/kafo/configuration.rb:217:in `preset_defaults_from_puppet'
from /usr/share/gems/gems/kafo-2.0.0/lib/kafo/kafo_configure.rb:285:in `set_parameters'
from /usr/share/gems/gems/kafo-2.0.0/lib/kafo/kafo_configure.rb:100:in `initialize'
from /usr/share/gems/gems/clamp-1.0.0/lib/clamp/command.rb:133:in `new'
from /usr/share/gems/gems/clamp-1.0.0/lib/clamp/command.rb:133:in `run'
from /usr/share/gems/gems/kafo-2.0.0/lib/kafo/kafo_configure.rb:163:in `run'
from /usr/sbin/foreman-installer:8:in `<main>'

(puppet.conf parser is set to "current", i also dont have any - !ruby/string:HighLine::String |- syntax in foreman-answers.yaml)

huge thx in advance

Actions

Also available in: Atom PDF