Foreman 1.14.3 + Katello 3.3 issue

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:inblock 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 :inregister'
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:ineach'
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:ineach'
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:inmodules'
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:inpreset_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:innew'
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:inrun'
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: Foreman :: Plugin Manuals

Anyone have any suggestions on how to resolve this?

So I went at this again with a clean centos7 install and the same thing
happened. Brand new foreman-1.14.3-1.el7.noarch
and foreman-installer-katello-3.3.1.4-1.el7.noarch following the install
instructions for both. Soon as foreman was installed I attempted the
katello install.

The only error other than what I've posted above is during the katello
install I saw this.

warning: %posttrans(foreman-installer-katello-3.3.1.4-1.el7.noarch)
scriptlet failed, exit status 26
Non-fatal POSTTRANS scriptlet failure in rpm package
foreman-installer-katello-3.3.1.4-1.el7.noarch

Is there some version mix up? Some of the things I've found online is that
katello seems to be specific to a version of foreman.

Hi,
katello is currently not meant to be installed ontop of an existing foreman (Tracker #7605: As a Foreman user, I would like to be able to add Katello later to an existing Foreman installation - Katello - Foreman). Follow the katello install instructions and the installation will automatically include foreman.

Klaas Demter

ATIX - The Linux & Open Source Company
www.atix.de

----- Ursprüngliche Mail -----

··· Von: "Mike Wilson" An: "Foreman users" Gesendet: Donnerstag, 11. Mai 2017 22:02:23 Betreff: [foreman-users] Re: Foreman 1.14.3 + Katello 3.3 issue

So I went at this again with a clean centos7 install and the same thing
happened. Brand new foreman-1.14.3-1.el7.noarch
and foreman-installer-katello-3.3.1.4-1.el7.noarch following the install
instructions for both. Soon as foreman was installed I attempted the
katello install.

The only error other than what I’ve posted above is during the katello
install I saw this.

warning: %posttrans(foreman-installer-katello-3.3.1.4-1.el7.noarch)
scriptlet failed, exit status 26
Non-fatal POSTTRANS scriptlet failure in rpm package
foreman-installer-katello-3.3.1.4-1.el7.noarch

Is there some version mix up? Some of the things I’ve found online is that
katello seems to be specific to a version of foreman.


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 foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Ah! Thanks for the clarification. The instructions did have be a bit
confused. Didn't realize that was how it should be installed. I'll give
that a spin.

··· On Friday, May 12, 2017 at 2:11:09 AM UTC-5, Klaas Demter wrote: > > Hi, > katello is currently not meant to be installed ontop of an existing > foreman (http://projects.theforeman.org/issues/7605). Follow the katello > install instructions and the installation will automatically include > foreman. >