Project

General

Profile

Actions

Bug #19015

closed

Upgrade to 3.3.x fails with ArgumentError: Unknown key

Added by Jason Nance about 7 years ago. Updated about 7 years ago.

Status:
Duplicate
Priority:
Urgent
Assignee:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Running foreman-installer --scenario katello --upgrade when upgrading to Katello 3.3/TFM 1.14 yields the following:

Upgrade Step: migrate_foreman...

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'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/core_ext/hash/keys.rb:73:in `each_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'
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_remote_execution-1.2.2/app/models/remote_execution_feature.rb:23:in `register'
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_openscap-0.6.5/lib/foreman_openscap/engine.rb:159:in `block (2 levels) in <class:Engine>'
/usr/share/foreman/app/services/foreman/plugin.rb:64:in `instance_eval'
/usr/share/foreman/app/services/foreman/plugin.rb:64:in `register'
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_openscap-0.6.5/lib/foreman_openscap/engine.rb:44:in `block 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'
/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/activesupport-4.2.5.1/lib/active_support/dependencies.rb:274:in `block 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'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:274: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)

Upgrade step migrate_foreman failed. Check logs for more information.

A mailing list post from Eric Helms suggests the following:

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.


Related issues 1 (0 open1 closed)

Related to OpenSCAP - Bug #19007: Remote execution integration is not compatible with REX 1.2.2 and lowerClosedMarek Hulán03/23/2017Actions
Actions #1

Updated by Dominic Cleal about 7 years ago

  • Project changed from Installer to OpenSCAP
  • Triaged set to No
Actions #2

Updated by Marek Hulán about 7 years ago

  • Status changed from New to Duplicate

Thanks for the report, I believe this is already tracked under #19007. The fix is ready for review and we hope to get the new foreman_openscap release soon.

Actions #3

Updated by Marek Hulán about 7 years ago

  • Related to Bug #19007: Remote execution integration is not compatible with REX 1.2.2 and lower added
Actions

Also available in: Atom PDF