Foreman-installer (1.14) failing with ArgumentError: Unknown key: :host_action_button

I'd really appreciate any help with this.

I am installing Foreman 1.14 on a Fedora 24 host, but getting the error
below:

/Stage[main]/Foreman::Database/Foreman::Rake[db:migrate]/Exec[foreman-rake-db:migrate]:
Failed to call refresh: /usr/sbin/foreman-rake db:migrate returned 1
instead of one of [0]
/Stage[main]/Foreman::Database/Foreman::Rake[db:migrate]/Exec[foreman-rake-db:migrate]:
/usr/sbin/foreman-rake db:migrate returned 1 instead of one of [0]
/usr/share/ruby/vendor_ruby/puppet/util/errors.rb:106:in fail' /usr/share/ruby/vendor_ruby/puppet/type/exec.rb:160:insync'
/usr/share/ruby/vendor_ruby/puppet/type/exec.rb:592:in refresh' /usr/share/ruby/vendor_ruby/puppet/transaction/event_manager.rb:147:inprocess_callback'
/usr/share/ruby/vendor_ruby/puppet/transaction/event_manager.rb:34:in
block in process_events' /usr/share/ruby/vendor_ruby/puppet/transaction/event_manager.rb:119:inblock in queued_events'
/usr/share/ruby/vendor_ruby/puppet/transaction/event_manager.rb:118:in
each' /usr/share/ruby/vendor_ruby/puppet/transaction/event_manager.rb:118:inqueued_events'
/usr/share/ruby/vendor_ruby/puppet/transaction/event_manager.rb:33:in
process_events' /usr/share/ruby/vendor_ruby/puppet/transaction.rb:221:ineval_resource'
/usr/share/ruby/vendor_ruby/puppet/transaction.rb:147:in call' /usr/share/ruby/vendor_ruby/puppet/transaction.rb:147:inblock (2 levels)
in evaluate'
/usr/share/ruby/vendor_ruby/puppet/util.rb:292:in block in thinmark' /usr/share/ruby/benchmark.rb:308:inrealtime'
/usr/share/ruby/vendor_ruby/puppet/util.rb:291:in thinmark' /usr/share/ruby/vendor_ruby/puppet/transaction.rb:147:inblock in evaluate'
/usr/share/ruby/vendor_ruby/puppet/graph/relationship_graph.rb:118:in
traverse' /usr/share/ruby/vendor_ruby/puppet/transaction.rb:138:inevaluate'
/usr/share/gems/gems/kafo-1.0.5/modules/kafo_configure/lib/puppet/parser/functions/add_progress.rb:30:in
evaluate_with_trigger' /usr/share/ruby/vendor_ruby/puppet/resource/catalog.rb:178:inblock in
apply'
/usr/share/ruby/vendor_ruby/puppet/util/log.rb:153:in with_destination' /usr/share/ruby/vendor_ruby/puppet/transaction/report.rb:107:inas_logging_destination'
/usr/share/ruby/vendor_ruby/puppet/resource/catalog.rb:177:in apply' /usr/share/ruby/vendor_ruby/puppet/configurer.rb:119:inblock in
apply_catalog'
/usr/share/ruby/vendor_ruby/puppet/util.rb:129:in block in benchmark' /usr/share/ruby/benchmark.rb:308:inrealtime'
/usr/share/ruby/vendor_ruby/puppet/util.rb:128:in benchmark' /usr/share/ruby/vendor_ruby/puppet/configurer.rb:118:inapply_catalog'
/usr/share/ruby/vendor_ruby/puppet/configurer.rb:228:in run_internal' /usr/share/ruby/vendor_ruby/puppet/configurer.rb:134:inblock in run'
/usr/share/ruby/vendor_ruby/puppet/context.rb:64:in override' /usr/share/ruby/vendor_ruby/puppet.rb:223:inoverride'
/usr/share/ruby/vendor_ruby/puppet/configurer.rb:133:in run' /usr/share/ruby/vendor_ruby/puppet/application/apply.rb:343:inapply_catalog'
/usr/share/ruby/vendor_ruby/puppet/application/apply.rb:274:in block in main' /usr/share/ruby/vendor_ruby/puppet/context.rb:64:inoverride'
/usr/share/ruby/vendor_ruby/puppet.rb:223:in override' /usr/share/ruby/vendor_ruby/puppet/application/apply.rb:225:inmain'
/usr/share/ruby/vendor_ruby/puppet/application/apply.rb:170:in run_command' /usr/share/ruby/vendor_ruby/puppet/application.rb:344:inblock in run'
/usr/share/ruby/vendor_ruby/puppet/util.rb:446:in exit_on_fail' /usr/share/ruby/vendor_ruby/puppet/application.rb:344:inrun'
/usr/share/ruby/vendor_ruby/puppet/util/command_line.rb:128:in run' /usr/share/ruby/vendor_ruby/puppet/util/command_line.rb:72:inexecute'
/usr/bin/puppet:5:in <main>' /Stage[main]/Foreman::Database/Foreman::Rake[db:seed]/Exec[foreman-rake-db:seed]: Failed to call refresh: /usr/sbin/foreman-rake db:seed returned 1 instead of one of [0] /Stage[main]/Foreman::Database/Foreman::Rake[db:seed]/Exec[foreman-rake-db:seed]: /usr/sbin/foreman-rake db:seed returned 1 instead of one of [0] /usr/share/ruby/vendor_ruby/puppet/util/errors.rb:106:infail'
/usr/share/ruby/vendor_ruby/puppet/type/exec.rb:160:in sync' /usr/share/ruby/vendor_ruby/puppet/type/exec.rb:592:inrefresh'
/usr/share/ruby/vendor_ruby/puppet/transaction/event_manager.rb:147:in
process_callback' /usr/share/ruby/vendor_ruby/puppet/transaction/event_manager.rb:34:inblock in process_events'
/usr/share/ruby/vendor_ruby/puppet/transaction/event_manager.rb:119:in
block in queued_events' /usr/share/ruby/vendor_ruby/puppet/transaction/event_manager.rb:118:ineach'
/usr/share/ruby/vendor_ruby/puppet/transaction/event_manager.rb:118:in
queued_events' /usr/share/ruby/vendor_ruby/puppet/transaction/event_manager.rb:33:inprocess_events'
/usr/share/ruby/vendor_ruby/puppet/transaction.rb:221:in eval_resource' /usr/share/ruby/vendor_ruby/puppet/transaction.rb:147:incall'
/usr/share/ruby/vendor_ruby/puppet/transaction.rb:147:in block (2 levels) in evaluate' /usr/share/ruby/vendor_ruby/puppet/util.rb:292:inblock in thinmark'
/usr/share/ruby/benchmark.rb:308:in realtime' /usr/share/ruby/vendor_ruby/puppet/util.rb:291:inthinmark'
/usr/share/ruby/vendor_ruby/puppet/transaction.rb:147:in block in evaluate' /usr/share/ruby/vendor_ruby/puppet/graph/relationship_graph.rb:118:intraverse'
/usr/share/ruby/vendor_ruby/puppet/transaction.rb:138:in evaluate' /usr/share/gems/gems/kafo-1.0.5/modules/kafo_configure/lib/puppet/parser/functions/add_progress.rb:30:inevaluate_with_trigger'
/usr/share/ruby/vendor_ruby/puppet/resource/catalog.rb:178:in block in apply' /usr/share/ruby/vendor_ruby/puppet/util/log.rb:153:inwith_destination'
/usr/share/ruby/vendor_ruby/puppet/transaction/report.rb:107:in
as_logging_destination' /usr/share/ruby/vendor_ruby/puppet/resource/catalog.rb:177:inapply'
/usr/share/ruby/vendor_ruby/puppet/configurer.rb:119:in block in apply_catalog' /usr/share/ruby/vendor_ruby/puppet/util.rb:129:inblock in benchmark'
/usr/share/ruby/benchmark.rb:308:in realtime' /usr/share/ruby/vendor_ruby/puppet/util.rb:128:inbenchmark'
/usr/share/ruby/vendor_ruby/puppet/configurer.rb:118:in apply_catalog' /usr/share/ruby/vendor_ruby/puppet/configurer.rb:228:inrun_internal'
/usr/share/ruby/vendor_ruby/puppet/configurer.rb:134:in block in run' /usr/share/ruby/vendor_ruby/puppet/context.rb:64:inoverride'
/usr/share/ruby/vendor_ruby/puppet.rb:223:in override' /usr/share/ruby/vendor_ruby/puppet/configurer.rb:133:inrun'
/usr/share/ruby/vendor_ruby/puppet/application/apply.rb:343:in
apply_catalog' /usr/share/ruby/vendor_ruby/puppet/application/apply.rb:274:inblock in
main'
/usr/share/ruby/vendor_ruby/puppet/context.rb:64:in override' /usr/share/ruby/vendor_ruby/puppet.rb:223:inoverride'
/usr/share/ruby/vendor_ruby/puppet/application/apply.rb:225:in main' /usr/share/ruby/vendor_ruby/puppet/application/apply.rb:170:inrun_command'
/usr/share/ruby/vendor_ruby/puppet/application.rb:344:in block in run' /usr/share/ruby/vendor_ruby/puppet/util.rb:446:inexit_on_fail'
/usr/share/ruby/vendor_ruby/puppet/application.rb:344:in run' /usr/share/ruby/vendor_ruby/puppet/util/command_line.rb:128:inrun'
/usr/share/ruby/vendor_ruby/puppet/util/command_line.rb:72:in execute&#39; /usr/bin/puppet:5:in<main>'
Execution of '/usr/sbin/foreman-rake – config -k 'delivery_method' -v
'smtp'' returned 1: 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
/usr/share/gems/gems/activesupport-4.2.5.2/lib/active_support/core_ext/hash/keys.rb:75:in
block in assert_valid_keys&#39; /usr/share/gems/gems/activesupport-4.2.5.2/lib/active_support/core_ext/hash/keys.rb:73:ineach_key'
/usr/share/gems/gems/activesupport-4.2.5.2/lib/active_support/core_ext/hash/keys.rb:73:in
assert_valid_keys&#39; /usr/share/gems/gems/foreman_remote_execution-1.2.2/app/models/remote_execution_feature.rb:23:inregister'
/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; /usr/share/gems/gems/foreman_openscap-0.6.5/lib/foreman_openscap/engine.rb:44:inblock in <class:Engine>'
/usr/share/gems/gems/railties-4.2.5.2/lib/rails/initializable.rb:30:in
instance_exec&#39; /usr/share/gems/gems/railties-4.2.5.2/lib/rails/initializable.rb:30:inrun'
/usr/share/gems/gems/railties-4.2.5.2/lib/rails/initializable.rb:55:in
block in run_initializers&#39; /usr/share/gems/gems/railties-4.2.5.2/lib/rails/initializable.rb:54:inrun_initializers'
/usr/share/gems/gems/railties-4.2.5.2/lib/rails/application.rb:352:in
initialize!&#39; /usr/share/gems/gems/railties-4.2.5.2/lib/rails/railtie.rb:194:inpublic_send'
/usr/share/gems/gems/railties-4.2.5.2/lib/rails/railtie.rb:194:in
method_missing&#39; /usr/share/foreman/config/environment.rb:5:in<top (required)>'
/usr/share/gems/gems/polyglot-0.3.4/lib/polyglot.rb:65:in require&#39; /usr/share/gems/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:274:inblock in require'
/usr/share/gems/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:240:in
load_dependency&#39; /usr/share/gems/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:274:inrequire'
/usr/share/gems/gems/railties-4.2.5.2/lib/rails/application.rb:328:in
require_environment!&#39; /usr/share/gems/gems/railties-4.2.5.2/lib/rails/application.rb:457:inblock in run_tasks_blocks'
Tasks: TOP => config => 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
/usr/share/ruby/vendor_ruby/puppet/util/execution.rb:216:in execute&#39; /usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_config_entry/cli.rb:21:inblock in run_foreman_config'
/usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_config_entry/cli.rb:10:in
chdir&#39; /usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_config_entry/cli.rb:10:inrun_foreman_config'
/usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_config_entry/cli.rb:35:in
run_foreman_config&#39; /usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_config_entry/cli.rb:78:invalue='
/usr/share/ruby/vendor_ruby/puppet/property.rb:178:in call_provider&#39; /usr/share/ruby/vendor_ruby/puppet/property.rb:441:inset'
/usr/share/ruby/vendor_ruby/puppet/property.rb:501:in sync&#39; /usr/share/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:209:insync'
/usr/share/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:134:in
sync_if_needed&#39; /usr/share/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:89:inblock in perform_changes'
/usr/share/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:88:in
each&#39; /usr/share/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:88:inperform_changes'
/usr/share/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:20:in
evaluate&#39; /usr/share/ruby/vendor_ruby/puppet/transaction.rb:204:inapply'
/usr/share/ruby/vendor_ruby/puppet/transaction.rb:220:in eval_resource&#39; /usr/share/ruby/vendor_ruby/puppet/transaction.rb:147:incall'
/usr/share/ruby/vendor_ruby/puppet/transaction.rb:147:in block (2 levels) in evaluate&#39; /usr/share/ruby/vendor_ruby/puppet/util.rb:292:inblock in thinmark'
/usr/share/ruby/benchmark.rb:308:in realtime&#39; /usr/share/ruby/vendor_ruby/puppet/util.rb:291:inthinmark'
/usr/share/ruby/vendor_ruby/puppet/transaction.rb:147:in block in evaluate&#39; /usr/share/ruby/vendor_ruby/puppet/graph/relationship_graph.rb:118:intraverse'
/usr/share/ruby/vendor_ruby/puppet/transaction.rb:138:in evaluate&#39; /usr/share/gems/gems/kafo-1.0.5/modules/kafo_configure/lib/puppet/parser/functions/add_progress.rb:30:inevaluate_with_trigger'
/usr/share/ruby/vendor_ruby/puppet/resource/catalog.rb:178:in block in apply&#39; /usr/share/ruby/vendor_ruby/puppet/util/log.rb:153:inwith_destination'
/usr/share/ruby/vendor_ruby/puppet/transaction/report.rb:107:in
as_logging_destination&#39; /usr/share/ruby/vendor_ruby/puppet/resource/catalog.rb:177:inapply'
/usr/share/ruby/vendor_ruby/puppet/configurer.rb:119:in block in apply_catalog&#39; /usr/share/ruby/vendor_ruby/puppet/util.rb:129:inblock in benchmark'
/usr/share/ruby/benchmark.rb:308:in realtime&#39; /usr/share/ruby/vendor_ruby/puppet/util.rb:128:inbenchmark'
/usr/share/ruby/vendor_ruby/puppet/configurer.rb:118:in apply_catalog&#39; /usr/share/ruby/vendor_ruby/puppet/configurer.rb:228:inrun_internal'
/usr/share/ruby/vendor_ruby/puppet/configurer.rb:134:in block in run&#39; /usr/share/ruby/vendor_ruby/puppet/context.rb:64:inoverride'
/usr/share/ruby/vendor_ruby/puppet.rb:223:in override&#39; /usr/share/ruby/vendor_ruby/puppet/configurer.rb:133:inrun'
/usr/share/ruby/vendor_ruby/puppet/application/apply.rb:343:in
apply_catalog&#39; /usr/share/ruby/vendor_ruby/puppet/application/apply.rb:274:inblock in
main'
/usr/share/ruby/vendor_ruby/puppet/context.rb:64:in override&#39; /usr/share/ruby/vendor_ruby/puppet.rb:223:inoverride'
/usr/share/ruby/vendor_ruby/puppet/application/apply.rb:225:in main&#39; /usr/share/ruby/vendor_ruby/puppet/application/apply.rb:170:inrun_command'
/usr/share/ruby/vendor_ruby/puppet/application.rb:344:in block in run&#39; /usr/share/ruby/vendor_ruby/puppet/util.rb:446:inexit_on_fail'
/usr/share/ruby/vendor_ruby/puppet/application.rb:344:in run&#39; /usr/share/ruby/vendor_ruby/puppet/util/command_line.rb:128:inrun'
/usr/share/ruby/vendor_ruby/puppet/util/command_line.rb:72:in execute&#39; /usr/bin/puppet:5:in<main>'
/Stage[main]/Foreman::Settings/Foreman_config_entry[delivery_method]/value:
change from to smtp failed: Execution of '/usr/sbin/foreman-rake – config
-k 'delivery_method' -v 'smtp'' returned 1: 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
/usr/share/gems/gems/activesupport-4.2.5.2/lib/active_support/core_ext/hash/keys.rb:75:in
block in assert_valid_keys&#39; /usr/share/gems/gems/activesupport-4.2.5.2/lib/active_support/core_ext/hash/keys.rb:73:ineach_key'
/usr/share/gems/gems/activesupport-4.2.5.2/lib/active_support/core_ext/hash/keys.rb:73:in
assert_valid_keys&#39; /usr/share/gems/gems/foreman_remote_execution-1.2.2/app/models/remote_execution_feature.rb:23:inregister'
/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; /usr/share/gems/gems/foreman_openscap-0.6.5/lib/foreman_openscap/engine.rb:44:inblock in <class:Engine>'
/usr/share/gems/gems/railties-4.2.5.2/lib/rails/initializable.rb:30:in
instance_exec&#39; /usr/share/gems/gems/railties-4.2.5.2/lib/rails/initializable.rb:30:inrun'
/usr/share/gems/gems/railties-4.2.5.2/lib/rails/initializable.rb:55:in
block in run_initializers&#39; /usr/share/gems/gems/railties-4.2.5.2/lib/rails/initializable.rb:54:inrun_initializers'
/usr/share/gems/gems/railties-4.2.5.2/lib/rails/application.rb:352:in
initialize!&#39; /usr/share/gems/gems/railties-4.2.5.2/lib/rails/railtie.rb:194:inpublic_send'
/usr/share/gems/gems/railties-4.2.5.2/lib/rails/railtie.rb:194:in
method_missing&#39; /usr/share/foreman/config/environment.rb:5:in<top (required)>'
/usr/share/gems/gems/polyglot-0.3.4/lib/polyglot.rb:65:in require&#39; /usr/share/gems/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:274:inblock in require'
/usr/share/gems/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:240:in
load_dependency&#39; /usr/share/gems/gems/activesupport-4.2.5.2/lib/active_support/dependencies.rb:274:inrequire'
/usr/share/gems/gems/railties-4.2.5.2/lib/rails/application.rb:328:in
require_environment!&#39; /usr/share/gems/gems/railties-4.2.5.2/lib/rails/application.rb:457:inblock in run_tasks_blocks'
Tasks: TOP => config => 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
Execution of '/usr/sbin/foreman-rake – config -k 'smtp_address' -v
'smtp.gmail.com'' returned 1: 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
/usr/share/gems/gems/activesupport-4.2.5.2/lib/active_support/core_ext/hash/keys.rb:75:in
block in assert_valid_keys&#39; /usr/share/gems/gems/activesupport-4.2.5.2/lib/active_support/core_ext/hash/keys.rb:73:ineach_key'
/usr/share/gems/gems/activesupport-4.2.5.2/lib/active_support/core_ext/hash/keys.rb:73:in
assert_valid_keys&#39; /usr/share/gems/gems/foreman_remote_execution-1.2.2/app/models/remote_execution_feature.rb:23:inregister'
/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; /usr/share/gems/gems/foreman_openscap-0.6.5/lib/foreman_openscap/engine.rb:44:inblock in <class:Engine>'
/usr/share/gems/gems/railties-4.2.5.2/lib/rails/initializable.rb:30:in
instance_exec&#39; /usr/share/gems/gems/railties-4.2.5.2/lib/rails/initializable.rb:30:inrun'
/usr/share/gems/gems/railties-4.2.5.2/lib/rails/initializable.rb:55:in
block in run_initializers&#39; /usr/share/gems/gems/railties-4.2.5.2/lib/rails/initializable.rb:54:inrun_initializers'
/usr/share/gems/gems/railties-4.2.5.2/lib/rails/application.rb:352:in
`ini

> Execution of '/usr/sbin/foreman-rake – config -k 'delivery_method' -v
> 'smtp'' returned 1: 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
[…]
> /usr/share/gems/gems/foreman_remote_execution-1.2.2/app/models/remote_execution_feature.rb:23:in
> register&#39; &gt; /usr/share/gems/gems/foreman_openscap-0.6.5/lib/foreman_openscap/engine.rb:159:in &gt;block (2 levels) in <class:Engine>'

This is probably a bug in the plugins above, foreman_openscap and/or
foreman_remote_execution, so please report it in their bug tracker.

In the meantime you may be able to remove or downgrade one of the two
plugins (e.g. foreman_openscap).

··· On 23/03/17 07:33, IJERE UDE IJERE wrote:


Dominic Cleal
dominic@cleal.org