Katello 3.3.1 released!

Hello All
We are happy to announce the release of Katello 3.3.1 with fixes for:

  • Custom certificates
  • Upgrade issues
  • Display issues

and much more!

A list of the changes in Katello 3.3.1 is in our change log:

Installation or Upgrade

··· ==================

For installation, please see the instructions at:

Server:
https://theforeman.org/plugins/katello/3.3/installation/index.html
Smart Proxy:
https://theforeman.org/plugins/katello/3.3/installation/smart_proxy.html

For those testing upgrades, please use the instructions below and file
any issues you encounter. Please note that there are separate upgrade
instructions for the Katello server and Capsules/Smart Proxies:

Server: Foreman :: Plugin Manuals
Capsule:
Foreman :: Plugin Manuals

Bug reporting

If you come across a bug usagein your , please file it and note the
version of Katello that you’re using in the report and set the release
to 3.3.2

http://projects.theforeman.org/projects/katello/issues/new
http://projects.theforeman.org/projects/katello/issues/new

Cheers!
Justin Sherrill

Should I be running

foreman-installer --scenario katello --upgrade

after my yum update when upgrading from 3.3 to 3.3.1?

I'm getting errors during Upgrade Step: migrate_foreman

D

What errors?

··· On Mar 22, 2017 6:59 AM, "Duncan Innes" wrote:

Should I be running

foreman-installer --scenario katello --upgrade

after my yum update when upgrading from 3.3 to 3.3.1?

I’m getting errors during Upgrade Step: migrate_foreman

D


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.

Following comes from /var/log/foreman-installer/katello.log

[root@katello ~]# cat /var/log/foreman-installer/katello.log
[DEBUG 2017-03-22 10:55:35 main] Loading hook
/usr/share/katello-installer-base/hooks/pre_migrations/01-migrate_legacy_foreman_installer_config.rb
[DEBUG 2017-03-22 10:55:35 main] Loading hook
/usr/share/katello-installer-base/hooks/pre_migrations/10-migrate_legacy_capsule_config.rb
[DEBUG 2017-03-22 10:55:35 main] Loading hook
/usr/share/katello-installer-base/hooks/pre_migrations/11-migrate_legacy_katello_config.rb
[DEBUG 2017-03-22 10:55:35 main] Loading hook
/usr/share/katello-installer-base/hooks/boot/01-helpers.rb
[DEBUG 2017-03-22 10:55:35 main] Loading hook
/usr/share/katello-installer-base/hooks/boot/10-reset_hook.rb
[DEBUG 2017-03-22 10:55:35 main] Loading hook
/usr/share/katello-installer-base/hooks/boot/11-clear_pulp_data_hook.rb
[DEBUG 2017-03-22 10:55:35 main] Loading hook
/usr/share/katello-installer-base/hooks/boot/12-clear_puppet_environments.rb
[DEBUG 2017-03-22 10:55:35 main] Loading hook
/usr/share/katello-installer-base/hooks/boot/17-disable_system_checks.rb
[DEBUG 2017-03-22 10:55:35 main] Loading hook
/usr/share/katello-installer-base/hooks/boot/18-force_upgrade_hooks.rb
[DEBUG 2017-03-22 10:55:35 main] Loading hook
/usr/share/katello-installer-base/hooks/boot/20-certs_update.rb
[DEBUG 2017-03-22 10:55:35 main] Loading hook
/usr/share/katello-installer-base/hooks/boot/30-upgrade.rb
[DEBUG 2017-03-22 10:55:35 main] Loading hook
/usr/share/katello-installer-base/hooks/boot/31-upgrade-puppet.rb
[DEBUG 2017-03-22 10:55:35 main] Loading hook
/usr/share/katello-installer-base/hooks/init/10-puppet-profile-on-el6.rb
[DEBUG 2017-03-22 10:55:35 main] Loading hook
/usr/share/katello-installer-base/hooks/pre/10-reset_feature.rb
[DEBUG 2017-03-22 10:55:35 main] Loading hook
/usr/share/katello-installer-base/hooks/pre/11-clear_pulp_data_feature.rb
[DEBUG 2017-03-22 10:55:35 main] Loading hook
/usr/share/katello-installer-base/hooks/pre/12-clear_puppet_environments_feature.rb
[DEBUG 2017-03-22 10:55:35 main] Loading hook
/usr/share/katello-installer-base/hooks/pre/15-check_java.rb
[DEBUG 2017-03-22 10:55:35 main] Loading hook
/usr/share/katello-installer-base/hooks/pre/16-set_umask.rb
[DEBUG 2017-03-22 10:55:35 main] Loading hook
/usr/share/katello-installer-base/hooks/pre/17-memory_check.rb
[DEBUG 2017-03-22 10:55:35 main] Loading hook
/usr/share/katello-installer-base/hooks/pre/18-vm_overcommit.rb
[DEBUG 2017-03-22 10:55:35 main] Loading hook
/usr/share/katello-installer-base/hooks/pre/19-devlog.rb
[DEBUG 2017-03-22 10:55:35 main] Loading hook
/usr/share/katello-installer-base/hooks/pre/20-certs_update.rb
[DEBUG 2017-03-22 10:55:35 main] Loading hook
/usr/share/katello-installer-base/hooks/pre/29-remove_package_httpd_conf.rb
[DEBUG 2017-03-22 10:55:35 main] Loading hook
/usr/share/katello-installer-base/hooks/pre/30-upgrade.rb
[DEBUG 2017-03-22 10:55:35 main] Loading hook
/usr/share/katello-installer-base/hooks/pre/31-upgrade-puppet.rb
[DEBUG 2017-03-22 10:55:35 main] Loading hook
/usr/share/katello-installer-base/hooks/post/10-post_install.rb
[DEBUG 2017-03-22 10:55:35 main] Loading hook
/usr/share/katello-installer-base/hooks/post/29-create_package_httpd_conf.rb
[DEBUG 2017-03-22 10:55:35 main] Loading hook
/usr/share/katello-installer-base/hooks/post/30-upgrade.rb
[DEBUG 2017-03-22 10:55:35 main] Loading hook
/usr/share/katello-installer-base/hooks/post/31-upgrade-puppet.rb
[DEBUG 2017-03-22 10:55:35 main] Loading hook
/usr/share/katello-installer-base/hooks/pre_validations/10-check_foreman_proxy_pulp.rb
[DEBUG 2017-03-22 10:55:35 main] Loading hook
/usr/share/katello-installer-base/hooks/pre_validations/11-check_proxy_url.rb
[DEBUG 2017-03-22 10:55:35 main] Loading hook
/usr/share/katello-installer-base/hooks/pre_validations/12-check_capsule_tar.rb
[DEBUG 2017-03-22 10:55:35 main] Loading hook
/usr/share/katello-installer-base/hooks/pre_commit/05-puppet_certs_exist.rb
[DEBUG 2017-03-22 10:55:35 main] Loading hook
/usr/share/katello-installer-base/hooks/pre_migrations/01-migrate_legacy_foreman_installer_config.rb
[DEBUG 2017-03-22 10:55:35 main] Loading hook
/usr/share/katello-installer-base/hooks/pre_migrations/10-migrate_legacy_capsule_config.rb
[DEBUG 2017-03-22 10:55:35 main] Loading hook
/usr/share/katello-installer-base/hooks/pre_migrations/11-migrate_legacy_katello_config.rb
[DEBUG 2017-03-22 10:55:35 main] Loading hook
/usr/share/katello-installer-base/hooks/boot/01-helpers.rb
[DEBUG 2017-03-22 10:55:35 main] Loading hook
/usr/share/katello-installer-base/hooks/boot/10-reset_hook.rb
[DEBUG 2017-03-22 10:55:35 main] Loading hook
/usr/share/katello-installer-base/hooks/boot/11-clear_pulp_data_hook.rb
[DEBUG 2017-03-22 10:55:35 main] Loading hook
/usr/share/katello-installer-base/hooks/boot/12-clear_puppet_environments.rb
[DEBUG 2017-03-22 10:55:35 main] Loading hook
/usr/share/katello-installer-base/hooks/boot/17-disable_system_checks.rb
[DEBUG 2017-03-22 10:55:35 main] Loading hook
/usr/share/katello-installer-base/hooks/boot/18-force_upgrade_hooks.rb
[DEBUG 2017-03-22 10:55:35 main] Loading hook
/usr/share/katello-installer-base/hooks/boot/20-certs_update.rb
[DEBUG 2017-03-22 10:55:35 main] Loading hook
/usr/share/katello-installer-base/hooks/boot/30-upgrade.rb
[DEBUG 2017-03-22 10:55:35 main] Loading hook
/usr/share/katello-installer-base/hooks/boot/31-upgrade-puppet.rb
[DEBUG 2017-03-22 10:55:36 main] Loading hook
/usr/share/katello-installer-base/hooks/init/10-puppet-profile-on-el6.rb
[DEBUG 2017-03-22 10:55:36 main] Loading hook
/usr/share/katello-installer-base/hooks/pre/10-reset_feature.rb
[DEBUG 2017-03-22 10:55:36 main] Loading hook
/usr/share/katello-installer-base/hooks/pre/11-clear_pulp_data_feature.rb
[DEBUG 2017-03-22 10:55:36 main] Loading hook
/usr/share/katello-installer-base/hooks/pre/12-clear_puppet_environments_feature.rb
[DEBUG 2017-03-22 10:55:36 main] Loading hook
/usr/share/katello-installer-base/hooks/pre/15-check_java.rb
[DEBUG 2017-03-22 10:55:36 main] Loading hook
/usr/share/katello-installer-base/hooks/pre/16-set_umask.rb
[DEBUG 2017-03-22 10:55:36 main] Loading hook
/usr/share/katello-installer-base/hooks/pre/17-memory_check.rb
[DEBUG 2017-03-22 10:55:36 main] Loading hook
/usr/share/katello-installer-base/hooks/pre/18-vm_overcommit.rb
[DEBUG 2017-03-22 10:55:36 main] Loading hook
/usr/share/katello-installer-base/hooks/pre/19-devlog.rb
[DEBUG 2017-03-22 10:55:36 main] Loading hook
/usr/share/katello-installer-base/hooks/pre/20-certs_update.rb
[DEBUG 2017-03-22 10:55:36 main] Loading hook
/usr/share/katello-installer-base/hooks/pre/29-remove_package_httpd_conf.rb
[DEBUG 2017-03-22 10:55:36 main] Loading hook
/usr/share/katello-installer-base/hooks/pre/30-upgrade.rb
[DEBUG 2017-03-22 10:55:36 main] Loading hook
/usr/share/katello-installer-base/hooks/pre/31-upgrade-puppet.rb
[DEBUG 2017-03-22 10:55:36 main] Loading hook
/usr/share/katello-installer-base/hooks/post/10-post_install.rb
[DEBUG 2017-03-22 10:55:36 main] Loading hook
/usr/share/katello-installer-base/hooks/post/29-create_package_httpd_conf.rb
[DEBUG 2017-03-22 10:55:36 main] Loading hook
/usr/share/katello-installer-base/hooks/post/30-upgrade.rb
[DEBUG 2017-03-22 10:55:36 main] Loading hook
/usr/share/katello-installer-base/hooks/post/31-upgrade-puppet.rb
[DEBUG 2017-03-22 10:55:36 main] Loading hook
/usr/share/katello-installer-base/hooks/pre_validations/10-check_foreman_proxy_pulp.rb
[DEBUG 2017-03-22 10:55:36 main] Loading hook
/usr/share/katello-installer-base/hooks/pre_validations/11-check_proxy_url.rb
[DEBUG 2017-03-22 10:55:36 main] Loading hook
/usr/share/katello-installer-base/hooks/pre_validations/12-check_capsule_tar.rb
[DEBUG 2017-03-22 10:55:36 main] Loading hook
/usr/share/katello-installer-base/hooks/pre_commit/05-puppet_certs_exist.rb
[ INFO 2017-03-22 10:55:36 main] Executing hooks in group pre_migrations
[DEBUG 2017-03-22 10:55:36 main] Hook
/usr/share/katello-installer-base/hooks/pre_migrations/01-migrate_legacy_foreman_installer_config.rb
returned nil
[DEBUG 2017-03-22 10:55:36 main] Hook
/usr/share/katello-installer-base/hooks/pre_migrations/10-migrate_legacy_capsule_config.rb
returned nil
[DEBUG 2017-03-22 10:55:36 main] Hook
/usr/share/katello-installer-base/hooks/pre_migrations/11-migrate_legacy_katello_config.rb
returned nil
[ INFO 2017-03-22 10:55:36 main] All hooks in group pre_migrations finished
[ INFO 2017-03-22 10:55:36 main] Executing hooks in group boot
[DEBUG 2017-03-22 10:55:36 main] Hook
/usr/share/katello-installer-base/hooks/boot/01-helpers.rb returned nil
[DEBUG 2017-03-22 10:55:36 main] Hook
/usr/share/katello-installer-base/hooks/boot/10-reset_hook.rb returned
#<Clamp::Option::Definition:0x00000001c4fcd8 @switches=["–reset"],
@type=:flag, @description="This option will drop the Katello database and
clear all subsequent backend data stores.You will lose all data!
Unfortunately we\ncan't detect a failure at the moment so you should verify
the success\nmanually. e.g. dropping can fail when DB is currently in
use.", @default_value=false, @multivalued=nil, @attribute_name="reset">
[DEBUG 2017-03-22 10:55:36 main] Hook
/usr/share/katello-installer-base/hooks/boot/11-clear_pulp_data_hook.rb
returned #<Clamp::Option::Definition:0x00000001c4ed60
@switches=["–clear-pulp-content"], @type=:flag, @description="This option
will clear all Pulp content from disk located in
'/var/lib/pulp/content/'.", @default_value=false, @multivalued=nil,
@attribute_name="clear_pulp_content">
[DEBUG 2017-03-22 10:55:36 main] Hook
/usr/share/katello-installer-base/hooks/boot/12-clear_puppet_environments.rb
returned #<Clamp::Option::Definition:0x00000001c4dd70
@switches=["–clear-puppet-environments"], @type=:flag, @description="This
option will clear all published Puppet environments from disk.",
@default_value=false, @multivalued=nil,
@attribute_name="clear_puppet_environments">
[DEBUG 2017-03-22 10:55:36 main] Hook
/usr/share/katello-installer-base/hooks/boot/17-disable_system_checks.rb
returned #<Clamp::Option::Definition:0x00000001c4cda8
@switches=["–disable-system-checks"], @type=:flag, @description="This
option will skip the system checks for memory.", @default_value=false,
@multivalued=nil, @attribute_name="disable_system_checks">
[DEBUG 2017-03-22 10:55:36 main] Hook
/usr/share/katello-installer-base/hooks/boot/18-force_upgrade_hooks.rb
returned #<Clamp::Option::Definition:0x00000001c53f18
@switches=["–force-upgrade-steps"], @type=:flag, @description="This option
will force upgrade steps to run that are normally only run once.",
@default_value=false, @multivalued=nil,
@attribute_name="force_upgrade_steps">
[DEBUG 2017-03-22 10:55:36 main] Hook
/usr/share/katello-installer-base/hooks/boot/20-certs_update.rb returned
#<Clamp::Option::Definition:0x00000001c501b0
@switches=["–certs-skip-check"], @type=:flag, @description="This option
will cause skipping the certificates sanity check. Use with caution",
@default_value=false, @multivalued=nil, @attribute_name="certs_skip_check">
[DEBUG 2017-03-22 10:55:36 main] Hook
/usr/share/katello-installer-base/hooks/boot/30-upgrade.rb returned
#<Clamp::Option::Definition:0x00000001c57370 @switches=["–upgrade"],
@type=:flag, @description="Run the steps neccessary for an upgrade such as
migrations, rake tasks, etc.", @default_value=false, @multivalued=nil,
@attribute_name="upgrade">
[DEBUG 2017-03-22 10:55:36 main] Hook
/usr/share/katello-installer-base/hooks/boot/31-upgrade-puppet.rb returned
#<Clamp::Option::Definition:0x00000001c56420
@switches=["–upgrade-puppet"], @type=:flag, @description="Run the steps
neccessary to upgrade from Puppet 3 to Puppet 4.", @default_value=false,
@multivalued=nil, @attribute_name="upgrade_puppet">
[ INFO 2017-03-22 10:55:36 main] All hooks in group boot finished
[ INFO 2017-03-22 10:55:36 main] Executing hooks in group init
[DEBUG 2017-03-22 10:55:36 main] Hook
/usr/share/katello-installer-base/hooks/init/10-puppet-profile-on-el6.rb
returned nil
[ INFO 2017-03-22 10:55:36 main] All hooks in group init finished
[DEBUG 2017-03-22 10:55:36 main] Registering extended data type
Foreman_proxy::ListenOn
[DEBUG 2017-03-22 10:55:36 main] Registering extended data type
Stdlib::Absolutepath
[DEBUG 2017-03-22 10:55:36 main] Registering extended data type
Stdlib::Compat::Absolute_path
[DEBUG 2017-03-22 10:55:36 main] Registering extended data type
Stdlib::Compat::Array
[DEBUG 2017-03-22 10:55:36 main] Registering extended data type
Stdlib::Compat::Float
[DEBUG 2017-03-22 10:55:36 main] Registering extended data type
Stdlib::Compat::Integer
[DEBUG 2017-03-22 10:55:36 main] Registering extended data type
Stdlib::Compat::Ip_address
[DEBUG 2017-03-22 10:55:36 main] Registering extended data type
Stdlib::Compat::Ipv4
[DEBUG 2017-03-22 10:55:36 main] Registering extended data type
Stdlib::Compat::Ipv6
[DEBUG 2017-03-22 10:55:36 main] Registering extended data type
Stdlib::Compat::Numeric
[DEBUG 2017-03-22 10:55:36 main] Registering extended data type
Stdlib::Compat::String
[DEBUG 2017-03-22 10:55:36 main] Registering extended data type
Stdlib::HTTPSUrl
[DEBUG 2017-03-22 10:55:36 main] Registering extended data type
Stdlib::HTTPUrl
[DEBUG 2017-03-22 10:55:36 main] Registering extended data type
Stdlib::Unixpath
[DEBUG 2017-03-22 10:55:36 main] Registering extended data type
Stdlib::Windowspath
[DEBUG 2017-03-22 10:55:36 main] Provider KafoParsers::PuppetModuleParser
not available: cannot load such file – puppet
[DEBUG 2017-03-22 10:55:36 main] Provider
KafoParsers::PuppetStringsModuleParser not available:
/opt/puppetlabs/bin/puppet does not have strings module installed
[DEBUG 2017-03-22 10:55:36 main] No available Puppet module parser found
[DEBUG 2017-03-22 10:55:36 main] Using
/usr/share/foreman-installer/parser_cache/foreman.yaml,
/usr/share/katello-installer-base/parser_cache/katello.yaml cache with
parsed modules
[DEBUG 2017-03-22 10:55:36 main] Creating tmp dir within
/etc/foreman-installer/scenarios.d…
[ INFO 2017-03-22 10:55:36 main] Loading default values from puppet
modules…
[DEBUG 2017-03-22 10:55:36 main] checking presence of
/usr/share/foreman-installer/modules/certs/manifests/params.pp
[DEBUG 2017-03-22 10:55:36 main] checking presence of
/usr/share/katello-installer-base/modules/certs/manifests/params.pp
[DEBUG 2017-03-22 10:55:36 main] checking presence of
/usr/share/foreman-installer/modules/foreman/manifests/params.pp
[DEBUG 2017-03-22 10:55:36 main] checking presence of
/usr/share/foreman-installer/modules/foreman/manifests/plugin/ansible/params.pp
[DEBUG 2017-03-22 10:55:36 main] checking presence of
/usr/share/katello-installer-base/modules/foreman/manifests/plugin/ansible/params.pp
[DEBUG 2017-03-22 10:55:36 main] checking presence of
/usr/share/foreman-installer/modules/foreman/manifests/plugin/bootdisk/params.pp
[DEBUG 2017-03-22 10:55:36 main] checking presence of
/usr/share/katello-installer-base/modules/foreman/manifests/plugin/bootdisk/params.pp
[DEBUG 2017-03-22 10:55:36 main] checking presence of
/usr/share/foreman-installer/modules/foreman/manifests/plugin/chef/params.pp
[DEBUG 2017-03-22 10:55:36 main] checking presence of
/usr/share/katello-installer-base/modules/foreman/manifests/plugin/chef/params.pp
[DEBUG 2017-03-22 10:55:36 main] checking presence of
/usr/share/foreman-installer/modules/foreman/manifests/plugin/default_hostgroup/params.pp
[DEBUG 2017-03-22 10:55:36 main] checking presence of
/usr/share/katello-installer-base/modules/foreman/manifests/plugin/default_hostgroup/params.pp
[DEBUG 2017-03-22 10:55:36 main] checking presence of
/usr/share/foreman-installer/modules/foreman/manifests/plugin/discovery/params.pp
[DEBUG 2017-03-22 10:55:36 main] checking presence of
/usr/share/foreman-installer/modules/foreman/manifests/plugin/hooks/params.pp
[DEBUG 2017-03-22 10:55:36 main] checking presence of
/usr/share/katello-installer-base/modules/foreman/manifests/plugin/hooks/params.pp
[DEBUG 2017-03-22 10:55:36 main] checking presence of
/usr/share/foreman-installer/modules/foreman/manifests/plugin/openscap/params.pp
[DEBUG 2017-03-22 10:55:36 main] checking presence of
/usr/share/katello-installer-base/modules/foreman/manifests/plugin/openscap/params.pp
[DEBUG 2017-03-22 10:55:36 main] checking presence of
/usr/share/foreman-installer/modules/foreman/manifests/plugin/puppetdb/params.pp
[DEBUG 2017-03-22 10:55:36 main] checking presence of
/usr/share/foreman-installer/modules/foreman/manifests/plugin/remote_execution/params.pp
[DEBUG 2017-03-22 10:55:36 main] checking presence of
/usr/share/katello-installer-base/modules/foreman/manifests/plugin/remote_execution/params.pp
[DEBUG 2017-03-22 10:55:36 main] checking presence of
/usr/share/foreman-installer/modules/foreman/manifests/plugin/setup/params.pp
[DEBUG 2017-03-22 10:55:36 main] checking presence of
/usr/share/katello-installer-base/modules/foreman/manifests/plugin/setup/params.pp
[DEBUG 2017-03-22 10:55:36 main] checking presence of
/usr/share/foreman-installer/modules/foreman/manifests/plugin/tasks/params.pp
[DEBUG 2017-03-22 10:55:36 main] checking presence of
/usr/share/foreman-installer/modules/foreman/manifests/plugin/templates/params.pp
[DEBUG 2017-03-22 10:55:36 main] checking presence of
/usr/share/katello-installer-base/modules/foreman/manifests/plugin/templates/params.pp
[DEBUG 2017-03-22 10:55:36 main] checking presence of
/usr/share/foreman-installer/modules/foreman_proxy/manifests/params.pp
[DEBUG 2017-03-22 10:55:36 main] checking presence of
/usr/share/foreman-installer/modules/foreman_proxy_content/manifests/params.pp
[DEBUG 2017-03-22 10:55:36 main] checking presence of
/usr/share/katello-installer-base/modules/foreman_proxy_content/manifests/params.pp
[DEBUG 2017-03-22 10:55:36 main] checking presence of
/usr/share/foreman-installer/modules/foreman_proxy/manifests/plugin/ansible/params.pp
[DEBUG 2017-03-22 10:55:36 main] checking presence of
/usr/share/foreman-installer/modules/foreman_proxy/manifests/plugin/dhcp/infoblox/params.pp
[DEBUG 2017-03-22 10:55:36 main] checking presence of
/usr/share/foreman-installer/modules/foreman_proxy/manifests/plugin/discovery/params.pp
[DEBUG 2017-03-22 10:55:36 main] checking presence of
/usr/share/foreman-installer/modules/foreman_proxy/manifests/plugin/dns/infoblox/params.pp
[DEBUG 2017-03-22 10:55:36 main] checking presence of
/usr/share/foreman-i

··· On Wednesday, 22 March 2017 11:47:39 UTC, Eric Helms wrote: > > What errors? >

Continued: (full log available at http://pastebin.com/UDTTjrwU)

[ INFO 2017-03-22 10:55:36 main] Executing hooks in group pre
[DEBUG 2017-03-22 10:55:36 main] Hook
/usr/share/katello-installer-base/hooks/pre/10-reset_feature.rb returned nil
[DEBUG 2017-03-22 10:55:36 main] Hook
/usr/share/katello-installer-base/hooks/pre/11-clear_pulp_data_feature.rb
returned nil
[DEBUG 2017-03-22 10:55:36 main] Hook
/usr/share/katello-installer-base/hooks/pre/12-clear_puppet_environments_feature.rb
returned nil
[DEBUG 2017-03-22 10:55:36 main] Hook
/usr/share/katello-installer-base/hooks/pre/15-check_java.rb returned nil
[DEBUG 2017-03-22 10:55:36 main] Hook
/usr/share/katello-installer-base/hooks/pre/16-set_umask.rb returned nil
[DEBUG 2017-03-22 10:55:36 main] Hook
/usr/share/katello-installer-base/hooks/pre/17-memory_check.rb returned nil
[DEBUG 2017-03-22 10:55:36 main] Hook
/usr/share/katello-installer-base/hooks/pre/18-vm_overcommit.rb returned nil
[DEBUG 2017-03-22 10:55:36 main] Hook
/usr/share/katello-installer-base/hooks/pre/19-devlog.rb returned nil
[DEBUG 2017-03-22 10:55:36 main] Hook
/usr/share/katello-installer-base/hooks/pre/20-certs_update.rb returned nil
[DEBUG 2017-03-22 10:55:36 main] Hook
/usr/share/katello-installer-base/hooks/pre/29-remove_package_httpd_conf.rb
returned ["pulp.conf"]
[ INFO 2017-03-22 10:55:36 main] Upgrading…
[ INFO 2017-03-22 10:55:36 main] Upgrade Step: stop_services…
[DEBUG 2017-03-22 10:55:48 main] Redirecting to /bin/systemctl stop
foreman-tasks.service

Redirecting to /bin/systemctl stop httpd.service

Redirecting to /bin/systemctl stop pulp_celerybeat.service

Redirecting to /bin/systemctl stop foreman-proxy.service

Redirecting to /bin/systemctl stop pulp_streamer.service

Redirecting to /bin/systemctl stop pulp_resource_manager.service

Redirecting to /bin/systemctl stop smart_proxy_dynflow_core.service

Redirecting to /bin/systemctl stop pulp_workers.service

Redirecting to /bin/systemctl stop tomcat.service

Redirecting to /bin/systemctl stop squid.service

Redirecting to /bin/systemctl stop qdrouterd.service

Redirecting to /bin/systemctl stop qpidd.service

Success!

[ INFO 2017-03-22 10:55:48 main] Upgrade Step: start_databases…
[DEBUG 2017-03-22 10:55:58 main] Redirecting to /bin/systemctl start
mongod.service

Redirecting to /bin/systemctl start postgresql.service

Success!

[ INFO 2017-03-22 10:55:58 main] Upgrade Step: update_http_conf…
[DEBUG 2017-03-22 10:55:58 main]
[ INFO 2017-03-22 10:55:58 main] Upgrade Step: migrate_pulp…
[DEBUG 2017-03-22 10:55:58 main]
[DEBUG 2017-03-22 10:55:58 main]
[DEBUG 2017-03-22 10:55:58 main] 1023

[DEBUG 2017-03-22 10:55:59 main] Attempting to connect to localhost:27017
Attempting to connect to localhost:27017
Write concern for Mongo connection: {}
Loading content types.
Loading type descriptors []
Parsing type descriptors
Validating type descriptor syntactic integrity
Validating type descriptor semantic integrity
Loading unit model: docker_blob = pulp_docker.plugins.models:Blob
Loading unit model: docker_manifest = pulp_docker.plugins.models:Manifest
Loading unit model: docker_image = pulp_docker.plugins.models:Image
Loading unit model: docker_tag = pulp_docker.plugins.models:Tag
Loading unit model: puppet_module = pulp_puppet.plugins.db.models:Module
Loading unit model: erratum = pulp_rpm.plugins.db.models:Errata
Loading unit model: distribution = pulp_rpm.plugins.db.models:Distribution
Loading unit model: srpm = pulp_rpm.plugins.db.models:SRPM
Loading unit model: package_group = pulp_rpm.plugins.db.models:PackageGroup
Loading unit model: package_category =
pulp_rpm.plugins.db.models:PackageCategory
Loading unit model: iso = pulp_rpm.plugins.db.models:ISO
Loading unit model: package_environment =
pulp_rpm.plugins.db.models:PackageEnvironment
Loading unit model: drpm = pulp_rpm.plugins.db.models:DRPM
Loading unit model: package_langpacks =
pulp_rpm.plugins.db.models:PackageLangpacks
Loading unit model: rpm = pulp_rpm.plugins.db.models:RPM
Loading unit model: yum_repo_metadata_file =
pulp_rpm.plugins.db.models:YumMetadataFile
Updating the database with types []
Found the following type definitions that were not present in the update
collection [puppet_module, drpm, package_langpacks, erratum, docker_blob,
docker_manifest, yum_repo_metadata_file, package_group, package_category,
iso, package_environment, docker_tag, srpm, rpm, distribution, docker_image]
Updating the database with types [puppet_module, drpm, package_langpacks,
erratum, docker_blob, docker_manifest, yum_repo_metadata_file,
package_group, package_category, iso, package_environment, docker_tag,
distribution, rpm, srpm, docker_image]
Content types loaded.
Ensuring the admin role and user are in place.
Admin role and user are in place.
Beginning database migrations.
Migration package pulp.server.db.migrations is up to date at version 26
Migration package pulp_docker.plugins.migrations is up to date at version 2
Migration package pulp_puppet.plugins.migrations is up to date at version 5
Migration package pulp_rpm.plugins.migrations is up to date at version 36
Loading unit model: docker_blob = pulp_docker.plugins.models:Blob
Loading unit model: docker_manifest = pulp_docker.plugins.models:Manifest
Loading unit model: docker_image = pulp_docker.plugins.models:Image
Loading unit model: docker_tag = pulp_docker.plugins.models:Tag
Loading unit model: puppet_module = pulp_puppet.plugins.db.models:Module
Loading unit model: erratum = pulp_rpm.plugins.db.models:Errata
Loading unit model: distribution = pulp_rpm.plugins.db.models:Distribution
Loading unit model: srpm = pulp_rpm.plugins.db.models:SRPM
Loading unit model: package_group = pulp_rpm.plugins.db.models:PackageGroup
Loading unit model: package_category =
pulp_rpm.plugins.db.models:PackageCategory
Loading unit model: iso = pulp_rpm.plugins.db.models:ISO
Loading unit model: package_environment =
pulp_rpm.plugins.db.models:PackageEnvironment
Loading unit model: drpm = pulp_rpm.plugins.db.models:DRPM
Loading unit model: package_langpacks =
pulp_rpm.plugins.db.models:PackageLangpacks
Loading unit model: rpm = pulp_rpm.plugins.db.models:RPM
Loading unit model: yum_repo_metadata_file =
pulp_rpm.plugins.db.models:YumMetadataFile
Database migrations complete.

[ INFO 2017-03-22 10:55:59 main] Upgrade Step: start_httpd…
[DEBUG 2017-03-22 10:56:05 main] Redirecting to /bin/systemctl start
httpd.service

Success!

[ INFO 2017-03-22 10:56:05 main] Upgrade Step: start_qpidd…
[DEBUG 2017-03-22 10:56:05 main] Redirecting to /bin/systemctl start
qpidd.service

Redirecting to /bin/systemctl start qdrouterd.service

Success!

[ INFO 2017-03-22 10:56:05 main] Upgrade Step: start_pulp…
[DEBUG 2017-03-22 10:56:05 main] Redirecting to /bin/systemctl start
pulp_workers.service

Redirecting to /bin/systemctl start pulp_resource_manager.service

Redirecting to /bin/systemctl start pulp_celerybeat.service

Success!

[ INFO 2017-03-22 10:56:05 main] Upgrade Step: migrate_candlepin…
[DEBUG 2017-03-22 10:56:08 main] Migrating candlepin database
Liquibase Update Successful

[ INFO 2017-03-22 10:56:08 main] Upgrade Step: start_tomcat…
[DEBUG 2017-03-22 10:58:20 main] Redirecting to /bin/systemctl start
tomcat.service

Success!

[ INFO 2017-03-22 10:58:20 main] Upgrade Step: migrate_foreman…
[ERROR 2017-03-22 10:58:25 main]
[ERROR 2017-03-22 10:58:31 main] API controllers newer than Apipie cache!
Run apipie:cache rake task to regenerate cache.
rake aborted!
ArgumentError: Unknown key: :host_action_button. Valid keys are:
:provided_inputs, :description
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/core_ext/hash/keys.rb:75:in
block in assert_valid_keys&#39; /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/core_ext/hash/keys.rb:73:ineach_key'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/core_ext/hash/keys.rb:73:in
assert_valid_keys&#39; /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_remote_execution-1.2.2/app/models/remote_execution_feature.rb:23:inregister'
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_openscap-0.6.5/lib/foreman_openscap/engine.rb:159:in
block (2 levels) in &lt;class:Engine&gt;&#39; /usr/share/foreman/app/services/foreman/plugin.rb:64:ininstance_eval'
/usr/share/foreman/app/services/foreman/plugin.rb:64:in register&#39; /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_openscap-0.6.5/lib/foreman_openscap/engine.rb:44:inblock in <class:Engine>'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:30:in
instance_exec&#39; /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:30:inrun'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:55:in
block in run_initializers&#39; /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:54:inrun_initializers'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/application.rb:352:in
initialize!&#39; /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/railtie.rb:194:inpublic_send'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/railtie.rb:194:in
method_missing&#39; /usr/share/foreman/config/environment.rb:5:in<top (required)>'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/polyglot-0.3.4/lib/polyglot.rb:65:in
require&#39; /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:274:inblock in require'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:240:in
load_dependency&#39; /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:274:inrequire'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/application.rb:328:in
require_environment!&#39; /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/application.rb:457:inblock in run_tasks_blocks'
Tasks: TOP => db:migrate => environment
(See full trace by running task with --trace)
Successfully encrypted field for Setting::Auth oauth_consumer_key
Successfully decrypted field for Setting::Auth oauth_consumer_key
Successfully decrypted field for Setting::Auth oauth_consumer_key
Successfully decrypted field for Setting::Auth oauth_consumer_key
Successfully encrypted field for Setting::Auth oauth_consumer_secret
Successfully decrypted field for Setting::Auth oauth_consumer_secret
Successfully decrypted field for Setting::Auth oauth_consumer_secret
Successfully decrypted field for Setting::Auth oauth_consumer_secret

[ERROR 2017-03-22 10:58:36 main]
[ERROR 2017-03-22 10:58:36 main] Upgrade step migrate_foreman failed. Check
logs for more information.
[DEBUG 2017-03-22 10:58:36 main] Exit with status code: 1 (signal was 1)
[ERROR 2017-03-22 10:58:36 main] Errors encountered during run:
[ERROR 2017-03-22 10:58:36 main]
[ERROR 2017-03-22 10:58:36 main] API controllers newer than Apipie cache!
Run apipie:cache rake task to regenerate cache.
rake aborted!
ArgumentError: Unknown key: :host_action_button. Valid keys are:
:provided_inputs, :description
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/core_ext/hash/keys.rb:75:in
block in assert_valid_keys&#39; /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/core_ext/hash/keys.rb:73:ineach_key'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/core_ext/hash/keys.rb:73:in
assert_valid_keys&#39; /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_remote_execution-1.2.2/app/models/remote_execution_feature.rb:23:inregister'
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_openscap-0.6.5/lib/foreman_openscap/engine.rb:159:in
block (2 levels) in &lt;class:Engine&gt;&#39; /usr/share/foreman/app/services/foreman/plugin.rb:64:ininstance_eval'
/usr/share/foreman/app/services/foreman/plugin.rb:64:in register&#39; /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_openscap-0.6.5/lib/foreman_openscap/engine.rb:44:inblock in <class:Engine>'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:30:in
instance_exec&#39; /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:30:inrun'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:55:in
block in run_initializers&#39; /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:54:inrun_initializers'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/application.rb:352:in
initialize!&#39; /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/railtie.rb:194:inpublic_send'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/railtie.rb:194:in
method_missing&#39; /usr/share/foreman/config/environment.rb:5:in<top (required)>'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/polyglot-0.3.4/lib/polyglot.rb:65:in
require&#39; /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:274:inblock in require'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:240:in
load_dependency&#39; /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:274:inrequire'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/application.rb:328:in
require_environment!&#39; /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/application.rb:457:inblock in run_tasks_blocks'
Tasks: TOP => db:migrate => environment
(See full trace by running task with --trace)
Successfully encrypted field for Setting::Auth oauth_consumer_key
Successfully decrypted field for Setting::Auth oauth_consumer_key
Successfully decrypted field for Setting::Auth oauth_consumer_key
Successfully decrypted field for Setting::Auth oauth_consumer_key
Successfully encrypted field for Setting::Auth oauth_consumer_secret
Successfully decrypted field for Setting::Auth oauth_consumer_secret
Successfully decrypted field for Setting::Auth oauth_consumer_secret
Successfully decrypted field for Setting::Auth oauth_consumer_secret

[ERROR 2017-03-22 10:58:36 main]
[ERROR 2017-03-22 10:58:36 main] Upgrade step migrate_foreman failed. Check
logs for more information.
[DEBUG 2017-03-22 10:58:36 main] Cleaning
/etc/foreman-installer/scenarios.d/d20170322-13314-1ohbjix
[DEBUG 2017-03-22 10:58:36 main] Cleaning /tmp/default_values.yaml
[root@katello ~]#

··· On Wednesday, 22 March 2017 11:47:39 UTC, Eric Helms wrote: > > What errors? >

Apologies, forgot about my pastebin account until midway through splitting
initial log file:

[root@katello ~]# cd /var/log/foreman-installer/
[root@katello foreman-installer]# ls -lrt
total 3572
-rw-r–r--. 1 root root 0 Feb 28 21:47 foreman.2.log
-rw-r–r--. 1 root root 0 Feb 28 21:48 katello.6.log
-rw-r–r--. 1 root root 15751 Feb 28 21:50 katello.5.log
-rw-r–r--. 1 root root 2172590 Feb 28 23:27 katello.4.log
-rw-r–r--. 1 root root 8553 Mar 22 10:47 foreman.1.log
<- http://pastebin.com/ep4HajV5
-rw-r–r--. 1 root root 1212 Mar 22 10:47 foreman.log
<- http://pastebin.com/TVixt0eK
-rw-r–r--. 1 root root 1338785 Mar 22 10:48 katello.3.log
<- http://pastebin.com/530ih26P
-rw-r–r--. 1 root root 8624 Mar 22 10:49 katello.2.log
<- http://pastebin.com/d7RLn3Hw
-rw-r–r--. 1 root root 49047 Mar 22 10:55 katello.1.log
<- http://pastebin.com/G0EFGwCa
-rw-r–r--. 1 root root 48628 Mar 22 10:58 katello.log
<- http://pastebin.com/UDTTjrwU
[root@katello foreman-installer]#

··· On Wednesday, 22 March 2017 11:47:39 UTC, Eric Helms wrote: > > What errors? >

I'm not skilled in diagnosing log files, but I see the following in
katello.1.log and katello.log:

  1. [ INFO 2017-03-22 10:58:20 main] Upgrade Step: migrate_foreman…
  2. [ERROR 2017-03-22 10:58:25 main]
  3. [ERROR 2017-03-22 10:58:31 main] API controllers newer than Apipie
    cache! Run apipie:cache rake task to regenerate cache.
  4. rake aborted!

Is this the source of the problem, or just a symptom of an underlying issue?

Duncan

··· On Wednesday, 22 March 2017 12:21:15 UTC, Duncan Innes wrote: > > > Apologies, forgot about my pastebin account until midway through splitting > initial log file: > > [root@katello ~]# cd /var/log/foreman-installer/ > [root@katello foreman-installer]# ls -lrt > total 3572 > -rw-r--r--. 1 root root 0 Feb 28 21:47 foreman.2.log > -rw-r--r--. 1 root root 0 Feb 28 21:48 katello.6.log > -rw-r--r--. 1 root root 15751 Feb 28 21:50 katello.5.log > -rw-r--r--. 1 root root 2172590 Feb 28 23:27 katello.4.log > -rw-r--r--. 1 root root 8553 Mar 22 10:47 foreman.1.log <- > http://pastebin.com/ep4HajV5 > -rw-r--r--. 1 root root 1212 Mar 22 10:47 foreman.log <- > http://pastebin.com/TVixt0eK > -rw-r--r--. 1 root root 1338785 Mar 22 10:48 katello.3.log <- > http://pastebin.com/530ih26P > -rw-r--r--. 1 root root 8624 Mar 22 10:49 katello.2.log <- > http://pastebin.com/d7RLn3Hw > -rw-r--r--. 1 root root 49047 Mar 22 10:55 katello.1.log <- > http://pastebin.com/G0EFGwCa > -rw-r--r--. 1 root root 48628 Mar 22 10:58 katello.log <- > http://pastebin.com/UDTTjrwU > [root@katello foreman-installer]# > > > On Wednesday, 22 March 2017 11:47:39 UTC, Eric Helms wrote: >> >> What errors? >> > >

I believe this is the key error "ArgumentError: Unknown key:
:host_action_button. Valid keys are: :provided_inputs, :description" which
comes from foreman_remote_execution having an older release. This is fixed
in master of the plugin but releasing a newer version is blocked by other
issues that are being worked on.

··· On Thu, Mar 23, 2017 at 9:14 AM, Duncan Innes wrote:

I’m not skilled in diagnosing log files, but I see the following in
katello.1.log and katello.log:

  1. [ INFO 2017-03-22 10:58:20 main] Upgrade Step: migrate_foreman…
  2. [ERROR 2017-03-22 10:58:25 main]
  3. [ERROR 2017-03-22 10:58:31 main] API controllers newer than Apipie
    cache! Run apipie:cache rake task to regenerate cache.
  4. rake aborted!

Is this the source of the problem, or just a symptom of an underlying
issue?

Duncan

On Wednesday, 22 March 2017 12:21:15 UTC, Duncan Innes wrote:

Apologies, forgot about my pastebin account until midway through
splitting initial log file:

[root@katello ~]# cd /var/log/foreman-installer/
[root@katello foreman-installer]# ls -lrt
total 3572
-rw-r–r--. 1 root root 0 Feb 28 21:47 foreman.2.log
-rw-r–r--. 1 root root 0 Feb 28 21:48 katello.6.log
-rw-r–r--. 1 root root 15751 Feb 28 21:50 katello.5.log
-rw-r–r--. 1 root root 2172590 Feb 28 23:27 katello.4.log
-rw-r–r--. 1 root root 8553 Mar 22 10:47 foreman.1.log <-
http://pastebin.com/ep4HajV5
-rw-r–r--. 1 root root 1212 Mar 22 10:47 foreman.log <-
http://pastebin.com/TVixt0eK
-rw-r–r--. 1 root root 1338785 Mar 22 10:48 katello.3.log <-
http://pastebin.com/530ih26P
-rw-r–r--. 1 root root 8624 Mar 22 10:49 katello.2.log <-
http://pastebin.com/d7RLn3Hw
-rw-r–r--. 1 root root 49047 Mar 22 10:55 katello.1.log <-
http://pastebin.com/G0EFGwCa
-rw-r–r--. 1 root root 48628 Mar 22 10:58 katello.log <-
http://pastebin.com/UDTTjrwU
[root@katello foreman-installer]#

On Wednesday, 22 March 2017 11:47:39 UTC, Eric Helms wrote:

What errors?


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.


Eric D. Helms
Red Hat Engineering

So does this mean that you can't upgrade to 3.3 if you have the remote execution plugin installed/enabled? I'm running into the same error.

In my case I'm attempting to upgrade to get a newer Pulp to resolve this:

https://pulp.plan.io/issues/2344

…which basically allows Pulp to work with a proxy when the upstream is https.

··· From: "Eric D Helms" To: "Foreman Users" Sent: Thursday, March 23, 2017 8:56:06 AM Subject: Re: [foreman-users] Re: Katello 3.3.1 released!

I believe this is the key error " ArgumentError: Unknown key: :host_action_button. Valid keys are: :provided_inputs, :description" which comes from foreman_remote_execution having an older release. This is fixed in master of the plugin but releasing a newer version is blocked by other issues that are being worked on.

On Thu, Mar 23, 2017 at 9:14 AM, Duncan Innes < [ mailto:duncan@innes.net | duncan@innes.net ] > wrote:

I’m not skilled in diagnosing log files, but I see the following in katello.1.log and katello.log:

1. 

[ INFO 2017-03-22 10:58:20 main] Upgrade Step: migrate_foreman…

2. 

[ERROR 2017-03-22 10:58:25 main]

3. 

[ERROR 2017-03-22 10:58:31 main] API controllers newer than Apipie cache! Run apipie:cache rake task to regenerate cache.

4. 

rake aborted!

Is this the source of the problem, or just a symptom of an underlying issue?

Duncan

On Wednesday, 22 March 2017 12:21:15 UTC, Duncan Innes wrote:
BQ_BEGIN

Apologies, forgot about my pastebin account until midway through splitting initial log file:
[root@katello ~]# cd /var/log/foreman-installer/
[root@katello foreman-installer]# ls -lrt
total 3572
-rw-r–r--. 1 root root 0 Feb 28 21:47 foreman.2.log
-rw-r–r--. 1 root root 0 Feb 28 21:48 katello.6.log
-rw-r–r--. 1 root root 15751 Feb 28 21:50 katello.5.log
-rw-r–r--. 1 root root 2172590 Feb 28 23:27 katello.4.log
-rw-r–r--. 1 root root 8553 Mar 22 10:47 foreman.1.log <- [ http://pastebin.com/ep4HajV5 | http://pastebin.com/ep4HajV5 ]
-rw-r–r--. 1 root root 1212 Mar 22 10:47 foreman.log <- [ http://pastebin.com/TVixt0eK | http://pastebin.com/TVixt0eK ]
-rw-r–r--. 1 root root 1338785 Mar 22 10:48 katello.3.log <- [ http://pastebin.com/530ih26P | http://pastebin.com/530ih26P ]
-rw-r–r--. 1 root root 8624 Mar 22 10:49 katello.2.log <- [ http://pastebin.com/d7RLn3Hw | http://pastebin.com/d7RLn3Hw ]
-rw-r–r--. 1 root root 49047 Mar 22 10:55 katello.1.log <- [ http://pastebin.com/G0EFGwCa | http://pastebin.com/G0EFGwCa ]
-rw-r–r--. 1 root root 48628 Mar 22 10:58 katello.log <- [ http://pastebin.com/UDTTjrwU | http://pastebin.com/UDTTjrwU ]
[root@katello foreman-installer]#

On Wednesday, 22 March 2017 11:47:39 UTC, Eric Helms wrote:
BQ_BEGIN

What errors?

BQ_END


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

BQ_END


Eric D. Helms
Red Hat Engineering


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

FYI, I opened Bug #19015: Upgrade to 3.3.x fails with ArgumentError: Unknown key - OpenSCAP - Foreman for this.

··· From: "Jason Nance" To: "Foreman Users" Sent: Thursday, March 23, 2017 5:32:40 PM Subject: Re: [foreman-users] Re: Katello 3.3.1 released!

So does this mean that you can’t upgrade to 3.3 if you have the remote execution plugin installed/enabled? I’m running into the same error.

In my case I’m attempting to upgrade to get a newer Pulp to resolve this:

https://pulp.plan.io/issues/2344

…which basically allows Pulp to work with a proxy when the upstream is https.

From: “Eric D Helms” ericdhelms@gmail.com
To: “Foreman Users” foreman-users@googlegroups.com
Sent: Thursday, March 23, 2017 8:56:06 AM
Subject: Re: [foreman-users] Re: Katello 3.3.1 released!

I believe this is the key error " ArgumentError: Unknown key: :host_action_button. Valid keys are: :provided_inputs, :description" which comes from foreman_remote_execution having an older release. This is fixed in master of the plugin but releasing a newer version is blocked by other issues that are being worked on.

On Thu, Mar 23, 2017 at 9:14 AM, Duncan Innes < [ mailto:duncan@innes.net | duncan@innes.net ] > wrote:

I’m not skilled in diagnosing log files, but I see the following in katello.1.log and katello.log:

1. 

[ INFO 2017-03-22 10:58:20 main] Upgrade Step: migrate_foreman…

2. 

[ERROR 2017-03-22 10:58:25 main]

3. 

[ERROR 2017-03-22 10:58:31 main] API controllers newer than Apipie cache! Run apipie:cache rake task to regenerate cache.

4. 

rake aborted!

Is this the source of the problem, or just a symptom of an underlying issue?

Duncan

On Wednesday, 22 March 2017 12:21:15 UTC, Duncan Innes wrote:
BQ_BEGIN

Apologies, forgot about my pastebin account until midway through splitting initial log file:
[root@katello ~]# cd /var/log/foreman-installer/
[root@katello foreman-installer]# ls -lrt
total 3572
-rw-r–r--. 1 root root 0 Feb 28 21:47 foreman.2.log
-rw-r–r--. 1 root root 0 Feb 28 21:48 katello.6.log
-rw-r–r--. 1 root root 15751 Feb 28 21:50 katello.5.log
-rw-r–r--. 1 root root 2172590 Feb 28 23:27 katello.4.log
-rw-r–r--. 1 root root 8553 Mar 22 10:47 foreman.1.log <- [ http://pastebin.com/ep4HajV5 | http://pastebin.com/ep4HajV5 ]
-rw-r–r--. 1 root root 1212 Mar 22 10:47 foreman.log <- [ http://pastebin.com/TVixt0eK | http://pastebin.com/TVixt0eK ]
-rw-r–r--. 1 root root 1338785 Mar 22 10:48 katello.3.log <- [ http://pastebin.com/530ih26P | http://pastebin.com/530ih26P ]
-rw-r–r--. 1 root root 8624 Mar 22 10:49 katello.2.log <- [ http://pastebin.com/d7RLn3Hw | http://pastebin.com/d7RLn3Hw ]
-rw-r–r--. 1 root root 49047 Mar 22 10:55 katello.1.log <- [ http://pastebin.com/G0EFGwCa | http://pastebin.com/G0EFGwCa ]
-rw-r–r--. 1 root root 48628 Mar 22 10:58 katello.log <- [ http://pastebin.com/UDTTjrwU | http://pastebin.com/UDTTjrwU ]
[root@katello foreman-installer]#

On Wednesday, 22 March 2017 11:47:39 UTC, Eric Helms wrote:
BQ_BEGIN

What errors?

BQ_END


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

BQ_END


Eric D. Helms
Red Hat Engineering


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

It looks like you're correct about this. I'm waiting a potential patch to
remote execution that should get past this. Upgrading to the latest
release of remote execution isn't possible at this point due to another
outstanding issue. In the meantime, my test system is offline.

Perhaps the patched remote execution plugin could be released with 3.3.1
and the fully updated plugin waits until everything is working again?

D

··· On Thursday, 23 March 2017 22:46:08 UTC, Jason B. Nance wrote: > > FYI, I opened http://projects.theforeman.org/issues/19015 for this. > > > > ------------------------------ > *From: *"Jason Nance" <ja...@tresgeek.net > > *To: *"Foreman Users" <forema...@googlegroups.com > > *Sent: *Thursday, March 23, 2017 5:32:40 PM > *Subject: *Re: [foreman-users] Re: Katello 3.3.1 released! > > So does this mean that you can't upgrade to 3.3 if you have the remote > execution plugin installed/enabled? I'm running into the same error. > > In my case I'm attempting to upgrade to get a newer Pulp to resolve this: > > https://pulp.plan.io/issues/2344 > > ...which basically allows Pulp to work with a proxy when the upstream is > https. > > > > ------------------------------ > *From: *"Eric D Helms" <ericd...@gmail.com > > *To: *"Foreman Users" <forema...@googlegroups.com > > *Sent: *Thursday, March 23, 2017 8:56:06 AM > *Subject: *Re: [foreman-users] Re: Katello 3.3.1 released! > > I believe this is the key error "ArgumentError: Unknown key: > :host_action_button. Valid keys are: :provided_inputs, :description" which > comes from foreman_remote_execution having an older release. This is fixed > in master of the plugin but releasing a newer version is blocked by other > issues that are being worked on. > > On Thu, Mar 23, 2017 at 9:14 AM, Duncan Innes > wrote: > >> I'm not skilled in diagnosing log files, but I see the following in >> katello.1.log and katello.log: >> >> 1. [ INFO 2017-03-22 10:58:20 main] Upgrade Step: migrate_foreman... >> 2. [ERROR 2017-03-22 10:58:25 main] >> 3. [ERROR 2017-03-22 10:58:31 main] API controllers newer than Apipie >> cache! Run apipie:cache rake task to regenerate cache. >> 4. rake aborted! >> >> Is this the source of the problem, or just a symptom of an underlying >> issue? >> >> Duncan >> >> On Wednesday, 22 March 2017 12:21:15 UTC, Duncan Innes wrote: >>> >>> >>> Apologies, forgot about my pastebin account until midway through >>> splitting initial log file: >>> [root@katello ~]# cd /var/log/foreman-installer/ >>> [root@katello foreman-installer]# ls -lrt >>> total 3572 >>> -rw-r--r--. 1 root root 0 Feb 28 21:47 foreman.2.log >>> -rw-r--r--. 1 root root 0 Feb 28 21:48 katello.6.log >>> -rw-r--r--. 1 root root 15751 Feb 28 21:50 katello.5.log >>> -rw-r--r--. 1 root root 2172590 Feb 28 23:27 katello.4.log >>> -rw-r--r--. 1 root root 8553 Mar 22 10:47 foreman.1.log <- >>> http://pastebin.com/ep4HajV5 >>> -rw-r--r--. 1 root root 1212 Mar 22 10:47 foreman.log <- >>> http://pastebin.com/TVixt0eK >>> -rw-r--r--. 1 root root 1338785 Mar 22 10:48 katello.3.log <- >>> http://pastebin.com/530ih26P >>> -rw-r--r--. 1 root root 8624 Mar 22 10:49 katello.2.log <- >>> http://pastebin.com/d7RLn3Hw >>> -rw-r--r--. 1 root root 49047 Mar 22 10:55 katello.1.log <- >>> http://pastebin.com/G0EFGwCa >>> -rw-r--r--. 1 root root 48628 Mar 22 10:58 katello.log <- >>> http://pastebin.com/UDTTjrwU >>> [root@katello foreman-installer]# >>> >>> >>> On Wednesday, 22 March 2017 11:47:39 UTC, Eric Helms wrote: >>>> >>>> What errors? >>>> >>> >>> >> -- >> 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-user...@googlegroups.com . >> To post to this group, send email to forema...@googlegroups.com >> . >> Visit this group at https://groups.google.com/group/foreman-users. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Eric D. Helms > Red Hat Engineering > > -- > 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-user...@googlegroups.com . > To post to this group, send email to forema...@googlegroups.com > . > Visit this group at https://groups.google.com/group/foreman-users. > For more options, visit https://groups.google.com/d/optout. > >