Project

General

Profile

Actions

Bug #20199

closed

Dynflow crash after upgrade Katello 3.4.2

Added by Mario Gamboa almost 7 years ago. Updated almost 6 years ago.

Status:
Feedback
Priority:
Normal
Assignee:
-
Category:
Web UI
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

App 21017 stderr: 2017-07-04 08:26:09 - NoMethodError - undefined method `action_class' for nil:NilClass:
App 21017 stderr: /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.24/web/views/index.erb:23:in `block (2 levels) in singleton class'
App 21017 stderr: /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.24/web/views/index.erb:20:in `each'
App 21017 stderr: /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.24/web/views/index.erb:20:in `block in singleton class'
App 21017 stderr: /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.24/web/views/index.erb:-5:in `instance_eval'
App 21017 stderr: /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.24/web/views/index.erb:-5:in `singleton class'
App 21017 stderr: /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.24/web/views/index.erb:-7:in `__tilt_154154320'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/tilt-1.4.1/lib/tilt/template.rb:170:in `call'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/tilt-1.4.1/lib/tilt/template.rb:170:in `evaluate'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/tilt-1.4.1/lib/tilt/template.rb:103:in `render'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:822:in `render'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:666:in `erb'
App 21017 stderr: /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.24/lib/dynflow/web/console.rb:18:in `block in <class:Console>'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:1610:in `call'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:1610:in `block in compile!'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:974:in `[]'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:974:in `block (3 levels) in route!'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:993:in `route_eval'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:974:in `block (2 levels) in route!'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:1014:in `block in process_route'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:1012:in `catch'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:1012:in `process_route'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:972:in `block in route!'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:971:in `each'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:971:in `route!'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:984:in `route!'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:1084:in `block in dispatch!'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:1066:in `block in invoke'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:1066:in `catch'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:1066:in `invoke'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:1081:in `dispatch!'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:906:in `block in call!'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:1066:in `block in invoke'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:1066:in `catch'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:1066:in `invoke'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:906:in `call!'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:894:in `call'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/xss_header.rb:18:in `call'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/path_traversal.rb:16:in `call'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/json_csrf.rb:18:in `call'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in `call'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in `call'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/frame_options.rb:31:in `call'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/rack-1.6.2/lib/rack/nulllogger.rb:9:in `call'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/rack-1.6.2/lib/rack/head.rb:13:in `call'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:181:in `call'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:2021:in `call'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:1486:in `block in call'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:1795:in `synchronize'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/sinatra-1.4.6/lib/sinatra/base.rb:1486:in `call'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/rack-1.6.2/lib/rack/urlmap.rb:66:in `block in call'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/rack-1.6.2/lib/rack/urlmap.rb:50:in `each'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/rack-1.6.2/lib/rack/urlmap.rb:50:in `call'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_dispatch/routing/mapper.rb:51:in `serve'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_dispatch/journey/router.rb:43:in `block in serve'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_dispatch/journey/router.rb:30:in `each'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_dispatch/journey/router.rb:30:in `serve'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_dispatch/routing/route_set.rb:815:in `call'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/static.rb:116:in `call'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/static.rb:116:in `call'
App 21017 stderr: /opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.4.0/lib/apipie/static_dispatcher.rb:65:in `call'
App 21017 stderr: /opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.4.0/lib/apipie/extractor/recorder.rb:132:in `call'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/static.rb:116:in `call'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/static.rb:116:in `call'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/static.rb:116:in `call'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/static.rb:116:in `call'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/static.rb:116:in `call'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/static.rb:116:in `call'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/static.rb:116:in `call'
App 21017 stderr: /opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.4.0/lib/apipie/middleware/checksum_in_headers.rb:27:in `call'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/rack-1.6.2/lib/rack/etag.rb:24:in `call'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/rack-1.6.2/lib/rack/conditionalget.rb:25:in `call'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/rack-1.6.2/lib/rack/head.rb:13:in `call'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
App 21017 stderr: /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.4.2/lib/katello/params_parser_wrapper.rb:12:in `call'
App 21017 stderr: /usr/share/foreman/lib/middleware/catch_json_parse_errors.rb:8:in `call'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/flash.rb:260:in `call'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/rack-1.6.2/lib/rack/session/abstract/id.rb:225:in `context'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gem
App 21017 stderr: s/rack-1.6.2/lib/rack/session/abstract/id.rb:220:in `call'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/cookies.rb:560:in `call'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/query_cache.rb:36:in `call'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:88:in `__run_callbacks__'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/rack/logger.rb:38:in `call_app'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/rack/logger.rb:22:in `call'
App 21017 stderr: /usr/share/foreman/lib/middleware/tagged_logging.rb:18:in `call'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/request_id.rb:21:in `call'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/rack-1.6.2/lib/rack/methodoverride.rb:22:in `call'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/rack-1.6.2/lib/rack/runtime.rb:18:in `call'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/static.rb:116:in `call'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/rack-1.6.2/lib/rack/sendfile.rb:113:in `call'
App 21017 stderr: /opt/theforeman/tfm/root/usr/share/gems/gems/secure_headers-3.4.1/lib/secure_headers/middleware.rb:12:in `call'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/engine.rb:518:in `call'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/application.rb:165:in `call'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/railtie.rb:194:in `public_send'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/railtie.rb:194:in `method_missing'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/rack-1.6.2/lib/rack/urlmap.rb:66:in `block in call'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/rack-1.6.2/lib/rack/urlmap.rb:50:in `each'
App 21017 stderr: /opt/rh/sclo-ror42/root/usr/share/gems/gems/rack-1.6.2/lib/rack/urlmap.rb:50:in `call'
App 21017 stderr: /usr/share/passenger/phusion_passenger/rack/thread_handler_extension.rb:74:in `process_request'
App 21017 stderr: /usr/share/passenger/phusion_passenger/request_handler/thread_handler.rb:141:in `accept_and_process_next_request'
App 21017 stderr: /usr/share/passenger/phusion_passenger/request_handler/thread_handler.rb:109:in `main_loop'
App 21017 stderr: /usr/share/passenger/phusion_passenger/request_handler.rb:455:in `block (3 levels) in start_threads'
App 21017 stderr: /opt/theforeman/tfm/root/usr/share/gems/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:323:in `call'
App 21017 stderr: /opt/theforeman/tfm/root/usr/share/gems/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:323:in `block in create_with_logging_context'

Actions #1

Updated by Mario Gamboa almost 7 years ago

as workaround enable the dynflow_alloow_dangerous_actions and the webpage is back in bussiness

dynflow_allow_dangerous_actions Yes Allow unlocking actions which can have dangerous consequences.

Actions #2

Updated by Justin Sherrill almost 7 years ago

  • Status changed from New to Need more information

Can you provide any ideas on how to reproduce this?

Actions #3

Updated by Justin Sherrill almost 7 years ago

  • Priority changed from High to Normal
Actions #4

Updated by Mario Gamboa almost 7 years ago

i just upgrade from 3.4.1 to 3.4.2 and the dynflow just crash is no any particular step by step to reproduce

Actions #5

Updated by Mario Gamboa almost 7 years ago

  • Status changed from Need more information to Feedback

Feedback attach in my last comment

Actions #6

Updated by Eric Helms almost 7 years ago

  • translation missing: en.field_release changed from 267 to 281
Actions

Also available in: Atom PDF