Project

General

Profile

Actions

Bug #22649

closed

foreman-remote-execution plugin breaks 1.17 install

Added by Philip Panin about 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

After installing foreman-remote-execution the whole service crashes with following errors:

App 3485 stdout:
[ 2018-02-21 23:56:49.2641 3303/7fe0900dd700 age/Cor/App/Implementation.cpp:304 ]: Could not spawn process for application /usr/share/foreman: An error occurred while starting up the preloader.
  Error ID: ad758f07
  Error details saved to: /tmp/passenger-error-EoKvqp.html
  Message from application: uninitialized constant UINotifications::Base (NameError)
  /usr/share/foreman/vendor/ruby/2.3.0/gems/foreman_hooks-0.3.14/lib/foreman_hooks/as_dependencies_hook.rb:4:in `load_missing_constant'
  /usr/share/foreman/vendor/ruby/2.3.0/gems/foreman_remote_execution-1.4.5/app/services/ui_notifications/remote_execution_jobs/base_job_finish.rb:3:in `<module:RemoteExecutionJobs>'
  /usr/share/foreman/vendor/ruby/2.3.0/gems/foreman_remote_execution-1.4.5/app/services/ui_notifications/remote_execution_jobs/base_job_finish.rb:2:in `<module:UINotifications>'
  /usr/share/foreman/vendor/ruby/2.3.0/gems/foreman_remote_execution-1.4.5/app/services/ui_notifications/remote_execution_jobs/base_job_finish.rb:1:in `<top (required)>'  /usr/share/foreman/vendor/ruby/2.3.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
  /usr/share/foreman/vendor/ruby/2.3.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
  /usr/share/foreman/vendor/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies/interlock.rb:12:in `block in loading'
  /usr/share/foreman/vendor/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/concurrency/share_lock.rb:149:in `exclusive'
  /usr/share/foreman/vendor/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies/interlock.rb:11:in `loading'
  /usr/share/foreman/vendor/ruby/2.3.0/gems/railties-5.1.4/lib/rails/engine.rb:476:in `block (2 levels) in eager_load!'
  /usr/share/foreman/vendor/ruby/2.3.0/gems/railties-5.1.4/lib/rails/engine.rb:475:in `each'
  /usr/share/foreman/vendor/ruby/2.3.0/gems/railties-5.1.4/lib/rails/engine.rb:475:in `block in eager_load!'
  /usr/share/foreman/vendor/ruby/2.3.0/gems/railties-5.1.4/lib/rails/engine.rb:473:in `each'
  /usr/share/foreman/vendor/ruby/2.3.0/gems/railties-5.1.4/lib/rails/engine.rb:473:in `eager_load!'
  /usr/share/foreman/vendor/ruby/2.3.0/gems/railties-5.1.4/lib/rails/engine.rb:354:in `eager_load!'
  /usr/share/foreman/vendor/ruby/2.3.0/gems/railties-5.1.4/lib/rails/application/finisher.rb:67:in `each'
  /usr/share/foreman/vendor/ruby/2.3.0/gems/railties-5.1.4/lib/rails/application/finisher.rb:67:in `block in <module:Finisher>'
  /usr/share/foreman/vendor/ruby/2.3.0/gems/railties-5.1.4/lib/rails/initializable.rb:30:in `instance_exec'
  /usr/share/foreman/vendor/ruby/2.3.0/gems/railties-5.1.4/lib/rails/initializable.rb:30:in `run'
  /usr/share/foreman/vendor/ruby/2.3.0/gems/railties-5.1.4/lib/rails/initializable.rb:59:in `block in run_initializers'
  /usr/lib/ruby/2.3.0/tsort.rb:228:in `block in tsort_each'
  /usr/lib/ruby/2.3.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
  /usr/lib/ruby/2.3.0/tsort.rb:431:in `each_strongly_connected_component_from'
  /usr/lib/ruby/2.3.0/tsort.rb:349:in `block in each_strongly_connected_component'
  /usr/lib/ruby/2.3.0/tsort.rb:347:in `each'
  /usr/lib/ruby/2.3.0/tsort.rb:347:in `call'
  /usr/lib/ruby/2.3.0/tsort.rb:347:in `each_strongly_connected_component'
  /usr/lib/ruby/2.3.0/tsort.rb:226:in `tsort_each'
  /usr/lib/ruby/2.3.0/tsort.rb:205:in `tsort_each'
  /usr/share/foreman/vendor/ruby/2.3.0/gems/railties-5.1.4/lib/rails/initializable.rb:58:in `run_initializers'
  /usr/share/foreman/vendor/ruby/2.3.0/gems/railties-5.1.4/lib/rails/application.rb:353:in `initialize!'
  /usr/share/foreman/vendor/ruby/2.3.0/gems/railties-5.1.4/lib/rails/railtie.rb:185:in `public_send'
  /usr/share/foreman/vendor/ruby/2.3.0/gems/railties-5.1.4/lib/rails/railtie.rb:185:in `method_missing'
  /usr/share/foreman/config/environment.rb:5:in `<top (required)>'
  config.ru:3:in `require'
  config.ru:3:in `block in <main>'
  /usr/share/foreman/vendor/ruby/2.3.0/gems/rack-2.0.4/lib/rack/builder.rb:55:in `instance_eval'
  /usr/share/foreman/vendor/ruby/2.3.0/gems/rack-2.0.4/lib/rack/builder.rb:55:in `initialize'
  config.ru:1:in `new'
  config.ru:1:in `<main>'
  /usr/share/passenger/helper-scripts/rack-preloader.rb:110:in `eval'
  /usr/share/passenger/helper-scripts/rack-preloader.rb:110:in `preload_app'
  /usr/share/passenger/helper-scripts/rack-preloader.rb:156:in `<module:App>'
  /usr/share/passenger/helper-scripts/rack-preloader.rb:30:in `<module:PhusionPassenger>'
  /usr/share/passenger/helper-scripts/rack-preloader.rb:29:in `<main>'

[ 2018-02-21 23:56:49.2722 3303/7fe06bfff700 age/Cor/Con/CheckoutSession.cpp:285 ]: [Client 4-1] Cannot checkout session because a spawning error occurred. The identifier of the error is ad758f07. Please see earlier logs for details about the error.
[Wed Feb 21 23:57:50.677164 2018] [mpm_worker:notice] [pid 3298:tid 139887578137792] AH00295: caught SIGTERM, shutting down
[

Related issues 1 (0 open1 closed)

Related to Foreman - Refactor #22489: UINotifications::Base lives in wrong fileClosedMarek Hulán02/02/2018Actions
Actions #1

Updated by Philip Panin about 6 years ago

Workaround is to delete plugin - everything comes back to normal then.

Actions #2

Updated by Ondřej Pražák about 6 years ago

  • Project changed from Foreman to Foreman Remote Execution
Actions #3

Updated by Anonymous about 6 years ago

  • Priority changed from Urgent to High

Is #22489 in 1.17 core? If not, it should get cherry-picked, I presume.

Actions #4

Updated by Marek Hulán about 6 years ago

It's not in 1.17 but it seems it should be
This is not REX bug, so after we CP the fix into 1.17, it should be closed.

Actions #6

Updated by Ondřej Pražák about 6 years ago

  • Related to Refactor #22489: UINotifications::Base lives in wrong file added
Actions #7

Updated by Ivan Necas about 6 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF