Hello Guys, i tried to upgrade katello 3.0 to 3.1.
Can enybody help?
--
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.
[DEBUG 2016-10-21 12:16:36 main] Loading hook
/usr/share/katello-installer-base/hooks/pre_migrations/01-migrate_legacy_foreman_installer_config.rb
[DEBUG 2016-10-21 12:16:36 main] Loading hook
/usr/share/katello-installer-base/hooks/pre_migrations/10-migrate_legacy_capsule_config.rb
[DEBUG 2016-10-21 12:16:36 main] Loading hook
/usr/share/katello-installer-base/hooks/pre_migrations/11-migrate_legacy_katello_config.rb
[DEBUG 2016-10-21 12:16:36 main] Loading hook
/usr/share/katello-installer-base/hooks/boot/01-helpers.rb
[DEBUG 2016-10-21 12:16:36 main] Loading hook
/usr/share/katello-installer-base/hooks/boot/10-reset_hook.rb
[DEBUG 2016-10-21 12:16:36 main] Loading hook
/usr/share/katello-installer-base/hooks/boot/11-clear_pulp_data_hook.rb
[DEBUG 2016-10-21 12:16:36 main] Loading hook
/usr/share/katello-installer-base/hooks/boot/12-clear_puppet_environments.rb
[DEBUG 2016-10-21 12:16:36 main] Loading hook
/usr/share/katello-installer-base/hooks/boot/20-certs_update.rb
[DEBUG 2016-10-21 12:16:36 main] Loading hook
/usr/share/katello-installer-base/hooks/boot/30-upgrade.rb
[DEBUG 2016-10-21 12:16:36 main] Loading hook
/usr/share/katello-installer-base/hooks/init/10-puppet-profile-on-el6.rb
[DEBUG 2016-10-21 12:16:36 main] Loading hook
/usr/share/katello-installer-base/hooks/pre/10-reset_feature.rb
[DEBUG 2016-10-21 12:16:36 main] Loading hook
/usr/share/katello-installer-base/hooks/pre/11-clear_pulp_data_feature.rb
[DEBUG 2016-10-21 12:16:36 main] Loading hook
/usr/share/katello-installer-base/hooks/pre/12-clear_puppet_environments_feature.rb
[DEBUG 2016-10-21 12:16:36 main] Loading hook
/usr/share/katello-installer-base/hooks/pre/15-check_java.rb
[DEBUG 2016-10-21 12:16:36 main] Loading hook
/usr/share/katello-installer-base/hooks/pre/16-set_umask.rb
[DEBUG 2016-10-21 12:16:36 main] Loading hook
/usr/share/katello-installer-base/hooks/pre/20-certs_update.rb
[DEBUG 2016-10-21 12:16:36 main] Loading hook
/usr/share/katello-installer-base/hooks/pre/29-remove_sslconf.rb
[DEBUG 2016-10-21 12:16:36 main] Loading hook
/usr/share/katello-installer-base/hooks/pre/30-upgrade.rb
[DEBUG 2016-10-21 12:16:36 main] Loading hook
/usr/share/katello-installer-base/hooks/post/10-post_install.rb
[DEBUG 2016-10-21 12:16:36 main] Loading hook
/usr/share/katello-installer-base/hooks/post/30-upgrade.rb
[DEBUG 2016-10-21 12:16:36 main] Loading hook
/usr/share/katello-installer-base/hooks/pre_validations/10-check_capsule_pulp.rb
[DEBUG 2016-10-21 12:16:36 main] Loading hook
/usr/share/katello-installer-base/hooks/pre_validations/11-check_proxy_url.rb
[DEBUG 2016-10-21 12:16:36 main] Loading hook
/usr/share/katello-installer-base/hooks/pre_migrations/01-migrate_legacy_foreman_installer_config.rb
[DEBUG 2016-10-21 12:16:36 main] Loading hook
/usr/share/katello-installer-base/hooks/pre_migrations/10-migrate_legacy_capsule_config.rb
[DEBUG 2016-10-21 12:16:36 main] Loading hook
/usr/share/katello-installer-base/hooks/pre_migrations/11-migrate_legacy_katello_config.rb
[DEBUG 2016-10-21 12:16:36 main] Loading hook
/usr/share/katello-installer-base/hooks/boot/01-helpers.rb
[DEBUG 2016-10-21 12:16:36 main] Loading hook
/usr/share/katello-installer-base/hooks/boot/10-reset_hook.rb
[DEBUG 2016-10-21 12:16:36 main] Loading hook
/usr/share/katello-installer-base/hooks/boot/11-clear_pulp_data_hook.rb
[DEBUG 2016-10-21 12:16:36 main] Loading hook
/usr/share/katello-installer-base/hooks/boot/12-clear_puppet_environments.rb
[DEBUG 2016-10-21 12:16:36 main] Loading hook
/usr/share/katello-installer-base/hooks/boot/20-certs_update.rb
[DEBUG 2016-10-21 12:16:36 main] Loading hook
/usr/share/katello-installer-base/hooks/boot/30-upgrade.rb
[DEBUG 2016-10-21 12:16:36 main] Loading hook
/usr/share/katello-installer-base/hooks/init/10-puppet-profile-on-el6.rb
[DEBUG 2016-10-21 12:16:36 main] Loading hook
/usr/share/katello-installer-base/hooks/pre/10-reset_feature.rb
[DEBUG 2016-10-21 12:16:36 main] Loading hook
/usr/share/katello-installer-base/hooks/pre/11-clear_pulp_data_feature.rb
[DEBUG 2016-10-21 12:16:36 main] Loading hook
/usr/share/katello-installer-base/hooks/pre/12-clear_puppet_environments_feature.rb
[DEBUG 2016-10-21 12:16:36 main] Loading hook
/usr/share/katello-installer-base/hooks/pre/15-check_java.rb
[DEBUG 2016-10-21 12:16:36 main] Loading hook
/usr/share/katello-installer-base/hooks/pre/16-set_umask.rb
[DEBUG 2016-10-21 12:16:36 main] Loading hook
/usr/share/katello-installer-base/hooks/pre/20-certs_update.rb
[DEBUG 2016-10-21 12:16:36 main] Loading hook
/usr/share/katello-installer-base/hooks/pre/29-remove_sslconf.rb
[DEBUG 2016-10-21 12:16:36 main] Loading hook
/usr/share/katello-installer-base/hooks/pre/30-upgrade.rb
[DEBUG 2016-10-21 12:16:36 main] Loading hook
/usr/share/katello-installer-base/hooks/post/10-post_install.rb
[DEBUG 2016-10-21 12:16:36 main] Loading hook
/usr/share/katello-installer-base/hooks/post/30-upgrade.rb
[DEBUG 2016-10-21 12:16:36 main] Loading hook
/usr/share/katello-installer-base/hooks/pre_validations/10-check_capsule_pulp.rb
[DEBUG 2016-10-21 12:16:36 main] Loading hook
/usr/share/katello-installer-base/hooks/pre_validations/11-check_proxy_url.rb
[ INFO 2016-10-21 12:16:36 main] Executing hooks in group pre_migrations
[DEBUG 2016-10-21 12:16:36 main] Hook
/usr/share/katello-installer-base/hooks/pre_migrations/01-migrate_legacy_foreman_installer_config.rb
returned nil
[DEBUG 2016-10-21 12:16:36 main] Hook
/usr/share/katello-installer-base/hooks/pre_migrations/10-migrate_legacy_capsule_config.rb
returned nil
[DEBUG 2016-10-21 12:16:36 main] Hook
/usr/share/katello-installer-base/hooks/pre_migrations/11-migrate_legacy_katello_config.rb
returned nil
[ INFO 2016-10-21 12:16:36 main] All hooks in group pre_migrations finished
[ INFO 2016-10-21 12:16:36 main] Executing hooks in group boot
[DEBUG 2016-10-21 12:16:36 main] Hook
/usr/share/katello-installer-base/hooks/boot/01-helpers.rb returned nil
[DEBUG 2016-10-21 12:16:36 main] Hook
/usr/share/katello-installer-base/hooks/boot/10-reset_hook.rb returned
#<Clamp::Option::Definition:0x00000001c08388 @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 2016-10-21 12:16:36 main] Hook
/usr/share/katello-installer-base/hooks/boot/11-clear_pulp_data_hook.rb
returned #<Clamp::Option::Definition:0x00000001c0f480
@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 2016-10-21 12:16:36 main] Hook
/usr/share/katello-installer-base/hooks/boot/12-clear_puppet_environments.rb
returned #<Clamp::Option::Definition:0x00000001c0e5a8
@switches=["--clear-puppet-environments"], @type=:flag, @description="This
option will clear all Puppet environments from disk located in
'/etc/puppet/environments/'.", @default_value=false, @multivalued=nil,
@attribute_name="clear_puppet_environments">
[DEBUG 2016-10-21 12:16:36 main] Hook
/usr/share/katello-installer-base/hooks/boot/20-certs_update.rb returned
#<Clamp::Option::Definition:0x00000001c13648 @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 2016-10-21 12:16:36 main] Hook
/usr/share/katello-installer-base/hooks/boot/30-upgrade.rb returned
#<Clamp::Option::Definition:0x00000001c12810 @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">
[ INFO 2016-10-21 12:16:36 main] All hooks in group boot finished
[ INFO 2016-10-21 12:16:36 main] Executing hooks in group init
[DEBUG 2016-10-21 12:16:36 main] Hook
/usr/share/katello-installer-base/hooks/init/10-puppet-profile-on-el6.rb
returned nil
[ INFO 2016-10-21 12:16:36 main] All hooks in group init finished
[DEBUG 2016-10-21 12:16:36 main] Using Puppet module parser
KafoParsers::PuppetModuleParser
[DEBUG 2016-10-21 12:16:36 main] Creating tmp dir within
/etc/katello-installer...
[ INFO 2016-10-21 12:16:36 main] Loading default values from puppet modules...
[DEBUG 2016-10-21 12:16:36 main] checking presence of
/usr/share/katello-installer-base/modules/capsule/manifests/params.pp
[DEBUG 2016-10-21 12:16:36 main] checking presence of
/usr/share/katello-installer-base/modules/certs/manifests/params.pp
[DEBUG 2016-10-21 12:16:36 main] checking presence of
/usr/share/katello-installer-base/modules/foreman/manifests/params.pp
[DEBUG 2016-10-21 12:16:36 main] checking presence of
/usr/share/foreman-installer/modules/foreman/manifests/params.pp
[DEBUG 2016-10-21 12:16:36 main] checking presence of
/usr/share/katello-installer-base/modules/foreman/manifests/params.pp
[DEBUG 2016-10-21 12:16:36 main] checking presence of
/usr/share/foreman-installer/modules/foreman/manifests/params.pp
[DEBUG 2016-10-21 12:16:36 main] checking presence of
/usr/share/katello-installer-base/modules/foreman/manifests/params.pp
[DEBUG 2016-10-21 12:16:36 main] checking presence of
/usr/share/foreman-installer/modules/foreman/manifests/params.pp
[DEBUG 2016-10-21 12:16:36 main] checking presence of
/usr/share/katello-installer-base/modules/foreman/manifests/params.pp
[DEBUG 2016-10-21 12:16:36 main] checking presence of
/usr/share/foreman-installer/modules/foreman/manifests/params.pp
[DEBUG 2016-10-21 12:16:36 main] checking presence of
/usr/share/katello-installer-base/modules/foreman/manifests/plugin/discovery/params.pp
[DEBUG 2016-10-21 12:16:36 main] checking presence of
/usr/share/foreman-installer/modules/foreman/manifests/plugin/discovery/params.pp
[DEBUG 2016-10-21 12:16:36 main] checking presence of
/usr/share/katello-installer-base/modules/foreman/manifests/params.pp
[DEBUG 2016-10-21 12:16:36 main] checking presence of
/usr/share/foreman-installer/modules/foreman/manifests/params.pp
[DEBUG 2016-10-21 12:16:36 main] checking presence of
/usr/share/katello-installer-base/modules/foreman/manifests/plugin/openscap/params.pp
[DEBUG 2016-10-21 12:16:36 main] checking presence of
/usr/share/foreman-installer/modules/foreman/manifests/plugin/openscap/params.pp
[DEBUG 2016-10-21 12:16:36 main] checking presence of
/usr/share/katello-installer-base/modules/foreman/manifests/plugin/puppetdb/params.pp
[DEBUG 2016-10-21 12:16:36 main] checking presence of
/usr/share/foreman-installer/modules/foreman/manifests/plugin/puppetdb/params.pp
[DEBUG 2016-10-21 12:16:36 main] checking presence of
/usr/share/katello-installer-base/modules/foreman/manifests/plugin/remote_execution/params.pp
[DEBUG 2016-10-21 12:16:36 main] checking presence of
/usr/share/foreman-installer/modules/foreman/manifests/plugin/remote_execution/params.pp
[DEBUG 2016-10-21 12:16:36 main] checking presence of
/usr/share/katello-installer-base/modules/foreman/manifests/params.pp
[DEBUG 2016-10-21 12:16:36 main] checking presence of
/usr/share/foreman-installer/modules/foreman/manifests/params.pp
[DEBUG 2016-10-21 12:16:36 main] checking presence of
/usr/share/katello-installer-base/modules/foreman/manifests/plugin/tasks/params.pp
[DEBUG 2016-10-21 12:16:36 main] checking presence of
/usr/share/foreman-installer/modules/foreman/manifests/plugin/tasks/params.pp
[DEBUG 2016-10-21 12:16:36 main] checking presence of
/usr/share/katello-installer-base/modules/foreman/manifests/params.pp
[DEBUG 2016-10-21 12:16:36 main] checking presence of
/usr/share/foreman-installer/modules/foreman/manifests/params.pp
[DEBUG 2016-10-21 12:16:36 main] checking presence of
/usr/share/katello-installer-base/modules/foreman_proxy/manifests/params.pp
[DEBUG 2016-10-21 12:16:36 main] checking presence of
/usr/share/foreman-installer/modules/foreman_proxy/manifests/params.pp
[DEBUG 2016-10-21 12:16:36 main] checking presence of
/usr/share/katello-installer-base/modules/foreman_proxy/manifests/plugin/openscap/params.pp
[DEBUG 2016-10-21 12:16:36 main] checking presence of
/usr/share/foreman-installer/modules/foreman_proxy/manifests/plugin/openscap/params.pp
[DEBUG 2016-10-21 12:16:36 main] checking presence of
/usr/share/katello-installer-base/modules/foreman_proxy/manifests/plugin/pulp/params.pp
[DEBUG 2016-10-21 12:16:36 main] checking presence of
/usr/share/foreman-installer/modules/foreman_proxy/manifests/plugin/pulp/params.pp
[DEBUG 2016-10-21 12:16:36 main] checking presence of
/usr/share/katello-installer-base/modules/foreman_proxy/manifests/plugin/remote_execution/ssh/params.pp
[DEBUG 2016-10-21 12:16:36 main] checking presence of
/usr/share/foreman-installer/modules/foreman_proxy/manifests/plugin/remote_execution/ssh/params.pp
[DEBUG 2016-10-21 12:16:36 main] checking presence of
/usr/share/katello-installer-base/modules/katello/manifests/params.pp
[DEBUG 2016-10-21 12:16:36 main] echo
'$kafo_config_file="/etc/foreman-installer/scenarios.d/katello.yaml"
$kafo_add_progress=true
$temp_dir="/etc/katello-installer/d20161021-13181-d8zgp8" include
capsule::params include certs::params include foreman::params include
foreman::plugin::discovery::params include foreman::plugin::openscap::params
include foreman::plugin::puppetdb::params include
foreman::plugin::tasks::params include foreman_proxy::params include
foreman_proxy::plugin::openscap::params include
foreman_proxy::plugin::pulp::params include
foreman_proxy::plugin::remote_execution::ssh::params include katello::params
dump_values("capsule::params::parent_fqdn","capsule::params::certs_tar","capsule::params::pulp_master","capsule::params::pulp_admin_password","capsule::params::pulp_oauth_effective_user","capsule::params::pulp_oauth_key","capsule::params::pulp_oauth_secret","capsule::params::puppet","capsule::params::puppet_ca_proxy","capsule::params::reverse_proxy","capsule::params::reverse_proxy_port","capsule::params::rhsm_url","capsule::params::qpid_router","capsule::params::qpid_router_hub_addr","capsule::params::qpid_router_hub_port","capsule::params::qpid_router_agent_addr","capsule::params::qpid_router_agent_port","capsule::params::qpid_router_broker_addr","capsule::params::qpid_router_broker_port","capsule::params::enable_ostree","certs::params::log_dir","certs::params::node_fqdn","certs::params::generate","certs::params::regenerate","certs::params::regenerate_ca","certs::params::deploy","certs::params::ca_common_name","certs::params::country","certs::params::state","certs::params::city","certs::params::org","certs::params::org_unit","certs::params::expiration","certs::params::ca_expiration","certs::params::server_cert","certs::params::server_key","certs::params::server_cert_req","certs::params::server_ca_cert","certs::params::pki_dir","certs::params::ssl_build_dir","certs::params::password_file_dir","certs::params::user","certs::params::group","certs::params::default_ca_name","certs::params::server_ca_name","::foreman::params::foreman_url","::foreman::params::puppetrun","::foreman::params::unattended","::foreman::params::authentication","::foreman::params::passenger","::foreman::params::passenger_ruby","::foreman::params::passenger_ruby_package","::foreman::params::plugin_prefix","::foreman::params::use_vhost","::foreman::params::servername",::foreman::params::serveraliases,"::foreman::params::ssl","::foreman::params::custom_repo","::foreman::params::repo","::foreman::params::configure_epel_repo","::foreman::params::configure_scl_repo","::foreman::params::configure_brightbox_repo","::foreman::params::selinux","::foreman::params::gpgcheck","::foreman::params::version","::foreman::params::plugin_version","::foreman::params::db_manage","::foreman::params::db_type","::foreman::params::db_username","::foreman::params::db_password",::foreman::params::db_pool,"::foreman::params::apipie_task","::foreman::params::app_root","::foreman::params::manage_user","::foreman::params::user","::foreman::params::group",::foreman::params::user_groups,"::foreman::params::environment","::foreman::params::puppet_home","::foreman::params::puppet_ssldir","::foreman::params::locations_enabled","::foreman::params::organizations_enabled","::foreman::params::passenger_interface","::foreman::params::vhost_priority","::foreman::params::server_ssl_ca","::foreman::params::server_ssl_chain","::foreman::params::server_ssl_cert","::foreman::params::server_ssl_certs_dir","::foreman::params::server_ssl_key","::foreman::params::server_ssl_crl","::foreman::params::server_ssl_ca","::foreman::params::server_ssl_cert","::foreman::params::server_ssl_key","::foreman::params::keepalive",::foreman::params::max_keepalive_requests,::foreman::params::keepalive_timeout,"::foreman::params::oauth_active","::foreman::params::oauth_map_users","::foreman::params::oauth_consumer_key","::foreman::params::oauth_consumer_secret","::foreman::params::passenger_prestart","::foreman::params::passenger_min_instances","::foreman::params::passenger_start_timeout","::foreman::params::admin_username","::foreman::params::admin_password","::foreman::params::admin_first_name","::foreman::params::admin_last_name","::foreman::params::admin_email","::foreman::params::initial_organization","::foreman::params::initial_location","::foreman::params::ipa_authentication","::foreman::params::http_keytab","::foreman::params::pam_service","::foreman::params::ipa_manage_sssd","::foreman::params::websockets_encrypt","::foreman::params::websockets_ssl_key","::foreman::params::websockets_ssl_cert","::foreman::params::logging_level",::foreman::params::loggers,"::foreman::params::email_conf","::foreman::params::email_source","::foreman::params::email_delivery_method","::foreman::params::email_smtp_address",::foreman::params::email_smtp_port,"::foreman::params::email_smtp_domain","::foreman::params::email_smtp_authentication","::foreman::params::email_smtp_user_name","::foreman::params::email_smtp_password","::foreman::plugin::discovery::params::install_images","::foreman::plugin::discovery::params::tftp_root","::foreman::plugin::discovery::params::source_url","::foreman::plugin::discovery::params::image_name","::foreman::plugin::openscap::params::configure_openscap_repo","foreman::plugin::puppetdb::params::package","foreman::plugin::puppetdb::params::address","foreman::plugin::puppetdb::params::dashboard_address","foreman::plugin::tasks::params::package","foreman::plugin::tasks::params::service","foreman_proxy::params::repo","foreman_proxy::params::gpgcheck","foreman_proxy::params::custom_repo","foreman_proxy::params::version","foreman_proxy::params::ensure_packages_version","foreman_proxy::params::plugin_version","foreman_proxy::params::bind_host",foreman_proxy::params::http_port,foreman_proxy::params::ssl_port,"foreman_proxy::params::dir","foreman_proxy::params::user","foreman_proxy::params::log","foreman_proxy::params::log_level",foreman_proxy::params::log_buffer,foreman_proxy::params::log_buffer_errors,"foreman_proxy::params::http","foreman_proxy::params::ssl","foreman_proxy::params::ssl_ca","foreman_proxy::params::ssl_cert","foreman_proxy::params::ssl_key","foreman_proxy::params::foreman_ssl_ca","foreman_proxy::params::foreman_ssl_cert","foreman_proxy::params::foreman_ssl_key",foreman_proxy::params::trusted_hosts,foreman_proxy::params::ssl_disabled_ciphers,"foreman_proxy::params::manage_sudoersd","foreman_proxy::params::use_sudoersd","foreman_proxy::params::puppetca","foreman_proxy::params::puppetca_listen_on","foreman_proxy::params::ssldir","foreman_proxy::params::puppetdir","foreman_proxy::params::puppetca_cmd","foreman_proxy::params::puppet_group","foreman_proxy::params::puppet","foreman_proxy::params::puppet_split_config_files","foreman_proxy::params::puppet_listen_on","foreman_proxy::params::puppetrun_cmd","foreman_proxy::params::puppetrun_provider","foreman_proxy::params::customrun_cmd","foreman_proxy::params::customrun_args","foreman_proxy::params::mcollective_user","foreman_proxy::params::puppetssh_sudo","foreman_proxy::params::puppetssh_command","foreman_proxy::params::puppetssh_user","foreman_proxy::params::puppetssh_keyfile","foreman_proxy::params::puppetssh_wait","foreman_proxy::params::salt_puppetrun_cmd","foreman_proxy::params::puppet_user","foreman_proxy::params::puppet_url","foreman_proxy::params::ssl_ca","foreman_proxy::params::ssl_cert","foreman_proxy::params::ssl_key","foreman_proxy::params::puppet_use_environment_api","foreman_proxy::params::templates","foreman_proxy::params::templates_listen_on","foreman_proxy::params::template_url","foreman_proxy::params::logs","foreman_proxy::params::logs_listen_on","foreman_proxy::params::tftp","foreman_proxy::params::tftp_listen_on","foreman_proxy::params::tftp_managed","foreman_proxy::params::tftp_manage_wget",foreman_proxy::params::tftp_syslinux_filenames,"foreman_proxy::params::tftp_root",foreman_proxy::params::tftp_dirs,"foreman_proxy::params::tftp_servername","foreman_proxy::params::dhcp","foreman_proxy::params::dhcp_listen_on","foreman_proxy::params::dhcp_managed","foreman_proxy::params::dhcp_provider",foreman_proxy::params::dhcp_subnets,foreman_proxy::params::dhcp_option_domain,foreman_proxy::params::dhcp_search_domains,"foreman_proxy::params::dhcp_interface","foreman_proxy::params::dhcp_gateway","foreman_proxy::params::dhcp_range","foreman_proxy::params::dhcp_nameservers","foreman_proxy::params::dhcp_server","foreman_proxy::params::dhcp_config","foreman_proxy::params::dhcp_leases","foreman_proxy::params::dhcp_key_name","foreman_proxy::params::dhcp_key_secret",foreman_proxy::params::dhcp_omapi_port,"foreman_proxy::params::dns","foreman_proxy::params::dns_listen_on","foreman_proxy::params::dns_managed","foreman_proxy::params::dns_provider","foreman_proxy::params::dns_interface","foreman_proxy::params::dns_zone","foreman_proxy::params::dns_reverse","foreman_proxy::params::dns_server","foreman_proxy::params::dns_ttl","foreman_proxy::params::dns_tsig_keytab","foreman_proxy::params::dns_tsig_principal",foreman_proxy::params::dns_forwarders,"foreman_proxy::params::libvirt_backend","foreman_proxy::params::libvirt_network","foreman_proxy::params::libvirt_connection","foreman_proxy::params::bmc","foreman_proxy::params::bmc_listen_on","foreman_proxy::params::bmc_default_provider","foreman_proxy::params::realm","foreman_proxy::params::realm_listen_on","foreman_proxy::params::realm_provider","foreman_proxy::params::realm_keytab","foreman_proxy::params::realm_principal","foreman_proxy::params::freeipa_remove_dns","foreman_proxy::params::keyfile","foreman_proxy::params::register_in_foreman","foreman_proxy::params::foreman_base_url","foreman_proxy::params::registered_name","foreman_proxy::params::registered_proxy_url","foreman_proxy::params::oauth_effective_user","foreman_proxy::params::oauth_consumer_key","foreman_proxy::params::oauth_consumer_secret","foreman_proxy::params::puppet_use_cache","::foreman_proxy::plugin::openscap::params::configure_openscap_repo","::foreman_proxy::plugin::openscap::params::enabled","::foreman_proxy::plugin::openscap::params::version","::foreman_proxy::plugin::openscap::params::listen_on","::foreman_proxy::plugin::openscap::params::openscap_send_log_file","::foreman_proxy::plugin::openscap::params::spooldir","::foreman_proxy::plugin::openscap::params::contentdir","::foreman_proxy::plugin::openscap::params::reportsdir","::foreman_proxy::plugin::openscap::params::failed_dir","::foreman_proxy::plugin::pulp::params::enabled","::foreman_proxy::plugin::pulp::params::listen_on","::foreman_proxy::plugin::pulp::params::pulpnode_enabled","::foreman_proxy::plugin::pulp::params::version","::foreman_proxy::plugin::pulp::params::group","::foreman_proxy::plugin::pulp::params::pulp_url","::foreman_proxy::plugin::pulp::params::pulp_dir","::foreman_proxy::plugin::pulp::params::pulp_content_dir","::foreman_proxy::plugin::pulp::params::mongodb_dir","::foreman_proxy::plugin::remote_execution::ssh::params::enabled","::foreman_proxy::plugin::remote_execution::ssh::params::listen_on","::foreman_proxy::plugin::remote_execution::ssh::params::generate_keys","::foreman_proxy::plugin::remote_execution::ssh::params::ssh_identity_dir","::foreman_proxy::plugin::remote_execution::ssh::params::ssh_identity_file","::foreman_proxy::plugin::remote_execution::ssh::params::ssh_keygen","::foreman_proxy::plugin::remote_execution::ssh::params::local_working_dir","::foreman_proxy::plugin::remote_execution::ssh::params::remote_working_dir","katello::params::user","katello::params::group","katello::params::user_groups","katello::params::oauth_key","katello::params::oauth_secret","katello::params::post_sync_token","katello::params::num_pulp_workers","katello::params::log_dir","katello::params::config_dir","katello::params::use_passenger","katello::params::proxy_url","katello::params::proxy_port","katello::params::proxy_username","katello::params::proxy_password","katello::params::cdn_ssl_version","katello::params::package_names","katello::params::enable_ostree",katello::params::max_keep_alive,"katello::params::repo_export_dir")'
| RUBYLIB=/usr/share/gems/gems/kafo-0.9.2/lib/kafo/../..//modules:
/usr/bin/puppet apply --noop --reports= --modulepath
/usr/share/katello-installer-base/modules:/usr/share/foreman-installer/modules:/usr/share/gems/gems/kafo-0.9.2/modules
2>&1
[DEBUG 2016-10-21 12:16:36 main] exception: connect failed
Could not retrieve fact='mongodb_is_master', resolution='<anonymous>': 757:
unexpected token at '2016-10-21T12:16:34.539+0200 warning: Failed to connect to
127.0.0.1:27017, reason: errno:111 Connection refused
2016-10-21T12:16:34.540+0200 Error: couldn't connect to server 127.0.0.1:27017
(127.0.0.1), connection attempt failed at src/mongo/shell/mongo.js:146'
[mNotice: Compiled catalog for theforeman.nodes.rto.de in environment
production in 0.40 seconds[0m
[mNotice: Finished catalog run in 0.19 seconds[0m
[ INFO 2016-10-21 12:16:36 main] ... finished
[ INFO 2016-10-21 12:16:36 main] Executing hooks in group pre_values
[ INFO 2016-10-21 12:16:36 main] All hooks in group pre_values finished
[ INFO 2016-10-21 12:16:36 main] Executing hooks in group pre_validations
[DEBUG 2016-10-21 12:16:36 main] Hook
/usr/share/katello-installer-base/hooks/pre_validations/10-check_capsule_pulp.rb
returned nil
[DEBUG 2016-10-21 12:16:36 main] Hook
/usr/share/katello-installer-base/hooks/pre_validations/11-check_proxy_url.rb
returned nil
[ INFO 2016-10-21 12:16:36 main] All hooks in group pre_validations finished
[ INFO 2016-10-21 12:16:36 main] Running validation checks
[ INFO 2016-10-21 12:16:36 main] Executing hooks in group pre_commit
[ INFO 2016-10-21 12:16:36 main] All hooks in group pre_commit finished
[ INFO 2016-10-21 12:16:36 main] Executing hooks in group pre
[DEBUG 2016-10-21 12:16:36 main] Hook
/usr/share/katello-installer-base/hooks/pre/10-reset_feature.rb returned nil
[DEBUG 2016-10-21 12:16:36 main] Hook
/usr/share/katello-installer-base/hooks/pre/11-clear_pulp_data_feature.rb
returned nil
[DEBUG 2016-10-21 12:16:36 main] Hook
/usr/share/katello-installer-base/hooks/pre/12-clear_puppet_environments_feature.rb
returned nil
[DEBUG 2016-10-21 12:16:36 main] Hook
/usr/share/katello-installer-base/hooks/pre/15-check_java.rb returned nil
[DEBUG 2016-10-21 12:16:36 main] Hook
/usr/share/katello-installer-base/hooks/pre/16-set_umask.rb returned nil
[DEBUG 2016-10-21 12:16:36 main] Hook
/usr/share/katello-installer-base/hooks/pre/20-certs_update.rb returned nil
[DEBUG 2016-10-21 12:16:36 main] Hook
/usr/share/katello-installer-base/hooks/pre/29-remove_sslconf.rb returned nil
[ INFO 2016-10-21 12:16:36 main] Upgrading...
[ INFO 2016-10-21 12:16:36 main] Upgrade Step: stop_services...
[DEBUG 2016-10-21 12:16:38 main] Redirecting to /bin/systemctl stop
foreman-tasks.service
Redirecting to /bin/systemctl stop httpd.service
Redirecting to /bin/systemctl stop pulp_workers.service
Redirecting to /bin/systemctl stop pulp_streamer.service
Redirecting to /bin/systemctl stop pulp_resource_manager.service
Redirecting to /bin/systemctl stop pulp_celerybeat.service
Redirecting to /bin/systemctl stop foreman-proxy.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 2016-10-21 12:16:38 main] Upgrade Step: start_databases...
[DEBUG 2016-10-21 12:16:49 main] Redirecting to /bin/systemctl start
mongod.service
Redirecting to /bin/systemctl start postgresql.service
Success!
[ INFO 2016-10-21 12:16:49 main] Upgrade Step: update_http_conf...
[DEBUG 2016-10-21 12:16:49 main]
[ INFO 2016-10-21 12:16:49 main] Upgrade Step: migrate_pulp...
[DEBUG 2016-10-21 12:16:49 main]
[DEBUG 2016-10-21 12:16:49 main]
[DEBUG 2016-10-21 12:16:50 main] 13638
[DEBUG 2016-10-21 12:16:51 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: puppet_module = pulp_puppet.plugins.db.models:Module
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: ostree = pulp_ostree.plugins.db.model:Branch
Loading unit model: erratum = pulp_rpm.plugins.db.models:Errata
Loading unit model: distribution = pulp_rpm.plugins.db.models:Distribution
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: srpm = pulp_rpm.plugins.db.models:SRPM
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, ostree, erratum, docker_blob, drpm, srpm,
package_group, package_category, iso, package_environment, docker_tag,
distribution, rpm, yum_repo_metadata_file, docker_image, docker_manifest]
Updating the database with types [puppet_module, drpm, ostree, docker_manifest,
docker_blob, erratum, 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 23
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 32
Loading unit model: puppet_module = pulp_puppet.plugins.db.models:Module
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: ostree = pulp_ostree.plugins.db.model:Branch
Loading unit model: erratum = pulp_rpm.plugins.db.models:Errata
Loading unit model: distribution = pulp_rpm.plugins.db.models:Distribution
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: srpm = pulp_rpm.plugins.db.models:SRPM
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 2016-10-21 12:16:51 main] Upgrade Step: fix_pulp_httpd_conf...
[ INFO 2016-10-21 12:16:51 main] Upgrade Step: start_httpd...
[DEBUG 2016-10-21 12:16:56 main] Redirecting to /bin/systemctl start
httpd.service
Success!
[ INFO 2016-10-21 12:16:56 main] Upgrade Step: start_qpidd...
[DEBUG 2016-10-21 12:16:57 main] Redirecting to /bin/systemctl start
qpidd.service
Redirecting to /bin/systemctl start qdrouterd.service
Success!
[ INFO 2016-10-21 12:16:57 main] Upgrade Step: start_pulp...
[DEBUG 2016-10-21 12:16:57 main] Redirecting to /bin/systemctl start
pulp_celerybeat.service
Redirecting to /bin/systemctl start pulp_resource_manager.service
Redirecting to /bin/systemctl start pulp_workers.service
Success!
[ INFO 2016-10-21 12:16:57 main] Upgrade Step: migrate_candlepin...
[DEBUG 2016-10-21 12:17:00 main] Migrating candlepin database
Liquibase Update Successful
[ INFO 2016-10-21 12:17:00 main] Upgrade Step: start_tomcat...
[DEBUG 2016-10-21 12:17:16 main] Redirecting to /bin/systemctl start
tomcat.service
Success!
[ INFO 2016-10-21 12:17:16 main] Upgrade Step: fix_katello_settings_file...
[ INFO 2016-10-21 12:17:16 main] Upgrade Step: migrate_foreman...
[ERROR 2016-10-21 12:17:23 main] API controllers newer than Apipie cache! Run
apipie:cache rake task to regenerate cache.
rake aborted!
NameError: uninitialized constant Api::V2::Rendering
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_hooks-0.3.11/lib/foreman_hooks.rb:90:in
`load_missing_constant_with_hooks'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.1.0.1/app/controllers/katello/api/v2/api_controller.rb:5:in
`<class:ApiController>'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.1.0.1/app/controllers/katello/api/v2/api_controller.rb:2:in
`<module:Katello>'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.1.0.1/app/controllers/katello/api/v2/api_controller.rb:1:in
`<top (required)>'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/polyglot-0.3.4/lib/polyglot.rb:65:in
`require'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.1.0.1/lib/katello/engine.rb:222:in
`block in <class:Engine>'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:446:in
`instance_exec'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:446:in
`block in make_lambda'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:192:in
`call'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:192:in
`block in simple'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:504:in
`call'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:504:in
`block in call'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:504:in
`each'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:504:in
`call'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:92:in
`__run_callbacks__'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:778:in
`_run_prepare_callbacks'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:81:in
`run_callbacks'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/reloader.rb:83:in
`prepare!'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/reloader.rb:55:in
`prepare!'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/application/finisher.rb:50:in
`block in <module:Finisher>'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:30:in
`instance_exec'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:30:in
`run'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:55:in
`block in run_initializers'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:54:in
`run_initializers'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/application.rb:352:in
`initialize!'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/railtie.rb:194:in
`public_send'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/railtie.rb:194:in
`method_missing'
/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'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/application.rb:328:in
`require_environment!'
/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'
Tasks: TOP => config => environment
(See full trace by running task with --trace)
[ERROR 2016-10-21 12:17:31 main] API controllers newer than Apipie cache! Run
apipie:cache rake task to regenerate cache.
rake aborted!
NameError: uninitialized constant Api::V2::Rendering
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_hooks-0.3.11/lib/foreman_hooks.rb:90:in
`load_missing_constant_with_hooks'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.1.0.1/app/controllers/katello/api/v2/api_controller.rb:5:in
`<class:ApiController>'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.1.0.1/app/controllers/katello/api/v2/api_controller.rb:2:in
`<module:Katello>'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.1.0.1/app/controllers/katello/api/v2/api_controller.rb:1:in
`<top (required)>'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/polyglot-0.3.4/lib/polyglot.rb:65:in
`require'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.1.0.1/lib/katello/engine.rb:222:in
`block in <class:Engine>'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:446:in
`instance_exec'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:446:in
`block in make_lambda'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:192:in
`call'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:192:in
`block in simple'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:504:in
`call'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:504:in
`block in call'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:504:in
`each'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:504:in
`call'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:92:in
`__run_callbacks__'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:778:in
`_run_prepare_callbacks'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:81:in
`run_callbacks'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/reloader.rb:83:in
`prepare!'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/reloader.rb:55:in
`prepare!'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/application/finisher.rb:50:in
`block in <module:Finisher>'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:30:in
`instance_exec'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:30:in
`run'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:55:in
`block in run_initializers'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:54:in
`run_initializers'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/application.rb:352:in
`initialize!'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/railtie.rb:194:in
`public_send'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/railtie.rb:194:in
`method_missing'
/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'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/application.rb:328:in
`require_environment!'
/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'
Tasks: TOP => db:migrate => environment
(See full trace by running task with --trace)
[ERROR 2016-10-21 12:17:37 main] API controllers newer than Apipie cache! Run
apipie:cache rake task to regenerate cache.
rake aborted!
NameError: uninitialized constant Api::V2::Rendering
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_hooks-0.3.11/lib/foreman_hooks.rb:90:in
`load_missing_constant_with_hooks'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.1.0.1/app/controllers/katello/api/v2/api_controller.rb:5:in
`<class:ApiController>'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.1.0.1/app/controllers/katello/api/v2/api_controller.rb:2:in
`<module:Katello>'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.1.0.1/app/controllers/katello/api/v2/api_controller.rb:1:in
`<top (required)>'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/polyglot-0.3.4/lib/polyglot.rb:65:in
`require'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.1.0.1/lib/katello/engine.rb:222:in
`block in <class:Engine>'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:446:in
`instance_exec'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:446:in
`block in make_lambda'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:192:in
`call'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:192:in
`block in simple'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:504:in
`call'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:504:in
`block in call'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:504:in
`each'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:504:in
`call'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:92:in
`__run_callbacks__'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:778:in
`_run_prepare_callbacks'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:81:in
`run_callbacks'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/reloader.rb:83:in
`prepare!'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/reloader.rb:55:in
`prepare!'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/application/finisher.rb:50:in
`block in <module:Finisher>'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:30:in
`instance_exec'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:30:in
`run'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:55:in
`block in run_initializers'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:54:in
`run_initializers'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/application.rb:352:in
`initialize!'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/railtie.rb:194:in
`public_send'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/railtie.rb:194:in
`method_missing'
/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'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/application.rb:328:in
`require_environment!'
/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'
Tasks: TOP => config => environment
(See full trace by running task with --trace)
[ERROR 2016-10-21 12:17:37 main] Upgrade step migrate_foreman failed. Check
logs for more information.
[DEBUG 2016-10-21 12:17:37 main] Exit with status code: 1 (signal was 1)
[ERROR 2016-10-21 12:17:37 main] Errors encountered during run:
[ERROR 2016-10-21 12:17:37 main] API controllers newer than Apipie cache! Run
apipie:cache rake task to regenerate cache.
rake aborted!
NameError: uninitialized constant Api::V2::Rendering
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_hooks-0.3.11/lib/foreman_hooks.rb:90:in
`load_missing_constant_with_hooks'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.1.0.1/app/controllers/katello/api/v2/api_controller.rb:5:in
`<class:ApiController>'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.1.0.1/app/controllers/katello/api/v2/api_controller.rb:2:in
`<module:Katello>'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.1.0.1/app/controllers/katello/api/v2/api_controller.rb:1:in
`<top (required)>'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/polyglot-0.3.4/lib/polyglot.rb:65:in
`require'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.1.0.1/lib/katello/engine.rb:222:in
`block in <class:Engine>'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:446:in
`instance_exec'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:446:in
`block in make_lambda'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:192:in
`call'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:192:in
`block in simple'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:504:in
`call'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:504:in
`block in call'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:504:in
`each'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:504:in
`call'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:92:in
`__run_callbacks__'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:778:in
`_run_prepare_callbacks'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:81:in
`run_callbacks'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/reloader.rb:83:in
`prepare!'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/reloader.rb:55:in
`prepare!'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/application/finisher.rb:50:in
`block in <module:Finisher>'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:30:in
`instance_exec'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:30:in
`run'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:55:in
`block in run_initializers'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:54:in
`run_initializers'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/application.rb:352:in
`initialize!'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/railtie.rb:194:in
`public_send'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/railtie.rb:194:in
`method_missing'
/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'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/application.rb:328:in
`require_environment!'
/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'
Tasks: TOP => config => environment
(See full trace by running task with --trace)
[ERROR 2016-10-21 12:17:37 main] API controllers newer than Apipie cache! Run
apipie:cache rake task to regenerate cache.
rake aborted!
NameError: uninitialized constant Api::V2::Rendering
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_hooks-0.3.11/lib/foreman_hooks.rb:90:in
`load_missing_constant_with_hooks'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.1.0.1/app/controllers/katello/api/v2/api_controller.rb:5:in
`<class:ApiController>'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.1.0.1/app/controllers/katello/api/v2/api_controller.rb:2:in
`<module:Katello>'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.1.0.1/app/controllers/katello/api/v2/api_controller.rb:1:in
`<top (required)>'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/polyglot-0.3.4/lib/polyglot.rb:65:in
`require'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.1.0.1/lib/katello/engine.rb:222:in
`block in <class:Engine>'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:446:in
`instance_exec'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:446:in
`block in make_lambda'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:192:in
`call'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:192:in
`block in simple'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:504:in
`call'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:504:in
`block in call'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:504:in
`each'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:504:in
`call'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:92:in
`__run_callbacks__'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:778:in
`_run_prepare_callbacks'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:81:in
`run_callbacks'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/reloader.rb:83:in
`prepare!'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/reloader.rb:55:in
`prepare!'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/application/finisher.rb:50:in
`block in <module:Finisher>'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:30:in
`instance_exec'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:30:in
`run'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:55:in
`block in run_initializers'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:54:in
`run_initializers'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/application.rb:352:in
`initialize!'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/railtie.rb:194:in
`public_send'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/railtie.rb:194:in
`method_missing'
/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'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/application.rb:328:in
`require_environment!'
/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'
Tasks: TOP => db:migrate => environment
(See full trace by running task with --trace)
[ERROR 2016-10-21 12:17:37 main] API controllers newer than Apipie cache! Run
apipie:cache rake task to regenerate cache.
rake aborted!
NameError: uninitialized constant Api::V2::Rendering
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_hooks-0.3.11/lib/foreman_hooks.rb:90:in
`load_missing_constant_with_hooks'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.1.0.1/app/controllers/katello/api/v2/api_controller.rb:5:in
`<class:ApiController>'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.1.0.1/app/controllers/katello/api/v2/api_controller.rb:2:in
`<module:Katello>'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.1.0.1/app/controllers/katello/api/v2/api_controller.rb:1:in
`<top (required)>'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/polyglot-0.3.4/lib/polyglot.rb:65:in
`require'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.1.0.1/lib/katello/engine.rb:222:in
`block in <class:Engine>'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:446:in
`instance_exec'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:446:in
`block in make_lambda'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:192:in
`call'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:192:in
`block in simple'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:504:in
`call'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:504:in
`block in call'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:504:in
`each'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:504:in
`call'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:92:in
`__run_callbacks__'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:778:in
`_run_prepare_callbacks'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:81:in
`run_callbacks'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/reloader.rb:83:in
`prepare!'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/reloader.rb:55:in
`prepare!'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/application/finisher.rb:50:in
`block in <module:Finisher>'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:30:in
`instance_exec'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:30:in
`run'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:55:in
`block in run_initializers'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:54:in
`run_initializers'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/application.rb:352:in
`initialize!'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/railtie.rb:194:in
`public_send'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/railtie.rb:194:in
`method_missing'
/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'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/application.rb:328:in
`require_environment!'
/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'
Tasks: TOP => config => environment
(See full trace by running task with --trace)
[ERROR 2016-10-21 12:17:37 main] Upgrade step migrate_foreman failed. Check
logs for more information.
[DEBUG 2016-10-21 12:17:37 main] Cleaning
/etc/katello-installer/d20161021-13181-d8zgp8
[DEBUG 2016-10-21 12:17:37 main] Cleaning /tmp/default_values.yaml