Installation went fine and was successful but when i try to run foreman-installer --scenario katello --help it gives following error
[root@foreman ~]# foreman-installer --scenario katello --help
/usr/share/gems/gems/kafo-2.0.1/lib/kafo/data_type.rb:31:in `register_type': Data type Dhcp::Macaddress is already registered, cannot be re-registered (ArgumentError)
from /usr/share/gems/gems/kafo-2.0.1/lib/kafo/data_type_parser.rb:22:in `block in register'
from /usr/share/gems/gems/kafo-2.0.1/lib/kafo/data_type_parser.rb:20:in `each'
from /usr/share/gems/gems/kafo-2.0.1/lib/kafo/data_type_parser.rb:20:in `register'
from /usr/share/gems/gems/kafo-2.0.1/lib/kafo/configuration.rb:343:in `block (2 levels) in register_data_types'
from /usr/share/gems/gems/kafo-2.0.1/lib/kafo/configuration.rb:342:in `each'
from /usr/share/gems/gems/kafo-2.0.1/lib/kafo/configuration.rb:342:in `block in register_data_types'
from /usr/share/gems/gems/kafo-2.0.1/lib/kafo/configuration.rb:341:in `each'
from /usr/share/gems/gems/kafo-2.0.1/lib/kafo/configuration.rb:341:in `register_data_types'
from /usr/share/gems/gems/kafo-2.0.1/lib/kafo/configuration.rb:96:in `modules'
from /usr/share/gems/gems/kafo-2.0.1/lib/kafo/configuration.rb:207:in `params'
from /usr/share/gems/gems/kafo-2.0.1/lib/kafo/configuration.rb:217:in `preset_defaults_from_puppet'
from /usr/share/gems/gems/kafo-2.0.1/lib/kafo/scenario_manager.rb:208:in `load_and_setup_configuration'
from /usr/share/gems/gems/kafo-2.0.1/lib/kafo/kafo_configure.rb:289:in `set_parameters'
from /usr/share/gems/gems/kafo-2.0.1/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.1/lib/kafo/kafo_configure.rb:163:in `run'
from /usr/sbin/foreman-installer:8:in `'
I’ve seen this error before and that was when it attempted to load the
same modules twice. Are you sure all the installer packages are the
latest versions?
to clean things up and then I went and removed /etc/foreman* files and /usr/share/foreman/* and /var/log/foreman* and run the yum install katello and then it was happy and the install ran and it running.
So I installed rubygem-rkerberos-0.1.3-5.el7.x86_64.rpm first. Yum update currently isn’t happy because I have that older version, but Foreman 1.16 and Katello 3.5 said:
to get past the: Puppet 5.5.1 does not meet requirements for thias-squid3 (>=2.7.20 <5.0.0)
problem, what a maze.
I wanted to use Foreman 1.17, but the template plugin has problems.
Hope this helps someone.
Good Luck!