I've got a fairly new and clean install of foreman 1.14.3 and was trying to 
install Katello 3.3 but after running "yum -y install katello" I ran 
"foreman-installer --scenario katello --help" and I get the following error.

[root@foreman-dev foreman]# foreman-installer --scenario katello --help
/usr/share/gems/gems/kafo-1.0.5/lib/kafo/data_type.rb:29:in `register_type': 
Data type Foreman_proxy::ListenOn is already registered, cannot be 
re-registered (ArgumentError)
        from 
/usr/share/gems/gems/kafo-1.0.5/lib/kafo/data_type_parser.rb:22:in `block in 
register'
        from 
/usr/share/gems/gems/kafo-1.0.5/lib/kafo/data_type_parser.rb:20:in `each'
        from /usr/share/gems/gems/kafo-1.0.5/lib/kafo/data_type_parser.rb:20
:in `register'
        from 
/usr/share/gems/gems/kafo-1.0.5/lib/kafo/configuration.rb:314:in `block (2 
levels) in register_data_types'
        from 
/usr/share/gems/gems/kafo-1.0.5/lib/kafo/configuration.rb:313:in `each'
        from /usr/share/gems/gems/kafo-1.0.5/lib/kafo/configuration.rb:313:
in `block in register_data_types'
        from 
/usr/share/gems/gems/kafo-1.0.5/lib/kafo/configuration.rb:312:in `each'
        from 
/usr/share/gems/gems/kafo-1.0.5/lib/kafo/configuration.rb:312:in 
`register_data_types'
        from /usr/share/gems/gems/kafo-1.0.5/lib/kafo/configuration.rb:91:in 
`modules'
        from 
/usr/share/gems/gems/kafo-1.0.5/lib/kafo/configuration.rb:193:in `params'
        from 
/usr/share/gems/gems/kafo-1.0.5/lib/kafo/configuration.rb:203:in 
`preset_defaults_from_puppet'
        from /usr/share/gems/gems/kafo-1.0.5/lib/kafo/scenario_manager.rb:
208:in `load_and_setup_configuration'
        from 
/usr/share/gems/gems/kafo-1.0.5/lib/kafo/kafo_configure.rb:274:in `
set_parameters'
        from 
/usr/share/gems/gems/kafo-1.0.5/lib/kafo/kafo_configure.rb:99: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-1.0.5/lib/kafo/kafo_configure.rb:154:in `run'
        from /sbin/foreman-installer:8:in `<main>'


I also ran the command w/o help and got:

[root@foreman-dev foreman]# foreman-installer --scenario katello
[ INFO 2017-05-09 17:16:04 verbose] Executing hooks in group pre_migrations
[ INFO 2017-05-09 17:16:04 verbose] All hooks in group pre_migrations 
finished
[ERROR 2017-05-09 17:16:04 verbose] You are trying to replace existing 
installation with different scenario. This may lead to unpredictable 
states. Use --force to override. You can use --compare-scenarios to see the 
differences
[ INFO 2017-05-09 17:16:04 verbose] Log was be written to 
/var/log/foreman-installer/katello.log
[ INFO 2017-05-09 17:16:04 verbose] Logs flushed


When I ran the --compare-scenarios I got the same error I did when I ran 
--help.

I was following the procedure for install listed 
here: https://theforeman.org/plugins/katello/3.3/installation/index.html

Anyone have any suggestions on how to resolve this?

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to