Closed moemilan closed 5 years ago
Getting the following error after installing the foreman_abrt plugin in Satellite 6.4.1 with Foreman 1.18
Web application could not be started undefined method before_filter' for AbrtReportsController:Class Did you mean? before_action (NoMethodError) /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_abrt-0.0.7/app/controllers/abrt_reports_controller.rb:5:in' /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_abrt-0.0.7/app/controllers/abrt_reports_controller.rb:1:in <top (required)>' /opt/rh/rh-ruby24/root/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:inrequire' /opt/rh/rh-ruby24/root/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in require' /opt/theforeman/tfm/root/usr/share/gems/gems/polyglot-0.3.5/lib/polyglot.rb:65:inrequire' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/dependencies.rb:292:in block in require' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/dependencies.rb:258:inload_dependency' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/dependencies.rb:292:in require' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/dependencies.rb:379:inblock in require_or_load' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/dependencies.rb:36:in block in load_interlock' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/dependencies/interlock.rb:12:inblock in loading' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/concurrency/share_lock.rb:149:in exclusive' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/dependencies/interlock.rb:11:inloading' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/dependencies.rb:36:in load_interlock' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/dependencies.rb:357:inrequire_or_load' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/dependencies.rb:335:in depend_on' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/dependencies.rb:251:inrequire_dependency' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/engine.rb:476:in block (2 levels) in eager_load!' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/engine.rb:475:ineach' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/engine.rb:475:in block in eager_load!' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/engine.rb:473:ineach' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/engine.rb:473:in eager_load!' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/engine.rb:354:ineager_load!' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/application/finisher.rb:67:in each' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/application/finisher.rb:67:inblock in ' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/initializable.rb:30:in instance_exec' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/initializable.rb:30:inrun' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/initializable.rb:59:in block in run_initializers' /opt/rh/rh-ruby24/root/usr/share/ruby/tsort.rb:228:inblock in tsort_each' /opt/rh/rh-ruby24/root/usr/share/ruby/tsort.rb:350:in block (2 levels) in each_strongly_connected_component' /opt/rh/rh-ruby24/root/usr/share/ruby/tsort.rb:422:inblock (2 levels) in each_strongly_connected_component_from' /opt/rh/rh-ruby24/root/usr/share/ruby/tsort.rb:422:in block (2 levels) in each_strongly_connected_component_from' /opt/rh/rh-ruby24/root/usr/share/ruby/tsort.rb:431:ineach_strongly_connected_component_from' /opt/rh/rh-ruby24/root/usr/share/ruby/tsort.rb:421:in block in each_strongly_connected_component_from' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/initializable.rb:48:ineach' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/initializable.rb:48:in tsort_each_child' /opt/rh/rh-ruby24/root/usr/share/ruby/tsort.rb:415:incall' /opt/rh/rh-ruby24/root/usr/share/ruby/tsort.rb:415:in each_strongly_connected_component_from' /opt/rh/rh-ruby24/root/usr/share/ruby/tsort.rb:421:inblock in each_strongly_connected_component_from' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/initializable.rb:48:in each' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/initializable.rb:48:intsort_each_child' /opt/rh/rh-ruby24/root/usr/share/ruby/tsort.rb:415:in call' /opt/rh/rh-ruby24/root/usr/share/ruby/tsort.rb:415:ineach_strongly_connected_component_from' /opt/rh/rh-ruby24/root/usr/share/ruby/tsort.rb:349:in block in each_strongly_connected_component' /opt/rh/rh-ruby24/root/usr/share/ruby/tsort.rb:347:ineach' /opt/rh/rh-ruby24/root/usr/share/ruby/tsort.rb:347:in call' /opt/rh/rh-ruby24/root/usr/share/ruby/tsort.rb:347:ineach_strongly_connected_component' /opt/rh/rh-ruby24/root/usr/share/ruby/tsort.rb:226:in tsort_each' /opt/rh/rh-ruby24/root/usr/share/ruby/tsort.rb:205:intsort_each' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/initializable.rb:58:in run_initializers' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/application.rb:353:ininitialize!' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/railtie.rb:185:in public_send' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/railtie.rb:185:inmethod_missing' /usr/share/foreman/config/environment.rb:5:in <top (required)>' /opt/rh/rh-ruby24/root/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:inrequire' /opt/rh/rh-ruby24/root/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in require' config.ru:5:inblock in ' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/rack-2.0.3/lib/rack/builder.rb:55:in instance_eval' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/rack-2.0.3/lib/rack/builder.rb:55:ininitialize' config.ru:1:in new' config.ru:1:in' /usr/share/gems/gems/passenger-4.0.18/helper-scripts/rack-preloader.rb:105:in eval' /usr/share/gems/gems/passenger-4.0.18/helper-scripts/rack-preloader.rb:105:inpreload_app' /usr/share/gems/gems/passenger-4.0.18/helper-scripts/rack-preloader.rb:150:in <module:App>' /usr/share/gems/gems/passenger-4.0.18/helper-scripts/rack-preloader.rb:29:in' /usr/share/gems/gems/passenger-4.0.18/helper-scripts/rack-preloader.rb:28:in `' Application root /usr/share/foreman Environment (value of RAILS_ENV, RACK_ENV, WSGI_ENV and PASSENGER_ENV) production Ruby interpreter command /usr/bin/tfm-ruby User and groups uid=996(foreman) gid=995(foreman) groups=995(foreman),52(puppet),996(qpidd) context=system_u:system_r:passenger_t:s0
before_filter' for AbrtReportsController:Class Did you mean? before_action (NoMethodError) /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_abrt-0.0.7/app/controllers/abrt_reports_controller.rb:5:in
<top (required)>' /opt/rh/rh-ruby24/root/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in
require' /opt/theforeman/tfm/root/usr/share/gems/gems/polyglot-0.3.5/lib/polyglot.rb:65:in
block in require' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/dependencies.rb:258:in
require' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/dependencies.rb:379:in
block in load_interlock' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/dependencies/interlock.rb:12:in
exclusive' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/dependencies/interlock.rb:11:in
load_interlock' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/dependencies.rb:357:in
depend_on' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/dependencies.rb:251:in
block (2 levels) in eager_load!' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/engine.rb:475:in
block in eager_load!' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/engine.rb:473:in
eager_load!' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/engine.rb:354:in
each' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/application/finisher.rb:67:in
instance_exec' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/initializable.rb:30:in
block in run_initializers' /opt/rh/rh-ruby24/root/usr/share/ruby/tsort.rb:228:in
block (2 levels) in each_strongly_connected_component' /opt/rh/rh-ruby24/root/usr/share/ruby/tsort.rb:422:in
block (2 levels) in each_strongly_connected_component_from' /opt/rh/rh-ruby24/root/usr/share/ruby/tsort.rb:431:in
block in each_strongly_connected_component_from' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/initializable.rb:48:in
tsort_each_child' /opt/rh/rh-ruby24/root/usr/share/ruby/tsort.rb:415:in
each_strongly_connected_component_from' /opt/rh/rh-ruby24/root/usr/share/ruby/tsort.rb:421:in
each' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/initializable.rb:48:in
call' /opt/rh/rh-ruby24/root/usr/share/ruby/tsort.rb:415:in
block in each_strongly_connected_component' /opt/rh/rh-ruby24/root/usr/share/ruby/tsort.rb:347:in
call' /opt/rh/rh-ruby24/root/usr/share/ruby/tsort.rb:347:in
tsort_each' /opt/rh/rh-ruby24/root/usr/share/ruby/tsort.rb:205:in
run_initializers' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/application.rb:353:in
public_send' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/railtie.rb:185:in
require' config.ru:5:in
instance_eval' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/rack-2.0.3/lib/rack/builder.rb:55:in
new' config.ru:1:in
eval' /usr/share/gems/gems/passenger-4.0.18/helper-scripts/rack-preloader.rb:105:in
<module:App>' /usr/share/gems/gems/passenger-4.0.18/helper-scripts/rack-preloader.rb:29:in
Hello, this plugin has been deprecated in favor of Red Hat Insights. It's no longer compatible with Foreman or Satellite.
Getting the following error after installing the foreman_abrt plugin in Satellite 6.4.1 with Foreman 1.18
Web application could not be started undefined method'
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_abrt-0.0.7/app/controllers/abrt_reports_controller.rb:1:in '
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/initializable.rb:30:in '
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/rack-2.0.3/lib/rack/builder.rb:55:in '
/usr/share/gems/gems/passenger-4.0.18/helper-scripts/rack-preloader.rb:105:in '
/usr/share/gems/gems/passenger-4.0.18/helper-scripts/rack-preloader.rb:28:in `'
Application root
/usr/share/foreman
Environment (value of RAILS_ENV, RACK_ENV, WSGI_ENV and PASSENGER_ENV)
production
Ruby interpreter command
/usr/bin/tfm-ruby
User and groups
uid=996(foreman) gid=995(foreman) groups=995(foreman),52(puppet),996(qpidd) context=system_u:system_r:passenger_t:s0
before_filter' for AbrtReportsController:Class Did you mean? before_action (NoMethodError) /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_abrt-0.0.7/app/controllers/abrt_reports_controller.rb:5:in
<top (required)>' /opt/rh/rh-ruby24/root/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in
require' /opt/rh/rh-ruby24/root/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:inrequire' /opt/theforeman/tfm/root/usr/share/gems/gems/polyglot-0.3.5/lib/polyglot.rb:65:in
require' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/dependencies.rb:292:inblock in require' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/dependencies.rb:258:in
load_dependency' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/dependencies.rb:292:inrequire' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/dependencies.rb:379:in
block in require_or_load' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/dependencies.rb:36:inblock in load_interlock' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/dependencies/interlock.rb:12:in
block in loading' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/concurrency/share_lock.rb:149:inexclusive' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/dependencies/interlock.rb:11:in
loading' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/dependencies.rb:36:inload_interlock' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/dependencies.rb:357:in
require_or_load' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/dependencies.rb:335:independ_on' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/dependencies.rb:251:in
require_dependency' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/engine.rb:476:inblock (2 levels) in eager_load!' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/engine.rb:475:in
each' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/engine.rb:475:inblock in eager_load!' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/engine.rb:473:in
each' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/engine.rb:473:ineager_load!' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/engine.rb:354:in
eager_load!' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/application/finisher.rb:67:ineach' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/application/finisher.rb:67:in
block ininstance_exec' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/initializable.rb:30:in
run' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/initializable.rb:59:inblock in run_initializers' /opt/rh/rh-ruby24/root/usr/share/ruby/tsort.rb:228:in
block in tsort_each' /opt/rh/rh-ruby24/root/usr/share/ruby/tsort.rb:350:inblock (2 levels) in each_strongly_connected_component' /opt/rh/rh-ruby24/root/usr/share/ruby/tsort.rb:422:in
block (2 levels) in each_strongly_connected_component_from' /opt/rh/rh-ruby24/root/usr/share/ruby/tsort.rb:422:inblock (2 levels) in each_strongly_connected_component_from' /opt/rh/rh-ruby24/root/usr/share/ruby/tsort.rb:431:in
each_strongly_connected_component_from' /opt/rh/rh-ruby24/root/usr/share/ruby/tsort.rb:421:inblock in each_strongly_connected_component_from' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/initializable.rb:48:in
each' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/initializable.rb:48:intsort_each_child' /opt/rh/rh-ruby24/root/usr/share/ruby/tsort.rb:415:in
call' /opt/rh/rh-ruby24/root/usr/share/ruby/tsort.rb:415:ineach_strongly_connected_component_from' /opt/rh/rh-ruby24/root/usr/share/ruby/tsort.rb:421:in
block in each_strongly_connected_component_from' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/initializable.rb:48:ineach' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/initializable.rb:48:in
tsort_each_child' /opt/rh/rh-ruby24/root/usr/share/ruby/tsort.rb:415:incall' /opt/rh/rh-ruby24/root/usr/share/ruby/tsort.rb:415:in
each_strongly_connected_component_from' /opt/rh/rh-ruby24/root/usr/share/ruby/tsort.rb:349:inblock in each_strongly_connected_component' /opt/rh/rh-ruby24/root/usr/share/ruby/tsort.rb:347:in
each' /opt/rh/rh-ruby24/root/usr/share/ruby/tsort.rb:347:incall' /opt/rh/rh-ruby24/root/usr/share/ruby/tsort.rb:347:in
each_strongly_connected_component' /opt/rh/rh-ruby24/root/usr/share/ruby/tsort.rb:226:intsort_each' /opt/rh/rh-ruby24/root/usr/share/ruby/tsort.rb:205:in
tsort_each' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/initializable.rb:58:inrun_initializers' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/application.rb:353:in
initialize!' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/railtie.rb:185:inpublic_send' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/railtie.rb:185:in
method_missing' /usr/share/foreman/config/environment.rb:5:in<top (required)>' /opt/rh/rh-ruby24/root/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in
require' /opt/rh/rh-ruby24/root/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:inrequire' config.ru:5:in
block ininstance_eval' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/rack-2.0.3/lib/rack/builder.rb:55:in
initialize' config.ru:1:innew' config.ru:1:in
eval' /usr/share/gems/gems/passenger-4.0.18/helper-scripts/rack-preloader.rb:105:in
preload_app' /usr/share/gems/gems/passenger-4.0.18/helper-scripts/rack-preloader.rb:150:in<module:App>' /usr/share/gems/gems/passenger-4.0.18/helper-scripts/rack-preloader.rb:29:in