Dear all,
I´m trying to upgrade my Katello from 2.4.4 to any version of 3.x but
everytime I´m failing with different errors, its a real nightmare, below is
what I get now for the latest version of 3.4.4:
[DEBUG 2017-08-23 00:44:07 main] katello-service start --only
tomcat,tomcat6 finished successfully!
[ INFO 2017-08-23 00:44:07 main] Upgrade Step: fix_katello_settings_file…
[ INFO 2017-08-23 00:44:07 main] Upgrade Step: migrate_foreman…
[ERROR 2017-08-23 00:44:27 main] foreman-rake – config -k use_pulp_oauth
-v true >/dev/null failed! Check the output for error!
[DEBUG 2017-08-23 00:44:41 main] API controllers newer than Apipie cache!
Run apipie:cache rake task to regenerate cache.
[DEBUG 2017-08-23 00:44:47 main] rake aborted!
[DEBUG 2017-08-23 00:44:47 main] Foreman::PluginRequirementError:
ERF72-1622 [Foreman::PluginRequirementError]: bastion plugin requires
Foreman >= 1.16 but current is 1.15.3
[DEBUG 2017-08-23 00:44:47 main]
/usr/share/foreman/app/services/foreman/plugin.rb:143:in requires_foreman' [DEBUG 2017-08-23 00:44:47 main] /opt/theforeman/tfm/root/usr/share/gems/gems/bastion-5.0.9/lib/bastion/engine.rb:48:in
block (2 levels) in <class:Engine>'
[DEBUG 2017-08-23 00:44:47 main]
/usr/share/foreman/app/services/foreman/plugin.rb:66:in instance_eval' [DEBUG 2017-08-23 00:44:47 main] /usr/share/foreman/app/services/foreman/plugin.rb:66:in
register'
[DEBUG 2017-08-23 00:44:47 main]
/opt/theforeman/tfm/root/usr/share/gems/gems/bastion-5.0.9/lib/bastion/engine.rb:47:in
block in <class:Engine>' [DEBUG 2017-08-23 00:44:47 main] /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:30:in
instance_exec'
[DEBUG 2017-08-23 00:44:47 main]
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:30:in
run' [DEBUG 2017-08-23 00:44:47 main] /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:55:in
block in run_initializers'
[DEBUG 2017-08-23 00:44:47 main]
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:54:in
run_initializers' [DEBUG 2017-08-23 00:44:47 main] /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/application.rb:352:in
initialize!'
[DEBUG 2017-08-23 00:44:47 main]
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/railtie.rb:194:in
public_send' [DEBUG 2017-08-23 00:44:47 main] /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/railtie.rb:194:in
method_missing'
[DEBUG 2017-08-23 00:44:47 main]
/usr/share/foreman/config/environment.rb:5:in <top (required)>' [DEBUG 2017-08-23 00:44:47 main] /opt/rh/sclo-ror42/root/usr/share/gems/gems/polyglot-0.3.4/lib/polyglot.rb:65:in
require'
[DEBUG 2017-08-23 00:44:47 main]
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:274:in
block in require' [DEBUG 2017-08-23 00:44:47 main] /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:240:in
load_dependency'
[DEBUG 2017-08-23 00:44:47 main]
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:274:in
require' [DEBUG 2017-08-23 00:44:47 main] /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/application.rb:328:in
require_environment!'
[DEBUG 2017-08-23 00:44:47 main]
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/application.rb:457:in
`block in run_tasks_blocks'
[DEBUG 2017-08-23 00:44:47 main] Tasks: TOP => db:migrate => environment
[DEBUG 2017-08-23 00:44:47 main] (See full trace by running task with
–trace)
[ERROR 2017-08-23 00:44:47 main] foreman-rake db:migrate failed! Check the
output for error!
[ERROR 2017-08-23 00:45:05 main] foreman-rake – config -k use_pulp_oauth
-v false >/dev/null failed! Check the output for error!
[ERROR 2017-08-23 00:45:05 main] Upgrade step migrate_foreman failed. Check
logs for more information.
[DEBUG 2017-08-23 00:45:05 main] Exit with status code: 1 (signal was 1)
[ERROR 2017-08-23 00:45:05 main] Errors encountered during run:
[ERROR 2017-08-23 00:45:05 main] foreman-rake – config -k use_pulp_oauth
-v true >/dev/null failed! Check the output for error!
[ERROR 2017-08-23 00:45:05 main] foreman-rake db:migrate failed! Check the
output for error!
[ERROR 2017-08-23 00:45:05 main] foreman-rake – config -k use_pulp_oauth
-v false >/dev/null failed! Check the output for error!
[ERROR 2017-08-23 00:45:05 main] Upgrade step migrate_foreman failed. Check
logs for more information.
I tried to upgrade Foreman with Nighly Version to get 1.16 but then I´m
getting failed dependencies
Error: Package: tfm-rubygem-runcible-1.12.0-1.el7.noarch (@katello)
Requires: tfm-rubygem(rest-client) < 2.0.0
Removing: tfm-rubygem-rest-client-1.8.0-1.el7.noarch (@foreman)
tfm-rubygem(rest-client) = 1.8.0
Updated By: tfm-rubygem-rest-client-2.0.1-1.el7.noarch
(foreman-nightly)
tfm-rubygem(rest-client) = 2.0.1
Error: Package:
1:foreman-installer-1.16.0-0.develop.201708110325git1e6de8c.el7.noarch
(foreman-nightly)
Requires: puppet-agent >= 1.6.1
Thanks,
Christian
Hi,
not sure about the other things but the bastion dependency issue is known, it should be fixed soon https://github.com/theforeman/foreman-packaging/pull/1771
Greetings
Klaas Demter
ATIX - The Linux & Open Source Company
www.atix.de
----- Ursprüngliche Mail -----
···
Von: ehartchr@gmail.com
An: "Foreman users"
Gesendet: Mittwoch, 23. August 2017 09:59:09
Betreff: [foreman-users] UPG from 2.4.4 to 3.x (also to 3.4.4 failing)
Dear all,
I´m trying to upgrade my Katello from 2.4.4 to any version of 3.x but
everytime I´m failing with different errors, its a real nightmare, below is
what I get now for the latest version of 3.4.4:
[DEBUG 2017-08-23 00:44:07 main] katello-service start --only
tomcat,tomcat6 finished successfully!
[ INFO 2017-08-23 00:44:07 main] Upgrade Step: fix_katello_settings_file…
[ INFO 2017-08-23 00:44:07 main] Upgrade Step: migrate_foreman…
[ERROR 2017-08-23 00:44:27 main] foreman-rake – config -k use_pulp_oauth
-v true >/dev/null failed! Check the output for error!
[DEBUG 2017-08-23 00:44:41 main] API controllers newer than Apipie cache!
Run apipie:cache rake task to regenerate cache.
[DEBUG 2017-08-23 00:44:47 main] rake aborted!
[DEBUG 2017-08-23 00:44:47 main] Foreman::PluginRequirementError:
ERF72-1622 [Foreman::PluginRequirementError]: bastion plugin requires
Foreman >= 1.16 but current is 1.15.3
[DEBUG 2017-08-23 00:44:47 main]
/usr/share/foreman/app/services/foreman/plugin.rb:143:in requires_foreman' [DEBUG 2017-08-23 00:44:47 main] /opt/theforeman/tfm/root/usr/share/gems/gems/bastion-5.0.9/lib/bastion/engine.rb:48:in
block (2 levels) in class:Engine’
[DEBUG 2017-08-23 00:44:47 main]
/usr/share/foreman/app/services/foreman/plugin.rb:66:in instance_eval' [DEBUG 2017-08-23 00:44:47 main] /usr/share/foreman/app/services/foreman/plugin.rb:66:in
register’
[DEBUG 2017-08-23 00:44:47 main]
/opt/theforeman/tfm/root/usr/share/gems/gems/bastion-5.0.9/lib/bastion/engine.rb:47:in
block in <class:Engine>' [DEBUG 2017-08-23 00:44:47 main] /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:30:in
instance_exec’
[DEBUG 2017-08-23 00:44:47 main]
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:30:in
run' [DEBUG 2017-08-23 00:44:47 main] /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:55:in
block in run_initializers’
[DEBUG 2017-08-23 00:44:47 main]
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:54:in
run_initializers' [DEBUG 2017-08-23 00:44:47 main] /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/application.rb:352:in
initialize!’
[DEBUG 2017-08-23 00:44:47 main]
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/railtie.rb:194:in
public_send' [DEBUG 2017-08-23 00:44:47 main] /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/railtie.rb:194:in
method_missing’
[DEBUG 2017-08-23 00:44:47 main]
/usr/share/foreman/config/environment.rb:5:in <top (required)>' [DEBUG 2017-08-23 00:44:47 main] /opt/rh/sclo-ror42/root/usr/share/gems/gems/polyglot-0.3.4/lib/polyglot.rb:65:in
require’
[DEBUG 2017-08-23 00:44:47 main]
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:274:in
block in require' [DEBUG 2017-08-23 00:44:47 main] /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:240:in
load_dependency’
[DEBUG 2017-08-23 00:44:47 main]
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:274:in
require' [DEBUG 2017-08-23 00:44:47 main] /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/application.rb:328:in
require_environment!’
[DEBUG 2017-08-23 00:44:47 main]
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/application.rb:457:in
`block in run_tasks_blocks’
[DEBUG 2017-08-23 00:44:47 main] Tasks: TOP => db:migrate => environment
[DEBUG 2017-08-23 00:44:47 main] (See full trace by running task with
–trace)
[ERROR 2017-08-23 00:44:47 main] foreman-rake db:migrate failed! Check the
output for error!
[ERROR 2017-08-23 00:45:05 main] foreman-rake – config -k use_pulp_oauth
-v false >/dev/null failed! Check the output for error!
[ERROR 2017-08-23 00:45:05 main] Upgrade step migrate_foreman failed. Check
logs for more information.
[DEBUG 2017-08-23 00:45:05 main] Exit with status code: 1 (signal was 1)
[ERROR 2017-08-23 00:45:05 main] Errors encountered during run:
[ERROR 2017-08-23 00:45:05 main] foreman-rake – config -k use_pulp_oauth
-v true >/dev/null failed! Check the output for error!
[ERROR 2017-08-23 00:45:05 main] foreman-rake db:migrate failed! Check the
output for error!
[ERROR 2017-08-23 00:45:05 main] foreman-rake – config -k use_pulp_oauth
-v false >/dev/null failed! Check the output for error!
[ERROR 2017-08-23 00:45:05 main] Upgrade step migrate_foreman failed. Check
logs for more information.
I tried to upgrade Foreman with Nighly Version to get 1.16 but then I´m
getting failed dependencies
Error: Package: tfm-rubygem-runcible-1.12.0-1.el7.noarch (@katello)
Requires: tfm-rubygem(rest-client) < 2.0.0
Removing: tfm-rubygem-rest-client-1.8.0-1.el7.noarch (@foreman)
tfm-rubygem(rest-client) = 1.8.0
Updated By: tfm-rubygem-rest-client-2.0.1-1.el7.noarch
(foreman-nightly)
tfm-rubygem(rest-client) = 2.0.1
Error: Package:
1:foreman-installer-1.16.0-0.develop.201708110325git1e6de8c.el7.noarch
(foreman-nightly)
Requires: puppet-agent >= 1.6.1
Thanks,
Christian
–
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.