Project

General

Profile

Actions

Bug #13347

closed

unable to use rex

Added by Ohad Levy almost 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

2016-01-25T08:23:40 [app] [I] Started GET "/job_invocations" for 10.35.3.43 at 2016-01-25 08:23:40 +0000
2016-01-25T08:23:40 [app] [I] Processing by JobInvocationsController#index as HTML
2016-01-25T08:23:40 [app] [I]   Rendered /home/foreman/gems/bundler/gems/foreman_remote_execution-079e7cbf8093/app/views/job_invocations/index.html.erb within layouts/application (4.6ms)
2016-01-25T08:23:40 [app] [W] Action failed
 | NameError: uninitialized constant ForemanRemoteExecution::VERSION
 | /home/foreman/gems/bundler/gems/foreman_remote_execution-079e7cbf8093/app/helpers/remote_execution_helper.rb:200:in `documentation_button_rex'
 | /home/foreman/gems/bundler/gems/foreman_remote_execution-079e7cbf8093/app/helpers/remote_execution_helper.rb:96:in `job_invocations_buttons'
 | /home/foreman/gems/bundler/gems/foreman_remote_execution-079e7cbf8093/app/views/job_invocations/index.html.erb:3:in `_a2f8eae9971464dea7301a85d8922efd'
 | /home/foreman/gems/gems/actionview-4.1.5/lib/action_view/template.rb:145:in `block in render'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/notifications.rb:161:in `instrument'
 | /home/foreman/gems/gems/actionview-4.1.5/lib/action_view/template.rb:339:in `instrument'
 | /home/foreman/gems/gems/actionview-4.1.5/lib/action_view/template.rb:143:in `render'
 | /home/foreman/gems/gems/deface-1.0.2/lib/deface/action_view_extensions.rb:41:in `render'
 | /home/foreman/gems/gems/actionview-4.1.5/lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template'
 | /home/foreman/gems/gems/actionview-4.1.5/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/notifications.rb:159:in `block in instrument'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/notifications.rb:159:in `instrument'
 | /home/foreman/gems/gems/actionview-4.1.5/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
 | /home/foreman/gems/gems/actionview-4.1.5/lib/action_view/renderer/template_renderer.rb:54:in `block in render_template'
 | /home/foreman/gems/gems/actionview-4.1.5/lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout'
 | /home/foreman/gems/gems/actionview-4.1.5/lib/action_view/renderer/template_renderer.rb:53:in `render_template'
 | /home/foreman/gems/gems/actionview-4.1.5/lib/action_view/renderer/template_renderer.rb:17:in `render'
 | /home/foreman/gems/gems/actionview-4.1.5/lib/action_view/renderer/renderer.rb:42:in `render_template'
 | /home/foreman/gems/gems/actionview-4.1.5/lib/action_view/renderer/renderer.rb:23:in `render'
 | /home/foreman/gems/gems/actionview-4.1.5/lib/action_view/rendering.rb:99:in `_render_template'
 | /home/foreman/gems/gems/actionpack-4.1.5/lib/action_controller/metal/streaming.rb:217:in `_render_template'
 | /home/foreman/gems/gems/actionview-4.1.5/lib/action_view/rendering.rb:82:in `render_to_body'
 | /home/foreman/gems/gems/actionpack-4.1.5/lib/action_controller/metal/rendering.rb:32:in `render_to_body'
 | /home/foreman/gems/gems/actionpack-4.1.5/lib/action_controller/metal/renderers.rb:32:in `render_to_body'
 | /home/foreman/gems/gems/actionpack-4.1.5/lib/abstract_controller/rendering.rb:25:in `render'
 | /home/foreman/gems/gems/actionpack-4.1.5/lib/action_controller/metal/rendering.rb:16:in `render'
 | /home/foreman/gems/gems/actionpack-4.1.5/lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
 | /opt/rh/rh-ruby22/root/usr/share/ruby/benchmark.rb:303:in `realtime'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/core_ext/benchmark.rb:12:in `ms'
 | /home/foreman/gems/gems/actionpack-4.1.5/lib/action_controller/metal/instrumentation.rb:41:in `block in render'
 | /home/foreman/gems/gems/actionpack-4.1.5/lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
 | /home/foreman/gems/gems/activerecord-4.1.5/lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
 | /home/foreman/gems/gems/actionpack-4.1.5/lib/action_controller/metal/instrumentation.rb:40:in `render'
 | /home/foreman/gems/gems/actionpack-4.1.5/lib/action_controller/metal/implicit_render.rb:10:in `default_render'
 | /home/foreman/gems/gems/actionpack-4.1.5/lib/action_controller/metal/implicit_render.rb:5:in `send_action'
 | /home/foreman/gems/gems/actionpack-4.1.5/lib/abstract_controller/base.rb:189:in `process_action'
 | /home/foreman/gems/gems/actionpack-4.1.5/lib/action_controller/metal/rendering.rb:10:in `process_action'
 | /home/foreman/gems/gems/actionpack-4.1.5/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:113:in `call'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:113:in `call'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:149:in `call'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:149:in `call'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:299:in `call'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:299:in `block (2 levels) in halting'
 | /home/foreman/gems/gems/rails-observers-0.1.2/lib/rails/observers/action_controller/caching/sweeping.rb:73:in `around'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:447:in `public_send'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:447:in `block in make_lambda'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:298:in `call'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:298:in `block in halting'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:299:in `call'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:299:in `block (2 levels) in halting'
 | /home/foreman/git/foreman/app/controllers/concerns/application_shared.rb:13:in `set_timezone'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:424:in `block in make_lambda'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:298:in `call'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:298:in `block in halting'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:149:in `call'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `call'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `block in halting'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `call'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `block in halting'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `call'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `block in halting'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `call'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `block in halting'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:149:in `call'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:149:in `call'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `call'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `block in halting'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `call'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `block in halting'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `call'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `block in halting'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:229:in `call'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:229:in `block in halting'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `call'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `block in halting'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `call'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `block in halting'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `call'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `block in halting'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `call'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `block in halting'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `call'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `block in halting'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `call'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `block in halting'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:149:in `call'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:299:in `call'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:299:in `block (2 levels) in halting'
 | /home/foreman/git/foreman/app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:424:in `block in make_lambda'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:298:in `call'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:298:in `block in halting'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:229:in `call'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:229:in `block in halting'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `call'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `block in halting'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `call'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `block in halting'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `call'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `block in halting'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:299:in `call'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:299:in `block (2 levels) in halting'
 | /home/foreman/gems/gems/rails-observers-0.1.2/lib/rails/observers/action_controller/caching/sweeping.rb:73:in `around'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:447:in `public_send'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:447:in `block in make_lambda'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:298:in `call'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:298:in `block in halting'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `call'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `block in halting'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:86:in `call'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:86:in `run_callbacks'
 | /home/foreman/gems/gems/actionpack-4.1.5/lib/abstract_controller/callbacks.rb:19:in `process_action'
 | /home/foreman/gems/gems/actionpack-4.1.5/lib/action_controller/metal/rescue.rb:29:in `process_action'
 | /home/foreman/gems/gems/actionpack-4.1.5/lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/notifications.rb:159:in `block in instrument'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/notifications.rb:159:in `instrument'
 | /home/foreman/gems/gems/actionpack-4.1.5/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
 | /home/foreman/gems/gems/actionpack-4.1.5/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
 | /home/foreman/gems/gems/activerecord-4.1.5/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
 | /home/foreman/gems/gems/actionpack-4.1.5/lib/abstract_controller/base.rb:136:in `process'
 | /home/foreman/gems/gems/actionview-4.1.5/lib/action_view/rendering.rb:30:in `process'
 | /home/foreman/gems/gems/actionpack-4.1.5/lib/action_controller/metal.rb:196:in `dispatch'
 | /home/foreman/gems/gems/actionpack-4.1.5/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
 | /home/foreman/gems/gems/actionpack-4.1.5/lib/action_controller/metal.rb:232:in `block in action'
 | /home/foreman/gems/gems/actionpack-4.1.5/lib/action_dispatch/routing/route_set.rb:82:in `call'
 | /home/foreman/gems/gems/actionpack-4.1.5/lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
 | /home/foreman/gems/gems/actionpack-4.1.5/lib/action_dispatch/routing/route_set.rb:50:in `call'
 | /home/foreman/gems/gems/actionpack-4.1.5/lib/action_dispatch/journey/router.rb:71:in `block in call'
 | /home/foreman/gems/gems/actionpack-4.1.5/lib/action_dispatch/journey/router.rb:59:in `each'
 | /home/foreman/gems/gems/actionpack-4.1.5/lib/action_dispatch/journey/router.rb:59:in `call'
 | /home/foreman/gems/gems/actionpack-4.1.5/lib/action_dispatch/routing/route_set.rb:678:in `call'
 | /home/foreman/gems/gems/apipie-rails-0.3.5/lib/apipie/static_dispatcher.rb:65:in `call'
 | /home/foreman/gems/gems/apipie-rails-0.3.5/lib/apipie/extractor/recorder.rb:132:in `call'
 | /home/foreman/gems/gems/apipie-rails-0.3.5/lib/apipie/middleware/checksum_in_headers.rb:27:in `call'
 | /home/foreman/gems/gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'
 | /home/foreman/gems/gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'
 | /home/foreman/gems/gems/rack-1.5.5/lib/rack/head.rb:11:in `call'
 | /home/foreman/gems/gems/actionpack-4.1.5/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
 | /home/foreman/git/foreman/lib/middleware/catch_json_parse_errors.rb:9:in `call'
 | /home/foreman/gems/gems/actionpack-4.1.5/lib/action_dispatch/middleware/flash.rb:254:in `call'
 | /home/foreman/gems/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'
 | /home/foreman/gems/gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'
 | /home/foreman/gems/gems/actionpack-4.1.5/lib/action_dispatch/middleware/cookies.rb:560:in `call'
 | /home/foreman/gems/gems/activerecord-4.1.5/lib/active_record/query_cache.rb:36:in `call'
 | /home/foreman/gems/gems/activerecord-4.1.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
 | /home/foreman/gems/gems/actionpack-4.1.5/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:82:in `run_callbacks'
 | /home/foreman/gems/gems/actionpack-4.1.5/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
 | /home/foreman/gems/gems/actionpack-4.1.5/lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
 | /home/foreman/gems/gems/actionpack-4.1.5/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
 | /home/foreman/gems/gems/actionpack-4.1.5/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
 | /home/foreman/gems/gems/railties-4.1.5/lib/rails/rack/logger.rb:38:in `call_app'
 | /home/foreman/gems/gems/railties-4.1.5/lib/rails/rack/logger.rb:22:in `call'
 | /home/foreman/gems/gems/quiet_assets-1.1.0/lib/quiet_assets.rb:27:in `call_with_quiet_assets'
 | /home/foreman/gems/gems/actionpack-4.1.5/lib/action_dispatch/middleware/request_id.rb:21:in `call'
 | /home/foreman/gems/gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'
 | /home/foreman/gems/gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'
 | /home/foreman/gems/gems/activesupport-4.1.5/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
 | /home/foreman/gems/gems/actionpack-4.1.5/lib/action_dispatch/middleware/static.rb:64:in `call'
 | /home/foreman/gems/gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'
 | /home/foreman/gems/gems/railties-4.1.5/lib/rails/engine.rb:514:in `call'
 | /home/foreman/gems/gems/railties-4.1.5/lib/rails/application.rb:144:in `call'
 | /home/foreman/gems/gems/railties-4.1.5/lib/rails/railtie.rb:194:in `public_send'
 | /home/foreman/gems/gems/railties-4.1.5/lib/rails/railtie.rb:194:in `method_missing'
 | /home/foreman/gems/gems/rack-1.5.5/lib/rack/builder.rb:138:in `call'
 | /home/foreman/gems/gems/rack-1.5.5/lib/rack/urlmap.rb:65:in `block in call'
 | /home/foreman/gems/gems/rack-1.5.5/lib/rack/urlmap.rb:50:in `each'
 | /home/foreman/gems/gems/rack-1.5.5/lib/rack/urlmap.rb:50:in `call'
 | /root/.gem/gems/passenger-5.0.7/lib/phusion_passenger/rack/thread_handler_extension.rb:89:in `process_request'
 | /root/.gem/gems/passenger-5.0.7/lib/phusion_passenger/request_handler/thread_handler.rb:149:in `accept_and_process_next_request'
 | /root/.gem/gems/passenger-5.0.7/lib/phusion_passenger/request_handler/thread_handler.rb:110:in `main_loop'
 | /root/.gem/gems/passenger-5.0.7/lib/phusion_passenger/request_handler.rb:414:in `block (3 levels) in start_threads'
 | /root/.gem/gems/passenger-5.0.7/lib/phusion_passenger/utils.rb:111:in `block in create_thread_and_abort_on_exception'
 | /home/foreman/gems/gems/logging-2.0.0/lib/logging/diagnostic_context.rb:448:in `call'
 | /home/foreman/gems/gems/logging-2.0.0/lib/logging/diagnostic_context.rb:448:in `block in create_with_logging_context'
2016-01-25T08:23:40 [app] [I]   Rendered common/500.html.erb within layouts/application (2.8ms)
2016-01-25T08:23:40 [app] [I]   Rendered layouts/_application_content.html.erb (0.4ms)
2016-01-25T08:23:40 [app] [I]   Rendered layouts/base.html.erb (1.8ms)
2016-01-25T08:23:40 [app] [I] Completed 500 Internal Server Error in 32ms (Views: 6.7ms | ActiveRecord: 1.9ms)
Actions

Also available in: Atom PDF