Problem:
Followed the upgrade documentation until “foreman-installer --scenario katello --upgrade”
Fails with:
Execution of '/usr/sbin/foreman-rake -- config -k 'remote_execution_cockpit_url' -v '/webcon/=%{host}'' returned 1: rake aborted!
PG::ConnectionBad: could not connect to server: No such file or directory
Is the server running locally and accepting connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
Expected outcome:
Foreman and Proxy versions:
Foreman 1.24.2
Katello 3.14.1
Foreman and Proxy plugin versions:
|foreman-tasks 0.17.5|
|foreman_ansible 4.0.4|
|foreman_openscap 2.0.2|
|foreman_remote_execution 2.0.7|
|foreman_snapshot_management 1.6.0|
|foreman_templates 7.0.6|
|foreman_virt_who_configure 0.4.5|
|katello 3.14.1|
Distribution and version:
CentOS 7.7.1908
Other relevant data:
[ERROR 2020-05-26T10:26:36 main] Errors encountered during run:
[ERROR 2020-05-26T10:26:36 main] Execution of '/usr/sbin/foreman-rake -- config -k 'remote_execution_cockpit_url' -v '/webcon/=%{host}'' returned 1: rake aborted!
[ERROR 2020-05-26T10:26:36 main] PG::ConnectionBad: could not connect to server: No such file or directory
[ERROR 2020-05-26T10:26:36 main] Is the server running locally and accepting
[ERROR 2020-05-26T10:26:36 main] connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/pg-1.1.4/lib/pg.rb:56:in `initialize'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/pg-1.1.4/lib/pg.rb:56:in `new'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/pg-1.1.4/lib/pg.rb:56:in `connect'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-5.2.1/lib/active_record/connection_adapters/postgresql_adapter.rb:684:in `connect'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-5.2.1/lib/active_record/connection_adapters/postgresql_adapter.rb:215:in `initialize'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-5.2.1/lib/active_record/connection_adapters/postgresql_adapter.rb:40:in `new'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-5.2.1/lib/active_record/connection_adapters/postgresql_adapter.rb:40:in `postgresql_connection'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-5.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:809:in `new_connection'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-5.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:853:in `checkout_new_connection'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-5.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:832:in `try_to_checkout_new_connection'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-5.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:793:in `acquire_connection'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-5.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:521:in `checkout'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-5.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:380:in `connection'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-5.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:1008:in `retrieve_connection'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-5.2.1/lib/active_record/connection_handling.rb:118:in `retrieve_connection'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-5.2.1/lib/active_record/connection_handling.rb:90:in `connection'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-5.2.1/lib/active_record/schema_migration.rb:22:in `table_exists?'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-5.2.1/lib/active_record/schema_migration.rb:26:in `create_table'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-5.2.1/lib/active_record/migration.rb:1187:in `initialize'
[ERROR 2020-05-26T10:26:36 main] /usr/share/foreman/app/registries/foreman/plugin.rb:343:in `new'
[ERROR 2020-05-26T10:26:36 main] /usr/share/foreman/app/registries/foreman/plugin.rb:343:in `pending_migrations'
[ERROR 2020-05-26T10:26:36 main] /usr/share/foreman/app/registries/foreman/plugin.rb:284:in `permission'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-1.1.1/lib/foreman_tasks/engine.rb:52:in `block (3 levels) in <class:Engine>'
[ERROR 2020-05-26T10:26:36 main] /usr/share/foreman/app/registries/foreman/plugin.rb:268:in `instance_eval'
[ERROR 2020-05-26T10:26:36 main] /usr/share/foreman/app/registries/foreman/plugin.rb:268:in `security_block'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-1.1.1/lib/foreman_tasks/engine.rb:51:in `block (2 levels) in <class:Engine>'
[ERROR 2020-05-26T10:26:36 main] /usr/share/foreman/app/registries/foreman/plugin.rb:76:in `instance_eval'
[ERROR 2020-05-26T10:26:36 main] /usr/share/foreman/app/registries/foreman/plugin.rb:76:in `register'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-1.1.1/lib/foreman_tasks/engine.rb:36:in `block in <class:Engine>'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/railties-5.2.1/lib/rails/initializable.rb:32:in `instance_exec'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/railties-5.2.1/lib/rails/initializable.rb:32:in `run'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/railties-5.2.1/lib/rails/initializable.rb:61:in `block in run_initializers'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/railties-5.2.1/lib/rails/initializable.rb:60:in `run_initializers'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/railties-5.2.1/lib/rails/application.rb:361:in `initialize!'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/railties-5.2.1/lib/rails/railtie.rb:190:in `public_send'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/railties-5.2.1/lib/rails/railtie.rb:190:in `method_missing'
[ERROR 2020-05-26T10:26:36 main] /usr/share/foreman/config/environment.rb:5:in `<top (required)>'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-5.2.1/lib/active_support/dependencies.rb:287:in `block in require'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-5.2.1/lib/active_support/dependencies.rb:253:in `load_dependency'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-5.2.1/lib/active_support/dependencies.rb:287:in `require'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/railties-5.2.1/lib/rails/application.rb:337:in `require_environment!'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/railties-5.2.1/lib/rails/application.rb:520:in `block in run_tasks_blocks'
[ERROR 2020-05-26T10:26:36 main] /opt/rh/rh-ruby25/root/usr/share/gems/gems/rake-12.3.0/exe/rake:27:in `<top (required)>'
[ERROR 2020-05-26T10:26:36 main] Tasks: TOP => config => environment
[ERROR 2020-05-26T10:26:36 main] (See full trace by running task with --trace)
[ERROR 2020-05-26T10:26:36 main] Rubocop not loaded.
[ERROR 2020-05-26T10:26:36 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/execution.rb:297:in `execute'
[ERROR 2020-05-26T10:26:36 main] /usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_config_entry/cli.rb:12:in `block in run_foreman_config'
[ERROR 2020-05-26T10:26:36 main] /usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_config_entry/cli.rb:10:in `chdir'
[ERROR 2020-05-26T10:26:36 main] /usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_config_entry/cli.rb:10:in `run_foreman_config'
[ERROR 2020-05-26T10:26:36 main] /usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_config_entry/cli.rb:25:in `run_foreman_config'
[ERROR 2020-05-26T10:26:36 main] /usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_config_entry/cli.rb:68:in `value='
[ERROR 2020-05-26T10:26:36 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/property.rb:193:in `call_provider'
[ERROR 2020-05-26T10:26:36 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/property.rb:507:in `set'
[ERROR 2020-05-26T10:26:36 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/property.rb:570:in `sync'
[ERROR 2020-05-26T10:26:36 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:241:in `sync'
[ERROR 2020-05-26T10:26:36 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:136:in `sync_if_needed'
[ERROR 2020-05-26T10:26:36 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:90:in `block in perform_changes'
[ERROR 2020-05-26T10:26:36 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:89:in `each'
[ERROR 2020-05-26T10:26:36 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:89:in `perform_changes'
[ERROR 2020-05-26T10:26:36 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:21:in `evaluate'
[ERROR 2020-05-26T10:26:36 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:267:in `apply'
[ERROR 2020-05-26T10:26:36 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:287:in `eval_resource'
[ERROR 2020-05-26T10:26:36 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:191:in `call'
[ERROR 2020-05-26T10:26:36 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:191:in `block (2 levels) in evaluate'
[ERROR 2020-05-26T10:26:36 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:521:in `block in thinmark'
[ERROR 2020-05-26T10:26:36 main] /opt/puppetlabs/puppet/lib/ruby/2.5.0/benchmark.rb:308:in `realtime'
[ERROR 2020-05-26T10:26:36 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:520:in `thinmark'
[ERROR 2020-05-26T10:26:36 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:191:in `block in evaluate'
[ERROR 2020-05-26T10:26:36 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/graph/relationship_graph.rb:122:in `traverse'
[ERROR 2020-05-26T10:26:36 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:178:in `evaluate'
[ERROR 2020-05-26T10:26:36 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:240:in `block (2 levels) in apply'
[ERROR 2020-05-26T10:26:36 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:521:in `block in thinmark'
[ERROR 2020-05-26T10:26:36 main] /opt/puppetlabs/puppet/lib/ruby/2.5.0/benchmark.rb:308:in `realtime'
[ERROR 2020-05-26T10:26:36 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:520:in `thinmark'
[ERROR 2020-05-26T10:26:36 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:239:in `block in apply'
[ERROR 2020-05-26T10:26:36 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/log.rb:161:in `with_destination'
[ERROR 2020-05-26T10:26:36 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/report.rb:146:in `as_logging_destination'
[ERROR 2020-05-26T10:26:36 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:238:in `apply'
[ERROR 2020-05-26T10:26:36 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:185:in `block (2 levels) in apply_catalog'
[ERROR 2020-05-26T10:26:36 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:521:in `block in thinmark'
[ERROR 2020-05-26T10:26:36 main] /opt/puppetlabs/puppet/lib/ruby/2.5.0/benchmark.rb:308:in `realtime'
[ERROR 2020-05-26T10:26:36 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:520:in `thinmark'
[ERROR 2020-05-26T10:26:36 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:184:in `block in apply_catalog'
[ERROR 2020-05-26T10:26:36 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:233:in `block in benchmark'
[ERROR 2020-05-26T10:26:36 main] /opt/puppetlabs/puppet/lib/ruby/2.5.0/benchmark.rb:308:in `realtime'
[ERROR 2020-05-26T10:26:36 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:232:in `benchmark'
[ERROR 2020-05-26T10:26:36 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:183:in `apply_catalog'
[ERROR 2020-05-26T10:26:36 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:391:in `run_internal'
[ERROR 2020-05-26T10:26:36 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:227:in `block in run'
[ERROR 2020-05-26T10:26:36 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/context.rb:62:in `override'
[ERROR 2020-05-26T10:26:36 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:290:in `override'
[ERROR 2020-05-26T10:26:36 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:210:in `run'
[ERROR 2020-05-26T10:26:36 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:343:in `apply_catalog'
[ERROR 2020-05-26T10:26:36 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:260:in `block (2 levels) in main'
[ERROR 2020-05-26T10:26:36 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/context.rb:62:in `override'
[ERROR 2020-05-26T10:26:36 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:290:in `override'
[ERROR 2020-05-26T10:26:36 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:243:in `block in main'
[ERROR 2020-05-26T10:26:36 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/context.rb:62:in `override'
[ERROR 2020-05-26T10:26:36 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:290:in `override'
[ERROR 2020-05-26T10:26:36 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:207:in `main'
[ERROR 2020-05-26T10:26:36 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:177:in `run_command'
[ERROR 2020-05-26T10:26:36 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:382:in `block in run'
[ERROR 2020-05-26T10:26:36 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:710:in `exit_on_fail'
[ERROR 2020-05-26T10:26:36 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:382:in `run'
[ERROR 2020-05-26T10:26:36 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:143:in `run'
[ERROR 2020-05-26T10:26:36 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:77:in `execute'
[ERROR 2020-05-26T10:26:36 main] /opt/puppetlabs/puppet/bin/puppet:5:in `<main>'
[ERROR 2020-05-26T10:26:36 main] /Stage[main]/Foreman::Plugin::Remote_execution::Cockpit/Foreman_config_entry[remote_execution_cockpit_url]/value: change from '' to '/webcon/=%{host}' failed: Execution of '/usr/sbin/foreman-rake -- config -k 'remote_execution_cockpit_url' -v '/webcon/=%{host}'' returned 1: rake aborted!
[ERROR 2020-05-26T10:26:36 main] PG::ConnectionBad: could not connect to server: No such file or directory
[ERROR 2020-05-26T10:26:36 main] Is the server running locally and accepting
[ERROR 2020-05-26T10:26:36 main] connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/pg-1.1.4/lib/pg.rb:56:in `initialize'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/pg-1.1.4/lib/pg.rb:56:in `new'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/pg-1.1.4/lib/pg.rb:56:in `connect'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-5.2.1/lib/active_record/connection_adapters/postgresql_adapter.rb:684:in `connect'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-5.2.1/lib/active_record/connection_adapters/postgresql_adapter.rb:215:in `initialize'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-5.2.1/lib/active_record/connection_adapters/postgresql_adapter.rb:40:in `new'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-5.2.1/lib/active_record/connection_adapters/postgresql_adapter.rb:40:in `postgresql_connection'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-5.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:809:in `new_connection'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-5.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:853:in `checkout_new_connection'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-5.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:832:in `try_to_checkout_new_connection'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-5.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:793:in `acquire_connection'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-5.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:521:in `checkout'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-5.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:380:in `connection'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-5.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:1008:in `retrieve_connection'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-5.2.1/lib/active_record/connection_handling.rb:118:in `retrieve_connection'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-5.2.1/lib/active_record/connection_handling.rb:90:in `connection'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-5.2.1/lib/active_record/schema_migration.rb:22:in `table_exists?'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-5.2.1/lib/active_record/schema_migration.rb:26:in `create_table'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-5.2.1/lib/active_record/migration.rb:1187:in `initialize'
[ERROR 2020-05-26T10:26:36 main] /usr/share/foreman/app/registries/foreman/plugin.rb:343:in `new'
[ERROR 2020-05-26T10:26:36 main] /usr/share/foreman/app/registries/foreman/plugin.rb:343:in `pending_migrations'
[ERROR 2020-05-26T10:26:36 main] /usr/share/foreman/app/registries/foreman/plugin.rb:284:in `permission'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-1.1.1/lib/foreman_tasks/engine.rb:52:in `block (3 levels) in <class:Engine>'
[ERROR 2020-05-26T10:26:36 main] /usr/share/foreman/app/registries/foreman/plugin.rb:268:in `instance_eval'
[ERROR 2020-05-26T10:26:36 main] /usr/share/foreman/app/registries/foreman/plugin.rb:268:in `security_block'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-1.1.1/lib/foreman_tasks/engine.rb:51:in `block (2 levels) in <class:Engine>'
[ERROR 2020-05-26T10:26:36 main] /usr/share/foreman/app/registries/foreman/plugin.rb:76:in `instance_eval'
[ERROR 2020-05-26T10:26:36 main] /usr/share/foreman/app/registries/foreman/plugin.rb:76:in `register'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-1.1.1/lib/foreman_tasks/engine.rb:36:in `block in <class:Engine>'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/railties-5.2.1/lib/rails/initializable.rb:32:in `instance_exec'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/railties-5.2.1/lib/rails/initializable.rb:32:in `run'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/railties-5.2.1/lib/rails/initializable.rb:61:in `block in run_initializers'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/railties-5.2.1/lib/rails/initializable.rb:60:in `run_initializers'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/railties-5.2.1/lib/rails/application.rb:361:in `initialize!'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/railties-5.2.1/lib/rails/railtie.rb:190:in `public_send'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/railties-5.2.1/lib/rails/railtie.rb:190:in `method_missing'
[ERROR 2020-05-26T10:26:36 main] /usr/share/foreman/config/environment.rb:5:in `<top (required)>'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-5.2.1/lib/active_support/dependencies.rb:287:in `block in require'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-5.2.1/lib/active_support/dependencies.rb:253:in `load_dependency'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-5.2.1/lib/active_support/dependencies.rb:287:in `require'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/railties-5.2.1/lib/rails/application.rb:337:in `require_environment!'
[ERROR 2020-05-26T10:26:36 main] /opt/theforeman/tfm/root/usr/share/gems/gems/railties-5.2.1/lib/rails/application.rb:520:in `block in run_tasks_blocks'
[ERROR 2020-05-26T10:26:36 main] /opt/rh/rh-ruby25/root/usr/share/gems/gems/rake-12.3.0/exe/rake:27:in `<top (required)>'
[ERROR 2020-05-26T10:26:36 main] Tasks: TOP => config => environment
[ERROR 2020-05-26T10:26:36 main] (See full trace by running task with --trace)
[ERROR 2020-05-26T10:26:36 main] Rubocop not loaded.
[DEBUG 2020-05-26T10:26:36 main] Cleaning /tmp/kafo_installation20200526-20620-j6homf
[DEBUG 2020-05-26T10:26:36 main] Cleaning /tmp/kafo_installation20200526-20620-z66tpc
[DEBUG 2020-05-26T10:26:36 main] Cleaning /tmp/default_values.yaml
[DEBUG 2020-05-26T10:26:36 main] Exit with status code: 130 (signal was 130)
[DEBUG 2020-05-26T10:26:36 main] Cleaning /tmp/kafo_installation20200526-20620-j6homf
[DEBUG 2020-05-26T10:26:36 main] Cleaning /tmp/kafo_installation20200526-20620-z66tpc
[DEBUG 2020-05-26T10:26:36 main] Cleaning /tmp/default_values.yaml