Server Error 500 on new host ui, ansible variables page

Problem:
Hosts which have ansible variables show a “Error! Response not successful: Received status code 500” message on the Ansible - Variables tab of the new host ui.

Expected outcome:
No error but list of ansible variables.

Foreman and Proxy versions:
foreman-3.5.1-1.el8.noarch
foreman-proxy-3.5.1-1.el8.noarch
katello-4.7.1-1.el8.noarch
python39-ansible-builder-1.0.1-4.el8.noarch
python39-ansible-runner-2.2.1-3.el8.noarch
python39-pulp-ansible-0.15.0-1.el8.noarch
rubygem-foreman_ansible-10.3.0-1.fm3_5.el8.noarch
rubygem-pulp_ansible_client-0.15.0-1.el8.noarch
rubygem-smart_proxy_ansible-3.5.0-1.fm3_5.el8.noarch

Distribution and version:
AlmaLinux 8.7

Other relevant data:
I am not 100% sure but I think this started after the upgrade to 3.5.1 from 3.4.1.

production.log:

2023-02-09T10:38:15 [I|app|3f6b1be8] Started POST "/api/graphql" for 136.172.15.242 at 2023-02-09 10:38:15 +0100
2023-02-09T10:38:15 [I|app|3f6b1be8] Processing by Api::GraphqlController#execute as JSON
2023-02-09T10:38:15 [I|app|3f6b1be8]   Parameters: {"_json"=>"[FILTERED]", "graphql"=>{"_json"=>"[FILTERED]"}}
2023-02-09T10:38:15 [W|app|3f6b1be8] Action failed
2023-02-09T10:38:15 [I|app|3f6b1be8] Backtrace for 'Action failed' error (ArgumentError): wrong number of arguments (given 4, expected 0)
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/errors.rb:119:in `message'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/errors.rb:119:in `rescue in with_error_handling'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/errors.rb:106:in `with_error_handling'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/query.rb:365:in `with_error_handling'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:509:in `block (2 levels) in evaluate_selection_with_args'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:812:in `call_method_on_directives'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:506:in `block in evaluate_selection_with_args'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:915:in `after_lazy'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:440:in `evaluate_selection_with_args'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:428:in `evaluate_selection'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:359:in `block (2 levels) in evaluate_selections'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/dataloader/null_dataloader.rb:17:in `append_job'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:358:in `block in evaluate_selections'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:357:in `each'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:357:in `evaluate_selections'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:739:in `block (3 levels) in continue_field'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:812:in `call_method_on_directives'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:738:in `block (2 levels) in continue_field'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:190:in `tap_or_each'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:729:in `block in continue_field'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:915:in `after_lazy'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:715:in `continue_field'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:805:in `block (2 levels) in resolve_list_item'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:915:in `after_lazy'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:802:in `block in resolve_list_item'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:812:in `call_method_on_directives'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:800:in `resolve_list_item'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:775:in `block (2 levels) in continue_field'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/dataloader/null_dataloader.rb:17:in `append_job'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:774:in `block in continue_field'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:766:in `each'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:766:in `continue_field'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:520:in `block (3 levels) in evaluate_selection_with_args'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:915:in `after_lazy'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:517:in `block (2 levels) in evaluate_selection_with_args'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:812:in `call_method_on_directives'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:506:in `block in evaluate_selection_with_args'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:915:in `after_lazy'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:440:in `evaluate_selection_with_args'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:428:in `evaluate_selection'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:359:in `block (2 levels) in evaluate_selections'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/dataloader/null_dataloader.rb:17:in `append_job'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:358:in `block in evaluate_selections'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:357:in `each'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:357:in `evaluate_selections'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:739:in `block (3 levels) in continue_field'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:812:in `call_method_on_directives'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:738:in `block (2 levels) in continue_field'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:190:in `tap_or_each'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:729:in `block in continue_field'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:915:in `after_lazy'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:715:in `continue_field'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:520:in `block (3 levels) in evaluate_selection_with_args'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:915:in `after_lazy'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:517:in `block (2 levels) in evaluate_selection_with_args'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:812:in `call_method_on_directives'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:506:in `block in evaluate_selection_with_args'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:915:in `after_lazy'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:440:in `evaluate_selection_with_args'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:432:in `block in evaluate_selection'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/schema/member/has_arguments.rb:204:in `block (3 levels) in coerce_arguments'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/dataloader/null_dataloader.rb:17:in `append_job'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/schema/member/has_arguments.rb:185:in `block (2 levels) in coerce_arguments'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/schema/member/has_arguments.rb:184:in `each'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/schema/member/has_arguments.rb:184:in `block in coerce_arguments'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/schema/member/has_arguments.rb:213:in `coerce_arguments'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/arguments_cache.rb:52:in `dataload_for'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:431:in `evaluate_selection'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:359:in `block (2 levels) in evaluate_selections'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/dataloader/null_dataloader.rb:17:in `append_job'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:358:in `block in evaluate_selections'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:357:in `each'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:357:in `evaluate_selections'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:739:in `block (3 levels) in continue_field'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:812:in `call_method_on_directives'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:738:in `block (2 levels) in continue_field'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:190:in `tap_or_each'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:729:in `block in continue_field'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:915:in `after_lazy'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:715:in `continue_field'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:520:in `block (3 levels) in evaluate_selection_with_args'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/runtime.rb:904:in `block in after_lazy'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/lazy.rb:41:in `value'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/resolve.rb:47:in `resolve'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/resolve.rb:10:in `block in resolve_all'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/dataloader/null_dataloader.rb:17:in `append_job'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter/resolve.rb:10:in `resolve_all'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter.rb:94:in `block in sync_lazies'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/tracing.rb:66:in `trace'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter.rb:93:in `sync_lazies'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/interpreter.rb:54:in `finish_multiplex'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/multiplex.rb:111:in `block in run_as_multiplex'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/dataloader/null_dataloader.rb:17:in `append_job'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/multiplex.rb:110:in `run_as_multiplex'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/multiplex.rb:63:in `block (2 levels) in run_queries'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/multiplex.rb:211:in `block in instrument_and_analyze'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/instrumentation.rb:29:in `block (2 levels) in apply_instrumenters'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/instrumentation.rb:46:in `block (2 levels) in each_query_call_hooks'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/instrumentation.rb:41:in `each_query_call_hooks'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/instrumentation.rb:45:in `block in each_query_call_hooks'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/instrumentation.rb:72:in `call_hooks'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/instrumentation.rb:44:in `each_query_call_hooks'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/instrumentation.rb:27:in `block in apply_instrumenters'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/instrumentation.rb:72:in `call_hooks'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/instrumentation.rb:26:in `apply_instrumenters'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/multiplex.rb:190:in `instrument_and_analyze'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/multiplex.rb:62:in `block in run_queries'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/tracing.rb:66:in `trace'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/multiplex.rb:60:in `run_queries'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/execution/multiplex.rb:50:in `run_all'
 3f6b1be8 | /usr/share/gems/gems/graphql-1.13.16/lib/graphql/schema.rb:1768:in `multiplex'
 3f6b1be8 | /usr/share/foreman/app/controllers/api/graphql_controller.rb:55:in `execute_multiplexed_graphql_query'
 3f6b1be8 | /usr/share/foreman/app/controllers/api/graphql_controller.rb:18:in `execute'
 3f6b1be8 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
 3f6b1be8 | /usr/share/gems/gems/actionpack-6.1.7/lib/abstract_controller/base.rb:228:in `process_action'
 3f6b1be8 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_controller/metal/rendering.rb:30:in `process_action'
 3f6b1be8 | /usr/share/gems/gems/actionpack-6.1.7/lib/abstract_controller/callbacks.rb:42:in `block in process_action'
 3f6b1be8 | /usr/share/gems/gems/activesupport-6.1.7/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
 3f6b1be8 | /usr/share/foreman/app/controllers/concerns/foreman/controller/timezone.rb:10:in `set_timezone'
 3f6b1be8 | /usr/share/gems/gems/activesupport-6.1.7/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
 3f6b1be8 | /usr/share/foreman/app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
 3f6b1be8 | /usr/share/gems/gems/activesupport-6.1.7/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
 3f6b1be8 | /usr/share/gems/gems/audited-5.0.2/lib/audited/sweeper.rb:16:in `around'
 3f6b1be8 | /usr/share/gems/gems/activesupport-6.1.7/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
 3f6b1be8 | /usr/share/gems/gems/audited-5.0.2/lib/audited/sweeper.rb:16:in `around'
 3f6b1be8 | /usr/share/gems/gems/activesupport-6.1.7/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
 3f6b1be8 | /usr/share/gems/gems/activesupport-6.1.7/lib/active_support/callbacks.rb:137:in `run_callbacks'
 3f6b1be8 | /usr/share/gems/gems/actionpack-6.1.7/lib/abstract_controller/callbacks.rb:41:in `process_action'
 3f6b1be8 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_controller/metal/rescue.rb:22:in `process_action'
 3f6b1be8 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'
 3f6b1be8 | /usr/share/gems/gems/activesupport-6.1.7/lib/active_support/notifications.rb:203:in `block in instrument'
 3f6b1be8 | /usr/share/gems/gems/activesupport-6.1.7/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
 3f6b1be8 | /usr/share/gems/gems/activesupport-6.1.7/lib/active_support/notifications.rb:203:in `instrument'
 3f6b1be8 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_controller/metal/instrumentation.rb:33:in `process_action'
 3f6b1be8 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_controller/metal/params_wrapper.rb:249:in `process_action'
 3f6b1be8 | /usr/share/gems/gems/activerecord-6.1.7/lib/active_record/railties/controller_runtime.rb:27:in `process_action'
 3f6b1be8 | /usr/share/gems/gems/actionpack-6.1.7/lib/abstract_controller/base.rb:165:in `process'
 3f6b1be8 | /usr/share/gems/gems/actionview-6.1.7/lib/action_view/rendering.rb:39:in `process'
 3f6b1be8 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_controller/metal.rb:190:in `dispatch'
 3f6b1be8 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_controller/metal.rb:254:in `dispatch'
 3f6b1be8 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
 3f6b1be8 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_dispatch/routing/route_set.rb:33:in `serve'
 3f6b1be8 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_dispatch/journey/router.rb:50:in `block in serve'
 3f6b1be8 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_dispatch/journey/router.rb:32:in `each'
 3f6b1be8 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_dispatch/journey/router.rb:32:in `serve'
 3f6b1be8 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_dispatch/routing/route_set.rb:842:in `call'
 3f6b1be8 | /usr/share/gems/gems/katello-4.7.1/lib/katello/middleware/organization_created_enforcer.rb:18:in `call'
 3f6b1be8 | /usr/share/gems/gems/katello-4.7.1/lib/katello/middleware/event_daemon.rb:10:in `call'
 3f6b1be8 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_dispatch/middleware/static.rb:24:in `call'
 3f6b1be8 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_dispatch/middleware/static.rb:24:in `call'
 3f6b1be8 | /usr/share/gems/gems/apipie-dsl-2.5.0/lib/apipie_dsl/static_dispatcher.rb:67:in `call'
 3f6b1be8 | /usr/share/gems/gems/apipie-rails-0.8.2/lib/apipie/static_dispatcher.rb:68:in `call'
 3f6b1be8 | /usr/share/gems/gems/apipie-rails-0.8.2/lib/apipie/extractor/recorder.rb:137:in `call'
 3f6b1be8 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_dispatch/middleware/static.rb:24:in `call'
 3f6b1be8 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_dispatch/middleware/static.rb:24:in `call'
 3f6b1be8 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_dispatch/middleware/static.rb:24:in `call'
 3f6b1be8 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_dispatch/middleware/static.rb:24:in `call'
 3f6b1be8 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_dispatch/middleware/static.rb:24:in `call'
 3f6b1be8 | /usr/share/foreman/lib/foreman/middleware/libvirt_connection_cleaner.rb:9:in `call'
 3f6b1be8 | /usr/share/foreman/lib/foreman/middleware/telemetry.rb:10:in `call'
 3f6b1be8 | /usr/share/gems/gems/apipie-rails-0.8.2/lib/apipie/middleware/checksum_in_headers.rb:27:in `call'
 3f6b1be8 | /usr/share/gems/gems/rack-2.2.4/lib/rack/tempfile_reaper.rb:15:in `call'
 3f6b1be8 | /usr/share/gems/gems/rack-2.2.4/lib/rack/etag.rb:27:in `call'
 3f6b1be8 | /usr/share/gems/gems/rack-2.2.4/lib/rack/conditional_get.rb:40:in `call'
 3f6b1be8 | /usr/share/gems/gems/rack-2.2.4/lib/rack/head.rb:12:in `call'
 3f6b1be8 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_dispatch/http/permissions_policy.rb:22:in `call'
 3f6b1be8 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_dispatch/http/content_security_policy.rb:19:in `call'
 3f6b1be8 | /usr/share/foreman/lib/foreman/middleware/logging_context_session.rb:22:in `call'
 3f6b1be8 | /usr/share/gems/gems/rack-2.2.4/lib/rack/session/abstract/id.rb:266:in `context'
 3f6b1be8 | /usr/share/gems/gems/rack-2.2.4/lib/rack/session/abstract/id.rb:260:in `call'
 3f6b1be8 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_dispatch/middleware/cookies.rb:689:in `call'
 3f6b1be8 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'
 3f6b1be8 | /usr/share/gems/gems/activesupport-6.1.7/lib/active_support/callbacks.rb:98:in `run_callbacks'
 3f6b1be8 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_dispatch/middleware/callbacks.rb:26:in `call'
 3f6b1be8 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'
 3f6b1be8 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call'
 3f6b1be8 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
 3f6b1be8 | /usr/share/gems/gems/railties-6.1.7/lib/rails/rack/logger.rb:37:in `call_app'
 3f6b1be8 | /usr/share/gems/gems/railties-6.1.7/lib/rails/rack/logger.rb:28:in `call'
 3f6b1be8 | /usr/share/gems/gems/sprockets-rails-3.4.2/lib/sprockets/rails/quiet_assets.rb:13:in `call'
 3f6b1be8 | /usr/share/foreman/lib/foreman/middleware/logging_context_request.rb:11:in `call'
 3f6b1be8 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
 3f6b1be8 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_dispatch/middleware/request_id.rb:26:in `call'
 3f6b1be8 | /usr/share/gems/gems/katello-4.7.1/lib/katello/prevent_json_parsing.rb:12:in `call'
 3f6b1be8 | /usr/share/gems/gems/rack-2.2.4/lib/rack/method_override.rb:24:in `call'
 3f6b1be8 | /usr/share/gems/gems/rack-2.2.4/lib/rack/runtime.rb:22:in `call'
 3f6b1be8 | /usr/share/gems/gems/activesupport-6.1.7/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
 3f6b1be8 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_dispatch/middleware/executor.rb:14:in `call'
 3f6b1be8 | /usr/share/gems/gems/rack-2.2.4/lib/rack/sendfile.rb:110:in `call'
 3f6b1be8 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_dispatch/middleware/ssl.rb:77:in `call'
 3f6b1be8 | /usr/share/gems/gems/actionpack-6.1.7/lib/action_dispatch/middleware/host_authorization.rb:142:in `call'
 3f6b1be8 | /usr/share/gems/gems/secure_headers-6.5.0/lib/secure_headers/middleware.rb:11:in `call'
 3f6b1be8 | /usr/share/gems/gems/railties-6.1.7/lib/rails/engine.rb:539:in `call'
 3f6b1be8 | /usr/share/gems/gems/railties-6.1.7/lib/rails/railtie.rb:207:in `public_send'
 3f6b1be8 | /usr/share/gems/gems/railties-6.1.7/lib/rails/railtie.rb:207:in `method_missing'
 3f6b1be8 | /usr/share/gems/gems/rack-2.2.4/lib/rack/urlmap.rb:74:in `block in call'
 3f6b1be8 | /usr/share/gems/gems/rack-2.2.4/lib/rack/urlmap.rb:58:in `each'
 3f6b1be8 | /usr/share/gems/gems/rack-2.2.4/lib/rack/urlmap.rb:58:in `call'
 3f6b1be8 | /usr/share/gems/gems/puma-5.6.5/lib/puma/configuration.rb:252:in `call'
 3f6b1be8 | /usr/share/gems/gems/puma-5.6.5/lib/puma/request.rb:77:in `block in handle_request'
 3f6b1be8 | /usr/share/gems/gems/puma-5.6.5/lib/puma/thread_pool.rb:340:in `with_force_shutdown'
 3f6b1be8 | /usr/share/gems/gems/puma-5.6.5/lib/puma/request.rb:76:in `handle_request'
 3f6b1be8 | /usr/share/gems/gems/puma-5.6.5/lib/puma/server.rb:443:in `process_client'
 3f6b1be8 | /usr/share/gems/gems/puma-5.6.5/lib/puma/thread_pool.rb:147:in `block in spawn_thread'
 3f6b1be8 | /usr/share/gems/gems/logging-2.3.1/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
2023-02-09T10:38:15 [I|app|3f6b1be8] Completed 500 Internal Server Error in 34ms (Views: 0.2ms | ActiveRecord: 5.1ms | Allocations: 12715)

That’d be Bug #35895: Ansible variables tab does not load, resulting in 500 error - Ansible - Foreman which @nofaralfasi recently fixed, but we didn’t backport to 3.5.1 yet.

Thanks. I have missed that one. I have patched it into the file overriden_ansible_variable.rb and it works.

overriden_ansible_variable.rb is an unfortunate file name. I first searched for overridden_ansible_variable.rb and couldn’t find it until I have noticed the spelling error…

1 Like

Indeed, nice typo there.