Project

General

Profile

Actions

Bug #35895

closed

Ansible variables tab does not load, resulting in 500 error

Added by Marek Hulán about 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:

Description

On the host detail page, when I navigate to the Ansible tab and choose variables sub-tab, I'm getting 500 error, the trace from production.log follows. It seems related to the graphQL, perhaps related to https://github.com/theforeman/foreman/pull/9230

This is Foreman 3.5.1 with foreman_ansible 10.1.0

2023-01-03T09:54:31 [I|app|bddf8924] Started GET "/new/hosts/foreman-nuc2.hu.lan" for 192.168.22.2 at 2023-01-03 09:54:31 +0100
2023-01-03T09:54:31 [I|app|bddf8924] Processing by ReactController#index as HTML
2023-01-03T09:54:31 [I|app|bddf8924]   Parameters: {"id"=>"foreman-nuc2.hu.lan"}
2023-01-03T09:54:31 [I|app|bddf8924]   Rendered react/index.html.erb within layouts/react_application (Duration: 9.9ms | Allocations: 5126)
2023-01-03T09:54:31 [I|app|bddf8924]   Rendered layouts/base.html.erb (Duration: 65.1ms | Allocations: 18663)
2023-01-03T09:54:31 [I|app|bddf8924]   Rendered layout layouts/react_application.html.erb (Duration: 84.7ms | Allocations: 29056)
2023-01-03T09:54:31 [I|app|bddf8924] Completed 200 OK in 122ms (Views: 83.3ms | ActiveRecord: 9.2ms | Allocations: 31877)
2023-01-03T09:54:32 [I|app|aeede87c] Started GET "/api/hosts/foreman-nuc2.hu.lan" for 192.168.22.2 at 2023-01-03 09:54:32 +0100
2023-01-03T09:54:32 [I|app|4fe3b01b] Started GET "/notification_recipients" for 192.168.22.2 at 2023-01-03 09:54:32 +0100
2023-01-03T09:54:32 [I|app|4fe3b01b] Processing by NotificationRecipientsController#index as JSON
2023-01-03T09:54:32 [I|app|aeede87c] Processing by Api::V2::HostsController#show as JSON
2023-01-03T09:54:32 [I|app|aeede87c]   Parameters: {"apiv"=>"v2", "id"=>"foreman-nuc2.hu.lan"}
2023-01-03T09:54:32 [I|app|4fe3b01b] Completed 200 OK in 57ms (Views: 0.4ms | ActiveRecord: 25.1ms | Allocations: 5039)
2023-01-03T09:54:32 [I|app|b287af1b] Started GET "/api/remote_execution_features" for 192.168.22.2 at 2023-01-03 09:54:32 +0100
2023-01-03T09:54:32 [I|app|b287af1b] Processing by Api::V2::RemoteExecutionFeaturesController#index as JSON
2023-01-03T09:54:32 [I|app|b287af1b]   Parameters: {"apiv"=>"v2"}
2023-01-03T09:54:33 [I|app|b287af1b]   Rendered /usr/share/gems/gems/foreman_remote_execution-8.1.2/app/views/api/v2/remote_execution_features/index.json.rabl within api/v2/layouts/index_layout (Duration: 190.2ms | Allocations: 23646)
2023-01-03T09:54:33 [I|app|b287af1b]   Rendered layout api/v2/layouts/index_layout.json.erb (Duration: 208.8ms | Allocations: 29783)
2023-01-03T09:54:33 [I|app|b287af1b] Completed 200 OK in 275ms (Views: 167.5ms | ActiveRecord: 87.2ms | Allocations: 35819)
2023-01-03T09:54:33 [I|app|aeede87c]   Rendered api/v2/hosts/show.json.rabl (Duration: 598.8ms | Allocations: 71855)
2023-01-03T09:54:33 [I|app|aeede87c] Completed 200 OK in 671ms (Views: 527.4ms | ActiveRecord: 103.0ms | Allocations: 78585)
2023-01-03T09:54:33 [I|app|3529ea30] Started POST "/api/graphql" for 192.168.22.2 at 2023-01-03 09:54:33 +0100
2023-01-03T09:54:33 [I|app|3529ea30] Processing by Api::GraphqlController#execute as JSON
2023-01-03T09:54:33 [I|app|3529ea30]   Parameters: {"_json"=>[{"variables"=>{"id"=>"MDE6SG9zdC0xMw==", "match"=>"fqdn=foreman-nuc2.hu.lan", "first"=>20, "last"=>20}, "query"=>"query ($id: String!, $match: String, $first: Int, $last: Int) {\n  host(id: $id) {\n    id\n    ansibleVariablesWithOverrides(first: $first, last: $last) {\n      totalCount\n      nodes {\n        id\n        key\n        path\n        meta {\n          canEdit\n          __typename\n        }\n        defaultValue\n        parameterType\n        ansibleRoleName\n        validatorType\n        validatorRule\n        required\n        lookupValues(match: $match) {\n          nodes {\n            id\n            match\n            value\n            omit\n            __typename\n          }\n          __typename\n        }\n        currentValue {\n          value\n          element\n          elementName\n          __typename\n        }\n        __typename\n      }\n      __typename\n    }\n    __typename\n  }\n  currentUser {\n    ...CurrentUserAttributes\n    __typename\n  }\n}\n\nfragment CurrentUserAttributes on User {\n  id\n  login\n  admin\n  permissions {\n    nodes {\n      id\n      name\n      __typename\n    }\n    __typename\n  }\n  __typename\n}\n"}], "graphql"=>{"_json"=>[{"variables"=>{"id"=>"MDE6SG9zdC0xMw==", "match"=>"fqdn=foreman-nuc2.hu.lan", "first"=>20, "last"=>20}, "query"=>"query ($id: String!, $match: String, $first: Int, $last: Int) {\n  host(id: $id) {\n    id\n    ansibleVariablesWithOverrides(first: $first, last: $last) {\n      totalCount\n      nodes {\n        id\n        key\n        path\n        meta {\n          canEdit\n          __typename\n        }\n        defaultValue\n        parameterType\n        ansibleRoleName\n        validatorType\n        validatorRule\n        required\n        lookupValues(match: $match) {\n          nodes {\n            id\n            match\n            value\n            omit\n            __typename\n          }\n          __typename\n        }\n        currentValue {\n          value\n          element\n          elementName\n          __typename\n        }\n        __typename\n      }\n      __typename\n    }\n    __typename\n  }\n  currentUser {\n    ...CurrentUserAttributes\n    __typename\n  }\n}\n\nfragment CurrentUserAttributes on User {\n  id\n  login\n  admin\n  permissions {\n    nodes {\n      id\n      name\n      __typename\n    }\n    __typename\n  }\n  __typename\n}\n"}]}}
2023-01-03T09:54:33 [W|app|3529ea30] Action failed
2023-01-03T09:54:33 [I|app|3529ea30] Backtrace for 'Action failed' error (ArgumentError): wrong number of arguments (given 4, expected 0)
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/errors.rb:119:in `message'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/errors.rb:119:in `rescue in with_error_handling'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/errors.rb:106:in `with_error_handling'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/query.rb:365:in `with_error_handling'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:509:in `block (2 levels) in evaluate_selection_with_args'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:812:in `call_method_on_directives'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:506:in `block in evaluate_selection_with_args'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:915:in `after_lazy'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:440:in `evaluate_selection_with_args'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:428:in `evaluate_selection'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:359:in `block (2 levels) in evaluate_selections'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/dataloader/null_dataloader.rb:17:in `append_job'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:358:in `block in evaluate_selections'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:357:in `each'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:357:in `evaluate_selections'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:739:in `block (3 levels) in continue_field'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:812:in `call_method_on_directives'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:738:in `block (2 levels) in continue_field'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:190:in `tap_or_each'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:729:in `block in continue_field'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:915:in `after_lazy'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:715:in `continue_field'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:805:in `block (2 levels) in resolve_list_item'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:915:in `after_lazy'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:802:in `block in resolve_list_item'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:812:in `call_method_on_directives'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:800:in `resolve_list_item'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:775:in `block (2 levels) in continue_field'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/dataloader/null_dataloader.rb:17:in `append_job'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:774:in `block in continue_field'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:766:in `each'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:766:in `continue_field'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:520:in `block (3 levels) in evaluate_selection_with_args'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:915:in `after_lazy'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:517:in `block (2 levels) in evaluate_selection_with_args'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:812:in `call_method_on_directives'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:506:in `block in evaluate_selection_with_args'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:915:in `after_lazy'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:440:in `evaluate_selection_with_args'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:428:in `evaluate_selection'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:359:in `block (2 levels) in evaluate_selections'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/dataloader/null_dataloader.rb:17:in `append_job'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:358:in `block in evaluate_selections'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:357:in `each'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:357:in `evaluate_selections'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:739:in `block (3 levels) in continue_field'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:812:in `call_method_on_directives'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:738:in `block (2 levels) in continue_field'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:190:in `tap_or_each'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:729:in `block in continue_field'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:915:in `after_lazy'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:715:in `continue_field'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:520:in `block (3 levels) in evaluate_selection_with_args'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:915:in `after_lazy'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:517:in `block (2 levels) in evaluate_selection_with_args'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:812:in `call_method_on_directives'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:506:in `block in evaluate_selection_with_args'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:915:in `after_lazy'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:440:in `evaluate_selection_with_args'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:432:in `block in evaluate_selection'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/schema/member/has_arguments.rb:204:in `block (3 levels) in coerce_arguments'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/dataloader/null_dataloader.rb:17:in `append_job'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/schema/member/has_arguments.rb:185:in `block (2 levels) in coerce_arguments'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/schema/member/has_arguments.rb:184:in `each'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/schema/member/has_arguments.rb:184:in `block in coerce_arguments'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/schema/member/has_arguments.rb:213:in `coerce_arguments'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/arguments_cache.rb:52:in `dataload_for'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:431:in `evaluate_selection'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:359:in `block (2 levels) in evaluate_selections'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/dataloader/null_dataloader.rb:17:in `append_job'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:358:in `block in evaluate_selections'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:357:in `each'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:357:in `evaluate_selections'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:739:in `block (3 levels) in continue_field'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:812:in `call_method_on_directives'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:738:in `block (2 levels) in continue_field'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:190:in `tap_or_each'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:729:in `block in continue_field'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:915:in `after_lazy'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:715:in `continue_field'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:520:in `block (3 levels) in evaluate_selection_with_args'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:904:in `block in after_lazy'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/lazy.rb:41:in `value'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/resolve.rb:47:in `resolve'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/resolve.rb:10:in `block in resolve_all'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/dataloader/null_dataloader.rb:17:in `append_job'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/resolve.rb:10:in `resolve_all'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter.rb:94:in `block in sync_lazies'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/tracing.rb:66:in `trace'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter.rb:93:in `sync_lazies'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter.rb:54:in `finish_multiplex'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/multiplex.rb:111:in `block in run_as_multiplex'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/dataloader/null_dataloader.rb:17:in `append_job'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/multiplex.rb:110:in `run_as_multiplex'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/multiplex.rb:63:in `block (2 levels) in run_queries'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/multiplex.rb:211:in `block in instrument_and_analyze'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/instrumentation.rb:29:in `block (2 levels) in apply_instrumenters'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/instrumentation.rb:46:in `block (2 levels) in each_query_call_hooks'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/instrumentation.rb:41:in `each_query_call_hooks'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/instrumentation.rb:45:in `block in each_query_call_hooks'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/instrumentation.rb:72:in `call_hooks'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/instrumentation.rb:44:in `each_query_call_hooks'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/instrumentation.rb:27:in `block in apply_instrumenters'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/instrumentation.rb:72:in `call_hooks'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/instrumentation.rb:26:in `apply_instrumenters'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/multiplex.rb:190:in `instrument_and_analyze'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/multiplex.rb:62:in `block in run_queries'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/tracing.rb:66:in `trace'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/multiplex.rb:60:in `run_queries'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/multiplex.rb:50:in `run_all'
 3529ea30 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/schema.rb:1768:in `multiplex'
 3529ea30 | /usr/share/foreman/app/controllers/api/graphql_controller.rb:55:in `execute_multiplexed_graphql_query'
 3529ea30 | /usr/share/foreman/app/controllers/api/graphql_controller.rb:18:in `execute'
 3529ea30 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
 3529ea30 | /usr/share/gems/gems/actionpack-6.1.7/lib/abstract_controller/base.rb:228:in `process_action'
 3529ea30 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_controller/metal/rendering.rb:30:in `process_action'
 3529ea30 | /usr/share/gems/gems/actionpack-6.1.7/lib/abstract_controller/callbacks.rb:42:in `block in process_action'
 3529ea30 | /usr/share/gems/gems/activesupport-6.1.7/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
 3529ea30 | /usr/share/foreman/app/controllers/concerns/foreman/controller/timezone.rb:10:in `set_timezone'
 3529ea30 | /usr/share/gems/gems/activesupport-6.1.7/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
 3529ea30 | /usr/share/foreman/app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
 3529ea30 | /usr/share/gems/gems/activesupport-6.1.7/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
 3529ea30 | /usr/share/gems/gems/audited-5.0.2/lib/audited/sweeper.rb:16:in `around'
 3529ea30 | /usr/share/gems/gems/activesupport-6.1.7/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
 3529ea30 | /usr/share/gems/gems/audited-5.0.2/lib/audited/sweeper.rb:16:in `around'
 3529ea30 | /usr/share/gems/gems/activesupport-6.1.7/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
 3529ea30 | /usr/share/gems/gems/activesupport-6.1.7/lib/active_support/callbacks.rb:137:in `run_callbacks'
 3529ea30 | /usr/share/gems/gems/actionpack-6.1.7/lib/abstract_controller/callbacks.rb:41:in `process_action'
 3529ea30 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_controller/metal/rescue.rb:22:in `process_action'
 3529ea30 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'
 3529ea30 | /usr/share/gems/gems/activesupport-6.1.7/lib/active_support/notifications.rb:203:in `block in instrument'
 3529ea30 | /usr/share/gems/gems/activesupport-6.1.7/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
 3529ea30 | /usr/share/gems/gems/activesupport-6.1.7/lib/active_support/notifications.rb:203:in `instrument'
 3529ea30 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_controller/metal/instrumentation.rb:33:in `process_action'
 3529ea30 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_controller/metal/params_wrapper.rb:249:in `process_action'
 3529ea30 | /usr/share/gems/gems/activerecord-6.1.7/lib/active_record/railties/controller_runtime.rb:27:in `process_action'
 3529ea30 | /usr/share/gems/gems/actionpack-6.1.7/lib/abstract_controller/base.rb:165:in `process'
 3529ea30 | /usr/share/gems/gems/actionview-6.1.7/lib/action_view/rendering.rb:39:in `process'
 3529ea30 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_controller/metal.rb:190:in `dispatch'
 3529ea30 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_controller/metal.rb:254:in `dispatch'
 3529ea30 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
 3529ea30 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_dispatch/routing/route_set.rb:33:in `serve'
 3529ea30 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_dispatch/journey/router.rb:50:in `block in serve'
 3529ea30 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_dispatch/journey/router.rb:32:in `each'
 3529ea30 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_dispatch/journey/router.rb:32:in `serve'
 3529ea30 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_dispatch/routing/route_set.rb:842:in `call'
 3529ea30 | /usr/share/gems/gems/apipie-dsl-2.5.0/lib/apipie_dsl/static_dispatcher.rb:67:in `call'
 3529ea30 | /usr/share/gems/gems/apipie-rails-0.8.2/lib/apipie/static_dispatcher.rb:68:in `call'
 3529ea30 | /usr/share/gems/gems/apipie-rails-0.8.2/lib/apipie/extractor/recorder.rb:137:in `call'
 3529ea30 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_dispatch/middleware/static.rb:24:in `call'
 3529ea30 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_dispatch/middleware/static.rb:24:in `call'
 3529ea30 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_dispatch/middleware/static.rb:24:in `call'
 3529ea30 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_dispatch/middleware/static.rb:24:in `call'
 3529ea30 | /usr/share/foreman/lib/foreman/middleware/libvirt_connection_cleaner.rb:9:in `call'
 3529ea30 | /usr/share/foreman/lib/foreman/middleware/telemetry.rb:10:in `call'
 3529ea30 | /usr/share/gems/gems/apipie-rails-0.8.2/lib/apipie/middleware/checksum_in_headers.rb:27:in `call'
 3529ea30 | /usr/share/gems/gems/rack-2.2.4/lib/rack/tempfile_reaper.rb:15:in `call'
 3529ea30 | /usr/share/gems/gems/rack-2.2.4/lib/rack/etag.rb:27:in `call'
 3529ea30 | /usr/share/gems/gems/rack-2.2.4/lib/rack/conditional_get.rb:40:in `call'
 3529ea30 | /usr/share/gems/gems/rack-2.2.4/lib/rack/head.rb:12:in `call'
 3529ea30 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_dispatch/http/permissions_policy.rb:22:in `call'
 3529ea30 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_dispatch/http/content_security_policy.rb:19:in `call'
 3529ea30 | /usr/share/foreman/lib/foreman/middleware/logging_context_session.rb:22:in `call'
 3529ea30 | /usr/share/gems/gems/rack-2.2.4/lib/rack/session/abstract/id.rb:266:in `context'
 3529ea30 | /usr/share/gems/gems/rack-2.2.4/lib/rack/session/abstract/id.rb:260:in `call'
 3529ea30 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_dispatch/middleware/cookies.rb:689:in `call'
 3529ea30 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'
 3529ea30 | /usr/share/gems/gems/activesupport-6.1.7/lib/active_support/callbacks.rb:98:in `run_callbacks'
 3529ea30 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_dispatch/middleware/callbacks.rb:26:in `call'
 3529ea30 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'
 3529ea30 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call'
 3529ea30 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
 3529ea30 | /usr/share/gems/gems/railties-6.1.7/lib/rails/rack/logger.rb:37:in `call_app'
 3529ea30 | /usr/share/gems/gems/railties-6.1.7/lib/rails/rack/logger.rb:28:in `call'
 3529ea30 | /usr/share/gems/gems/sprockets-rails-3.4.2/lib/sprockets/rails/quiet_assets.rb:13:in `call'
 3529ea30 | /usr/share/foreman/lib/foreman/middleware/logging_context_request.rb:11:in `call'
 3529ea30 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
 3529ea30 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_dispatch/middleware/request_id.rb:26:in `call'
 3529ea30 | /usr/share/gems/gems/rack-2.2.4/lib/rack/method_override.rb:24:in `call'
 3529ea30 | /usr/share/gems/gems/rack-2.2.4/lib/rack/runtime.rb:22:in `call'
 3529ea30 | /usr/share/gems/gems/activesupport-6.1.7/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
 3529ea30 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_dispatch/middleware/executor.rb:14:in `call'
 3529ea30 | /usr/share/gems/gems/rack-2.2.4/lib/rack/sendfile.rb:110:in `call'
 3529ea30 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_dispatch/middleware/ssl.rb:77:in `call'
 3529ea30 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_dispatch/middleware/host_authorization.rb:142:in `call'
 3529ea30 | /usr/share/gems/gems/secure_headers-6.5.0/lib/secure_headers/middleware.rb:11:in `call'
 3529ea30 | /usr/share/gems/gems/railties-6.1.7/lib/rails/engine.rb:539:in `call'
 3529ea30 | /usr/share/gems/gems/railties-6.1.7/lib/rails/railtie.rb:207:in `public_send'
 3529ea30 | /usr/share/gems/gems/railties-6.1.7/lib/rails/railtie.rb:207:in `method_missing'
 3529ea30 | /usr/share/gems/gems/rack-2.2.4/lib/rack/urlmap.rb:74:in `block in call'
 3529ea30 | /usr/share/gems/gems/rack-2.2.4/lib/rack/urlmap.rb:58:in `each'
 3529ea30 | /usr/share/gems/gems/rack-2.2.4/lib/rack/urlmap.rb:58:in `call'
 3529ea30 | /usr/share/gems/gems/puma-5.6.5/lib/puma/configuration.rb:252:in `call'
 3529ea30 | /usr/share/gems/gems/puma-5.6.5/lib/puma/request.rb:77:in `block in handle_request'
 3529ea30 | /usr/share/gems/gems/puma-5.6.5/lib/puma/thread_pool.rb:340:in `with_force_shutdown'
 3529ea30 | /usr/share/gems/gems/puma-5.6.5/lib/puma/request.rb:76:in `handle_request'
 3529ea30 | /usr/share/gems/gems/puma-5.6.5/lib/puma/server.rb:443:in `process_client'
 3529ea30 | /usr/share/gems/gems/puma-5.6.5/lib/puma/thread_pool.rb:147:in `block in spawn_thread'
 3529ea30 | /usr/share/gems/gems/logging-2.3.1/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
2023-01-03T09:54:33 [I|app|3529ea30] Completed 500 Internal Server Error in 213ms (Views: 0.6ms | ActiveRecord: 29.7ms | Allocations: 16919)

Actions

Also available in: Atom PDF