Project

General

Profile

Actions

Bug #22168

closed

unable to submit job - ActiveModel::ForbiddenAttributesError: ActiveModel::ForbiddenAttributesError

Added by Ohad Levy about 6 years ago. Updated about 6 years ago.

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

Description

Action failed
 | ActiveModel::ForbiddenAttributesError: ActiveModel::ForbiddenAttributesError
 | /home/foreman/gems/gems/activemodel-5.1.4/lib/active_model/forbidden_attributes_protection.rb:21:in `sanitize_for_mass_assignment'
 | /home/foreman/gems/gems/activemodel-5.1.4/lib/active_model/attribute_assignment.rb:33:in `assign_attributes'
 | /home/foreman/gems/gems/activerecord-5.1.4/lib/active_record/core.rb:337:in `initialize'
 | /home/foreman/gems/gems/activerecord-5.1.4/lib/active_record/inheritance.rb:66:in `new'
 | /home/foreman/gems/gems/activerecord-5.1.4/lib/active_record/inheritance.rb:66:in `new'
 | /home/foreman/gems/bundler/gems/foreman-tasks-4c872cdec411/app/models/foreman_tasks/triggering.rb:41:in `new_from_params'
 | /home/foreman/gems/bundler/gems/foreman_remote_execution-389687613d69/app/models/job_invocation_composer.rb:482:in `build_triggering'
 | /home/foreman/gems/bundler/gems/foreman_remote_execution-389687613d69/app/models/job_invocation_composer.rb:311:in `compose'
 | /home/foreman/gems/bundler/gems/foreman_remote_execution-389687613d69/app/models/job_invocation_composer.rb:285:in `initialize'
 | /home/foreman/gems/bundler/gems/foreman_remote_execution-389687613d69/app/models/job_invocation_composer.rb:296:in `new'
 | /home/foreman/gems/bundler/gems/foreman_remote_execution-389687613d69/app/models/job_invocation_composer.rb:296:in `from_ui_params'
 | /home/foreman/gems/bundler/gems/foreman_remote_execution-389687613d69/app/controllers/job_invocations_controller.rb:92:in `prepare_composer'
 | /home/foreman/gems/bundler/gems/foreman_remote_execution-389687613d69/app/controllers/job_invocations_controller.rb:33:in `create'
 | /home/foreman/gems/gems/actionpack-5.1.4/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
 | /home/foreman/gems/gems/actionpack-5.1.4/lib/abstract_controller/base.rb:186:in `process_action'
 | /home/foreman/gems/gems/actionpack-5.1.4/lib/action_controller/metal/rendering.rb:30:in `process_action'
 | /home/foreman/gems/gems/actionpack-5.1.4/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
 | /home/foreman/gems/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:108:in `block in run_callbacks'
 | /home/foreman/git/foreman/app/controllers/concerns/application_shared.rb:15:in `set_timezone'
 | /home/foreman/gems/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
 | /home/foreman/git/foreman/app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
 | /home/foreman/gems/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
 | /home/foreman/git/foreman/app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in `set_topbar_sweeper_controller'
 | /home/foreman/gems/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
 | /home/foreman/gems/gems/audited-4.5.0/lib/audited/sweeper.rb:14:in `around'
 | /home/foreman/gems/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
 | /home/foreman/gems/gems/audited-4.5.0/lib/audited/sweeper.rb:14:in `around'
 | /home/foreman/gems/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
 | /home/foreman/gems/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:135:in `run_callbacks'
 | /home/foreman/gems/gems/actionpack-5.1.4/lib/abstract_controller/callbacks.rb:19:in `process_action'
 | /home/foreman/gems/gems/actionpack-5.1.4/lib/action_controller/metal/rescue.rb:20:in `process_action'
 | /home/foreman/gems/gems/actionpack-5.1.4/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
 | /home/foreman/gems/gems/activesupport-5.1.4/lib/active_support/notifications.rb:166:in `block in instrument'
 | /home/foreman/gems/gems/activesupport-5.1.4/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
 | /home/foreman/gems/gems/activesupport-5.1.4/lib/active_support/notifications.rb:166:in `instrument'
 | /home/foreman/gems/gems/actionpack-5.1.4/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
 | /home/foreman/gems/gems/actionpack-5.1.4/lib/action_controller/metal/params_wrapper.rb:252:in `process_action'
 | /home/foreman/gems/gems/activerecord-5.1.4/lib/active_record/railties/controller_runtime.rb:22:in `process_action'
 | /home/foreman/gems/gems/actionpack-5.1.4/lib/abstract_controller/base.rb:124:in `process'
 | /home/foreman/gems/gems/actionview-5.1.4/lib/action_view/rendering.rb:30:in `process'
 | /home/foreman/gems/gems/actionpack-5.1.4/lib/action_controller/metal.rb:189:in `dispatch'
 | /home/foreman/gems/gems/actionpack-5.1.4/lib/action_controller/metal.rb:253:in `dispatch'
 | /home/foreman/gems/gems/actionpack-5.1.4/lib/action_dispatch/routing/route_set.rb:49:in `dispatch'
 | /home/foreman/gems/gems/actionpack-5.1.4/lib/action_dispatch/routing/route_set.rb:31:in `serve'
 | /home/foreman/gems/gems/actionpack-5.1.4/lib/action_dispatch/journey/router.rb:50:in `block in serve'
 | /home/foreman/gems/gems/actionpack-5.1.4/lib/action_dispatch/journey/router.rb:33:in `each'
 | /home/foreman/gems/gems/actionpack-5.1.4/lib/action_dispatch/journey/router.rb:33:in `serve'
 | /home/foreman/gems/gems/actionpack-5.1.4/lib/action_dispatch/routing/route_set.rb:834:in `call'
 | /home/foreman/gems/gems/apipie-rails-0.5.6/lib/apipie/static_dispatcher.rb:65:in `call'
 | /home/foreman/gems/gems/apipie-rails-0.5.6/lib/apipie/extractor/recorder.rb:136:in `call'
 | /home/foreman/gems/gems/apipie-rails-0.5.6/lib/apipie/middleware/checksum_in_headers.rb:27:in `call'
 | /home/foreman/git/foreman/lib/middleware/catch_json_parse_errors.rb:8:in `call'
 | /home/foreman/gems/gems/rack-2.0.3/lib/rack/etag.rb:25:in `call'
 | /home/foreman/gems/gems/rack-2.0.3/lib/rack/conditional_get.rb:38:in `call'
 | /home/foreman/gems/gems/rack-2.0.3/lib/rack/head.rb:12:in `call'
 | /home/foreman/git/foreman/lib/middleware/session_safe_logging.rb:17:in `call'
 | /home/foreman/gems/gems/rack-2.0.3/lib/rack/session/abstract/id.rb:232:in `context'
 | /home/foreman/gems/gems/rack-2.0.3/lib/rack/session/abstract/id.rb:226:in `call'
 | /home/foreman/gems/gems/actionpack-5.1.4/lib/action_dispatch/middleware/cookies.rb:613:in `call'
 | /home/foreman/gems/gems/actionpack-5.1.4/lib/action_dispatch/middleware/callbacks.rb:26:in `block in call'
 | /home/foreman/gems/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:97:in `run_callbacks'
 | /home/foreman/gems/gems/actionpack-5.1.4/lib/action_dispatch/middleware/callbacks.rb:24:in `call'
 | /home/foreman/gems/gems/actionpack-5.1.4/lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call'
 | /home/foreman/gems/gems/actionpack-5.1.4/lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
 | /home/foreman/gems/gems/railties-5.1.4/lib/rails/rack/logger.rb:36:in `call_app'
 | /home/foreman/gems/gems/railties-5.1.4/lib/rails/rack/logger.rb:26:in `call'
 | /home/foreman/gems/gems/sprockets-rails-3.2.1/lib/sprockets/rails/quiet_assets.rb:13:in `call'
 | /home/foreman/git/foreman/lib/middleware/tagged_logging.rb:18:in `call'
 | /home/foreman/gems/gems/actionpack-5.1.4/lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
 | /home/foreman/gems/gems/actionpack-5.1.4/lib/action_dispatch/middleware/request_id.rb:25:in `call'
 | /home/foreman/gems/gems/rack-2.0.3/lib/rack/method_override.rb:22:in `call'
 | /home/foreman/gems/gems/rack-2.0.3/lib/rack/runtime.rb:22:in `call'
 | /home/foreman/gems/gems/activesupport-5.1.4/lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
 | /home/foreman/gems/gems/actionpack-5.1.4/lib/action_dispatch/middleware/executor.rb:12:in `call'
 | /home/foreman/gems/gems/actionpack-5.1.4/lib/action_dispatch/middleware/static.rb:125:in `call'
 | /home/foreman/gems/gems/rack-2.0.3/lib/rack/sendfile.rb:111:in `call'
 | /home/foreman/gems/gems/secure_headers-3.7.3/lib/secure_headers/middleware.rb:12:in `call'
 | /home/foreman/gems/gems/railties-5.1.4/lib/rails/engine.rb:522:in `call'
 | /home/foreman/gems/gems/railties-5.1.4/lib/rails/railtie.rb:185:in `public_send'
 | /home/foreman/gems/gems/railties-5.1.4/lib/rails/railtie.rb:185:in `method_missing'
 | /home/foreman/gems/gems/rack-2.0.3/lib/rack/urlmap.rb:68:in `block in call'
 | /home/foreman/gems/gems/rack-2.0.3/lib/rack/urlmap.rb:53:in `each'
 | /home/foreman/gems/gems/rack-2.0.3/lib/rack/urlmap.rb:53: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:155: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.2.2/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
2018-01-07T15:11:51 4141a503 [app] [I]   Rendering common/500.html.erb within layouts/application
2018-01-07T15:11:51 4141a503 [app] [I]   Rendered common/500.html.erb within layouts/application (1.6ms)
2018-01-07T15:11:51 4141a503 [app] [I]   Rendered layouts/_application_content.html.erb (0.4ms)
2018-01-07T15:11:51 4141a503 [app] [I]   Rendering layouts/base.html.erb
2018-01-07T15:11:51 4141a503 [app] [I]   Rendered layouts/base.html.erb (1.9ms)
2018-01-07T15:11:51 4141a503 [app] [I] Completed 500 Internal Server Error in 35ms (Views: 5.5ms | ActiveRecord: 4.6ms)
Actions #1

Updated by The Foreman Bot about 6 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Adam Ruzicka
  • Pull request https://github.com/theforeman/foreman_remote_execution/pull/299 added
Actions #2

Updated by Adam Ruzicka about 6 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF