'Missing partial /hosts/_expired_message.html.erb' error on provision when expire_hosts plugin installed

Problem: I installed the foreman_expire_hosts plugin today, via the foreman-installer. Now, whenever provisioning a discovered host, pressing submit on the provisioning throws the following error:
**Oops, we're sorry but something went wrong** Missing partial /hosts/_expired_message.html.erb with {:locale=>[:"en-GB", :en], :formats=>[:html], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :rabl]}. Searched in: * "/usr/share/foreman/app/views" * "/usr/share/gems/gems/foreman_expire_hosts-8.1.0/app/views" * "/usr/share/gems/gems/foreman_fog_proxmox-0.14.0/app/views" * "/usr/share/gems/gems/foreman_remote_execution-9.1.0/app/views" * "/usr/share/gems/gems/foreman-tasks-7.2.1/app/views" * "/usr/share/gems/gems/foreman_discovery-22.0.4/app/views" * "/usr/share/gems/gems/foreman_puppet-5.0.0/app/views" * "/usr/share/gems/gems/apipie-dsl-2.5.0/app/views" * "/usr/share/gems/gems/apipie-rails-0.8.2/app/views"

the actual provisioning succeeds other than this, and the host happily reboots and installs the OS, but this error occurs every time and is somewhat distracting. The file referred to in the message, ‘_expired_message.html.erb’ does exist under /usr/share/gems/gems/foreman_expire_hosts-8.1.0/app/views/hosts/_expired_message.html.erb, and the permissions and SELinux context all appear to be correct. Uninstalling the plugin following the instructions on the github page for the plugin removes all errors, but after reinstalling, the error returns.

Expected outcome: Provisioning works without error

Foreman and Proxy versions: 3.6.1

Foreman and Proxy plugin versions:

Plugin Version
foreman-tasks 7.2.1
foreman_discovery 22.0.4
foreman_expire_hosts 8.1.0
foreman_fog_proxmox 0.14.0
foreman_hooks 0.3.17
foreman_puppet 5.0.0
foreman_remote_execution 9.1.0

Distribution and version: Rocky Linux release 8.7 (Green Obsidian)

Other relevant data:
Output of foreman-rake errors:fetch_log request_id=9ba7e470

Foreman version: 3.6.1
Plugins: 
 - foreman-tasks 7.2.1
 - foreman_discovery 22.0.4
 - foreman_expire_hosts 8.1.0
 - foreman_fog_proxmox 0.14.0
 - foreman_hooks 0.3.17
 - foreman_puppet 5.0.0
 - foreman_remote_execution 9.1.0

Warning: Logging layout is not multiline_request_pattern.
This output of this command can be incomplete.
2023-03-30T13:24:00 [I|app|9ba7e470] Started GET "/hosts/smcbgeddtest420.piointernal.prowler.io" for 10.70.0.110 at 2023-03-30 13:24:00 +0000
2023-03-30T13:24:00 [I|app|9ba7e470] Processing by HostsController#show as */*
2023-03-30T13:24:00 [I|app|9ba7e470]   Parameters: {"id"=>"smcbgeddtest420.piointernal.prowler.io"}
2023-03-30T13:24:01 [I|app|9ba7e470] Deface: [WARNING] No :original defined for 'host_expiry_waring_in_show', you should change its definition to include:
2023-03-30T13:24:01 [W|app|9ba7e470] Missing partial /hosts/_expired_message.html.erb with {:locale=>[:"en-GB", :en], :formats=>[:html], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :rabl]}. Searched in:
2023-03-30T13:24:01 [I|app|9ba7e470] Backtrace for 'Missing partial /hosts/_expired_message.html.erb with {:locale=>[:"en-GB", :en], :formats=>[:html], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :rabl]}. Searched in:
2023-03-30T13:24:01 [I|app|9ba7e470]   Rendered common/500.html.erb (Duration: 11.0ms | Allocations: 6318)
2023-03-30T13:24:01 [I|app|9ba7e470] Completed 500 Internal Server Error in 40ms (Views: 12.1ms | ActiveRecord: 3.4ms | Allocations: 14553)

Output of Production.log for the provision

2023-03-30T13:23:59 [I|app|56184955] Started PATCH "/discovered_hosts/377" for 10.70.0.110 at 2023-03-30 13:23:59 +0000
2023-03-30T13:23:59 [I|app|56184955] Processing by DiscoveredHostsController#update as */*
2023-03-30T13:23:59 [I|app|56184955]   Parameters: {"utf8"=>"✓", "authenticity_token"=>"vjl83ESpzGaJrSSz0A/+EHdVKRYy6bAvwyXbFSEm+u+
JU6JN1XS2eNPt4mTDw/bVpjFoA9WsSFNe/sB5oyh30Q==", "host"=>{"name"=>"smcbgeddtest420", "organization_id"=>"3", "location_id"=>"5", "ho
stgroup_id"=>"16", "puppetclass_ids"=>[""], "managed"=>"true", "progress_report_id"=>"[FILTERED]", "type"=>"Host::Managed", "interf
aces_attributes"=>{"0"=>{"_destroy"=>"0", "mac"=>"18:31:bf:e0:2b:ee", "identifier"=>"eno1", "name"=>"smcbgeddtest420", "domain_id"=
>"2", "subnet_id"=>"1", "ip"=>"10.10.3.19", "ip6"=>"", "managed"=>"1", "primary"=>"1", "provision"=>"1", "execution"=>"0", "tag"=>"
", "attached_to"=>"", "id"=>"3294"}}, "architecture_id"=>"1", "operatingsystem_id"=>"21", "build"=>"1", "medium_id"=>"10", "ptable_
id"=>"339", "pxe_loader"=>"Grub2 UEFI", "disk"=>"", "host_parameters_attributes"=>{"1680182634209"=>{"name"=>"domain_join_end_usern
ame", "parameter_type"=>"string", "value"=>"[FILTERED]", "hidden_value"=>"[FILTERED]", "_destroy"=>"false"}}, "is_owned_by"=>"", "e
nabled"=>"1", "model_id"=>"20", "expired_on"=>"", "comment"=>"", "overwrite"=>"false"}, "id"=>"377"}
2023-03-30T13:23:59 [W|api|56184955] param discovered_host[puppetclass_*] has been deprecated in favor of discovered_host[puppet_at
tributes][puppetclass_*]
2023-03-30T13:23:59 [W|app|56184955] Scoped order is ignored, it's forced to be batch order.
2023-03-30T13:24:00 [I|app|56184955] Deploying TFTP PXELinux configuration for smcbgeddtest420.piointernal.prowler.io
2023-03-30T13:24:00 [I|app|56184955] Deploying TFTP PXEGrub2 configuration for smcbgeddtest420.piointernal.prowler.io
2023-03-30T13:24:00 [I|app|56184955] Skipping TFTP PXEGrub configuration for smcbgeddtest420.piointernal.prowler.io
2023-03-30T13:24:00 [I|app|56184955] Skipping TFTP iPXE configuration for smcbgeddtest420.piointernal.prowler.io
2023-03-30T13:24:00 [I|app|56184955] Fetching required TFTP boot files for smcbgeddtest420.piointernal.prowler.io
2023-03-30T13:24:00 [I|app|56184955] Processed 5 tasks from queue 'Host::Managed Main', completed 5/5
2023-03-30T13:24:00 [I|aud|56184955] Host::Base (377) update event on name mac1831bfe02bee, smcbgeddtest420.piointernal.prowler.io
2023-03-30T13:24:00 [I|aud|56184955] Host::Base (377) update event on architecture_id , 1
2023-03-30T13:24:00 [I|aud|56184955] Host::Base (377) update event on operatingsystem_id , 21
2023-03-30T13:24:00 [I|aud|56184955] Host::Base (377) update event on ptable_id , 339
2023-03-30T13:24:00 [I|aud|56184955] Host::Base (377) update event on medium_id , 10
2023-03-30T13:24:00 [I|aud|56184955] Host::Base (377) update event on build false, true
2023-03-30T13:24:00 [I|aud|56184955] Host::Base (377) update event on comment , 
2023-03-30T13:24:00 [I|aud|56184955] Host::Base (377) update event on disk , 
2023-03-30T13:24:00 [I|aud|56184955] Host::Base (377) update event on hostgroup_id , 16
2023-03-30T13:24:00 [I|aud|56184955] Host::Base (377) update event on owner_id 1, 4
2023-03-30T13:24:00 [I|aud|56184955] Host::Base (377) update event on puppet_ca_proxy_id , 2
2023-03-30T13:24:00 [I|aud|56184955] Host::Base (377) update event on managed false, true
2023-03-30T13:24:00 [I|aud|56184955] Host::Base (377) update event on puppet_proxy_id , 3
2023-03-30T13:24:00 [I|aud|56184955] Host::Base (377) update event on grub_pass , 
2023-03-30T13:24:00 [I|aud|56184955] Host::Base (377) update event on pxe_loader , Grub2 UEFI
2023-03-30T13:24:00 [I|aud|56184955] Nic::Managed (3294) update event on ip 10.10.3.22, 10.10.3.19
2023-03-30T13:24:00 [I|aud|56184955] Nic::Managed (3294) update event on name mac1831bfe02bee, smcbgeddtest420.piointernal.prowler.
io
2023-03-30T13:24:00 [I|aud|56184955] Nic::Managed (3294) update event on domain_id , 2
2023-03-30T13:24:00 [I|aud|56184955] Nic::Managed (3294) update event on ip6 , 
2023-03-30T13:24:00 [I|aud|56184955] Parameter (501) create event on name domain_join_end_username
2023-03-30T13:24:00 [I|aud|56184955] Parameter (501) create event on value edd
2023-03-30T13:24:00 [I|aud|56184955] Parameter (501) create event on reference_id 377
2023-03-30T13:24:00 [I|aud|56184955] Parameter (501) create event on hidden_value false
2023-03-30T13:24:00 [I|aud|56184955] Parameter (501) create event on key_type string
2023-03-30T13:24:00 [I|aud|56184955] ForemanPuppet::HostPuppetFacet (272) create event on host_id 377
2023-03-30T13:24:00 [I|aud|56184955] ForemanPuppet::HostPuppetFacet (272) create event on environment_id 1
2023-03-30T13:24:00 [I|aud|56184955] ForemanPuppet::HostPuppetFacet (272) create event on puppet_proxy_id 
2023-03-30T13:24:00 [I|app|56184955] Delete the autosign entry for smcbgeddtest420.piointernal.prowler.io
2023-03-30T13:24:00 [I|app|56184955] Remove puppet certificate for smcbgeddtest420.piointernal.prowler.io
2023-03-30T13:24:00 [I|app|56184955] Adding autosign entry for smcbgeddtest420.piointernal.prowler.io
2023-03-30T13:24:00 [I|app|56184955] Processed 4 tasks from queue 'Host::Managed Post', completed 4/4
2023-03-30T13:24:00 [I|app|56184955] Redirected to https://piogcpbelfore02.piointernal.prowler.io/hosts/smcbgeddtest420.piointernal.prowler.io
2023-03-30T13:24:00 [I|app|56184955] Completed 302 Found in 1383ms (ActiveRecord: 136.8ms | Allocations: 168633)
2023-03-30T13:24:00 [I|app|9ba7e470] Started GET "/hosts/smcbgeddtest420.piointernal.prowler.io" for 10.70.0.110 at 2023-03-30 13:24:00 +0000
2023-03-30T13:24:00 [I|app|9ba7e470] Processing by HostsController#show as */*
2023-03-30T13:24:00 [I|app|9ba7e470]   Parameters: {"id"=>"smcbgeddtest420.piointernal.prowler.io"}
2023-03-30T13:24:01 [I|app|9ba7e470] ESC[1;32mDeface: [WARNING]ESC[0m No :original defined for 'host_expiry_waring_in_show', you should change its definition to include:
 :original => '04eff2647b0286f740745ea4dac125f4fae83b15' 
2023-03-30T13:24:01 [W|app|9ba7e470] Missing partial /hosts/_expired_message.html.erb with {:locale=>[:"en-GB", :en], :formats=>[:html], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :rabl]}. Searched in:
  * "/usr/share/foreman/app/views"
  * "/usr/share/gems/gems/foreman_expire_hosts-8.1.0/app/views"
  * "/usr/share/gems/gems/foreman_fog_proxmox-0.14.0/app/views"
  * "/usr/share/gems/gems/foreman_remote_execution-9.1.0/app/views"
  * "/usr/share/gems/gems/foreman-tasks-7.2.1/app/views"
  * "/usr/share/gems/gems/foreman_discovery-22.0.4/app/views"
  * "/usr/share/gems/gems/foreman_puppet-5.0.0/app/views"
  * "/usr/share/gems/gems/apipie-dsl-2.5.0/app/views"
  * "/usr/share/gems/gems/apipie-rails-0.8.2/app/views"

2023-03-30T13:24:01 [I|app|9ba7e470] Backtrace for 'Missing partial /hosts/_expired_message.html.erb with {:locale=>[:"en-GB", :en], :formats=>[:html], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :rabl]}. Searched in:
  * "/usr/share/foreman/app/views"
  * "/usr/share/gems/gems/foreman_expire_hosts-8.1.0/app/views"
  * "/usr/share/gems/gems/foreman_fog_proxmox-0.14.0/app/views"
  * "/usr/share/gems/gems/foreman_remote_execution-9.1.0/app/views"
  * "/usr/share/gems/gems/foreman-tasks-7.2.1/app/views"
  * "/usr/share/gems/gems/foreman_discovery-22.0.4/app/views"
  * "/usr/share/gems/gems/foreman_puppet-5.0.0/app/views"
  * "/usr/share/gems/gems/apipie-dsl-2.5.0/app/views"
  * "/usr/share/gems/gems/apipie-rails-0.8.2/app/views"
' error (ActionView::MissingTemplate): Missing partial /hosts/_expired_message.html.erb with {:locale=>[:"en-GB", :en], :formats=>[:html], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :rabl]}. Searched in:
  * "/usr/share/foreman/app/views"
  * "/usr/share/gems/gems/foreman_expire_hosts-8.1.0/app/views"
  * "/usr/share/gems/gems/foreman_fog_proxmox-0.14.0/app/views"
  * "/usr/share/gems/gems/foreman_remote_execution-9.1.0/app/views"
  * "/usr/share/gems/gems/foreman-tasks-7.2.1/app/views"
  * "/usr/share/gems/gems/foreman_discovery-22.0.4/app/views"
  * "/usr/share/gems/gems/foreman_puppet-5.0.0/app/views"
  * "/usr/share/gems/gems/apipie-dsl-2.5.0/app/views"
  * "/usr/share/gems/gems/apipie-rails-0.8.2/app/views"

/usr/share/gems/gems/actionview-6.1.7.3/lib/action_view/path_set.rb:48:in `find'
/usr/share/gems/gems/actionview-6.1.7.3/lib/action_view/lookup_context.rb:127:in `find'
/usr/share/gems/gems/deface-1.5.3/lib/deface/template_helper.rb:20:in `block in load_template_source'
/usr/share/gems/gems/actionview-6.1.7.3/lib/action_view/lookup_context.rb:108:in `disable_cache'
/usr/share/gems/gems/deface-1.5.3/lib/deface/template_helper.rb:19:in `load_template_source'
/usr/share/gems/gems/deface-1.5.3/lib/deface/sources/partial.rb:9:in `execute'
/usr/share/gems/gems/deface-1.5.3/lib/deface/override.rb:144:in `source'
/usr/share/gems/gems/deface-1.5.3/lib/deface/override.rb:154:in `source_element'
/usr/share/gems/gems/deface-1.5.3/lib/deface/override.rb:159:in `safe_source_element'
/usr/share/gems/gems/deface-1.5.3/lib/deface/applicator.rb:78:in `create_action_command'
/usr/share/gems/gems/deface-1.5.3/lib/deface/applicator.rb:67:in `execute_action'
/usr/share/gems/gems/deface-1.5.3/lib/deface/applicator.rb:47:in `block (2 levels) in apply'
/usr/share/gems/gems/deface-1.5.3/lib/deface/applicator.rb:47:in `each'
/usr/share/gems/gems/deface-1.5.3/lib/deface/applicator.rb:47:in `block in apply'
/usr/share/gems/gems/deface-1.5.3/lib/deface/applicator.rb:24:in `each'
/usr/share/gems/gems/deface-1.5.3/lib/deface/applicator.rb:24:in `apply'
/usr/share/gems/gems/deface-1.5.3/lib/deface/action_view_extensions.rb:9:in `initialize'
/usr/share/gems/gems/actionview-6.1.7.3/lib/action_view/unbound_template.rb:23:in `new'
/usr/share/gems/gems/actionview-6.1.7.3/lib/action_view/unbound_template.rb:23:in `build_template'
/usr/share/gems/gems/actionview-6.1.7.3/lib/action_view/unbound_template.rb:17:in `bind_locals'
/usr/share/gems/gems/actionview-6.1.7.3/lib/action_view/template/resolver.rb:232:in `block in query'
/usr/share/gems/gems/actionview-6.1.7.3/lib/action_view/template/resolver.rb:222:in `map'
/usr/share/gems/gems/actionview-6.1.7.3/lib/action_view/template/resolver.rb:222:in `query'
/usr/share/gems/gems/actionview-6.1.7.3/lib/action_view/template/resolver.rb:215:in `_find_all'
/usr/share/gems/gems/actionview-6.1.7.3/lib/action_view/template/resolver.rb:155:in `block in find_all'
/usr/share/gems/gems/actionview-6.1.7.3/lib/action_view/template/resolver.rb:186:in `block in cached'
/usr/share/gems/gems/actionview-6.1.7.3/lib/action_view/template/resolver.rb:101:in `cache'
/usr/share/gems/gems/actionview-6.1.7.3/lib/action_view/template/resolver.rb:185:in `cached'
/usr/share/gems/gems/actionview-6.1.7.3/lib/action_view/template/resolver.rb:154:in `find_all'
/usr/share/gems/gems/actionview-6.1.7.3/lib/action_view/path_set.rb:73:in `block (2 levels) in _find_all'
/usr/share/gems/gems/actionview-6.1.7.3/lib/action_view/path_set.rb:72:in `each'
/usr/share/gems/gems/actionview-6.1.7.3/lib/action_view/path_set.rb:72:in `block in _find_all'
/usr/share/gems/gems/actionview-6.1.7.3/lib/action_view/path_set.rb:71:in `each'
/usr/share/gems/gems/actionview-6.1.7.3/lib/action_view/path_set.rb:71:in `_find_all'
/usr/share/gems/gems/actionview-6.1.7.3/lib/action_view/path_set.rb:52:in `find_all'
/usr/share/gems/gems/actionview-6.1.7.3/lib/action_view/path_set.rb:56:in `exists?'
/usr/share/gems/gems/actionview-6.1.7.3/lib/action_view/lookup_context.rb:136:in `exists?'
/usr/share/gems/gems/actionview-6.1.7.3/lib/action_view/view_paths.rb:11:in `template_exists?'
/usr/share/gems/gems/actionpack-6.1.7.3/lib/action_controller/metal/implicit_render.rb:34:in `default_render'
/usr/share/gems/gems/actionpack-6.1.7.3/lib/action_controller/metal/basic_implicit_render.rb:6:in `block in send_action'
/usr/share/gems/gems/actionpack-6.1.7.3/lib/action_controller/metal/basic_implicit_render.rb:6:in `tap'
/usr/share/gems/gems/actionpack-6.1.7.3/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
/usr/share/gems/gems/actionpack-6.1.7.3/lib/abstract_controller/base.rb:228:in `process_action'
/usr/share/gems/gems/actionpack-6.1.7.3/lib/action_controller/metal/rendering.rb:30:in `process_action'
/usr/share/gems/gems/actionpack-6.1.7.3/lib/abstract_controller/callbacks.rb:42:in `block in process_action'
/usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
/usr/share/foreman/app/controllers/concerns/foreman/controller/timezone.rb:10:in `set_timezone'
/usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
/usr/share/foreman/app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
/usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
/usr/share/foreman/app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in `set_topbar_sweeper_controller'
/usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
/usr/share/gems/gems/audited-5.3.1/lib/audited/sweeper.rb:16:in `around'
/usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
/usr/share/gems/gems/audited-5.3.1/lib/audited/sweeper.rb:16:in `around'
/usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
/usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:137:in `run_callbacks'
/usr/share/gems/gems/actionpack-6.1.7.3/lib/abstract_controller/callbacks.rb:41:in `process_action'
/usr/share/gems/gems/actionpack-6.1.7.3/lib/action_controller/metal/rescue.rb:22:in `process_action'
/usr/share/gems/gems/actionpack-6.1.7.3/lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'
/usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/notifications.rb:203:in `block in instrument'
/usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
/usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/notifications.rb:203:in `instrument'
/usr/share/gems/gems/actionpack-6.1.7.3/lib/action_controller/metal/instrumentation.rb:33:in `process_action'
/usr/share/gems/gems/actionpack-6.1.7.3/lib/action_controller/metal/params_wrapper.rb:249:in `process_action'
/usr/share/gems/gems/activerecord-6.1.7.3/lib/active_record/railties/controller_runtime.rb:27:in `process_action'
/usr/share/gems/gems/actionpack-6.1.7.3/lib/abstract_controller/base.rb:165:in `process'
/usr/share/gems/gems/actionview-6.1.7.3/lib/action_view/rendering.rb:39:in `process'
/usr/share/gems/gems/actionpack-6.1.7.3/lib/action_controller/metal.rb:190:in `dispatch'
/usr/share/gems/gems/actionpack-6.1.7.3/lib/action_controller/metal.rb:254:in `dispatch'
/usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
/usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/routing/route_set.rb:33:in `serve'
/usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/journey/router.rb:50:in `block in serve'
/usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/journey/router.rb:32:in `each'
/usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/journey/router.rb:32:in `serve'
/usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/routing/route_set.rb:842:in `call'
/usr/share/gems/gems/apipie-dsl-2.5.0/lib/apipie_dsl/static_dispatcher.rb:67:in `call'
/usr/share/gems/gems/apipie-rails-0.8.2/lib/apipie/static_dispatcher.rb:68:in `call'
/usr/share/gems/gems/apipie-rails-0.8.2/lib/apipie/extractor/recorder.rb:137:in `call'
/usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/static.rb:24:in `call'
/usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/static.rb:24:in `call'
/usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/static.rb:24:in `call'
/usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/static.rb:24:in `call'
/usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/static.rb:24:in `call'
/usr/share/foreman/lib/foreman/middleware/libvirt_connection_cleaner.rb:9:in `call'
/usr/share/foreman/lib/foreman/middleware/telemetry.rb:10:in `call'
/usr/share/gems/gems/apipie-rails-0.8.2/lib/apipie/middleware/checksum_in_headers.rb:27:in `call'
/usr/share/gems/gems/rack-2.2.6.2/lib/rack/tempfile_reaper.rb:15:in `call'
/usr/share/gems/gems/rack-2.2.6.2/lib/rack/etag.rb:27:in `call'
/usr/share/gems/gems/rack-2.2.6.2/lib/rack/conditional_get.rb:27:in `call'
/usr/share/gems/gems/rack-2.2.6.2/lib/rack/head.rb:12:in `call'
/usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/http/permissions_policy.rb:22:in `call'
/usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/http/content_security_policy.rb:19:in `call'
/usr/share/foreman/lib/foreman/middleware/logging_context_session.rb:22:in `call'
/usr/share/gems/gems/rack-2.2.6.2/lib/rack/session/abstract/id.rb:266:in `context'
/usr/share/gems/gems/rack-2.2.6.2/lib/rack/session/abstract/id.rb:260:in `call'
/usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/cookies.rb:697:in `call'
/usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'
/usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:98:in `run_callbacks'
/usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/callbacks.rb:26:in `call'
/usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'
/usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call'
/usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
/usr/share/gems/gems/railties-6.1.7.3/lib/rails/rack/logger.rb:37:in `call_app'
/usr/share/gems/gems/railties-6.1.7.3/lib/rails/rack/logger.rb:28:in `call'
/usr/share/gems/gems/sprockets-rails-3.4.2/lib/sprockets/rails/quiet_assets.rb:13:in `call'
/usr/share/foreman/lib/foreman/middleware/logging_context_request.rb:11:in `call'
/usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
/usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/request_id.rb:26:in `call'
/usr/share/gems/gems/rack-2.2.6.2/lib/rack/method_override.rb:24:in `call'
/usr/share/gems/gems/rack-2.2.6.2/lib/rack/runtime.rb:22:in `call'
/usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
/usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/executor.rb:14:in `call'
/usr/share/gems/gems/rack-2.2.6.2/lib/rack/sendfile.rb:110:in `call'
/usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/ssl.rb:77:in `call'
/usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/host_authorization.rb:142:in `call'
/usr/share/gems/gems/secure_headers-6.5.0/lib/secure_headers/middleware.rb:11:in `call'
/usr/share/gems/gems/railties-6.1.7.3/lib/rails/engine.rb:539:in `call'
/usr/share/gems/gems/railties-6.1.7.3/lib/rails/railtie.rb:207:in `public_send'
/usr/share/gems/gems/railties-6.1.7.3/lib/rails/railtie.rb:207:in `method_missing'
/usr/share/gems/gems/rack-2.2.6.2/lib/rack/urlmap.rb:74:in `block in call'
/usr/share/gems/gems/rack-2.2.6.2/lib/rack/urlmap.rb:58:in `each'
/usr/share/gems/gems/rack-2.2.6.2/lib/rack/urlmap.rb:58:in `call'
/usr/share/gems/gems/puma-5.6.5/lib/puma/configuration.rb:252:in `call'
/usr/share/gems/gems/puma-5.6.5/lib/puma/request.rb:77:in `block in handle_request'
/usr/share/gems/gems/puma-5.6.5/lib/puma/thread_pool.rb:340:in `with_force_shutdown'
/usr/share/gems/gems/puma-5.6.5/lib/puma/request.rb:76:in `handle_request'
/usr/share/gems/gems/puma-5.6.5/lib/puma/server.rb:443:in `process_client'
/usr/share/gems/gems/puma-5.6.5/lib/puma/thread_pool.rb:147:in `block in spawn_thread'
/usr/share/gems/gems/logging-2.3.1/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
2023-03-30T13:24:01 [I|app|9ba7e470]   Rendered common/500.html.erb (Duration: 11.0ms | Allocations: 6318)
2023-03-30T13:24:01 [I|app|9ba7e470] Completed 500 Internal Server Error in 40ms (Views: 12.1ms | ActiveRecord: 3.4ms | Allocations: 14553)
1 Like

Similar error occurs when switching to the Host “legacy UI” view
Foreman version: 3.5.3
Plugins:

  • foreman-tasks 7.1.1
  • foreman_ansible 10.4.1
  • foreman_bootdisk 21.0.3
  • foreman_expire_hosts 8.1.0
  • foreman_leapp 0.1.13
  • foreman_puppet 5.0.0
  • foreman_remote_execution 8.2.0
  • foreman_snapshot_management 2.0.3
  • foreman_templates 9.3.0
  • foreman_virt_who_configure 0.5.10
  • foreman_webhooks 3.0.5
  • katello 4.7.4
 2023-05-24T14:03:20 [I|app|c65ca19a] Deface: [WARNING] No :original defined for 'host_expiry_waring_in_show', you should change its definition to include:
 c65ca19a |  :original => '04eff2647b0286f740745ea4dac125f4fae83b15' 
2023-05-24T14:03:20 [W|app|c65ca19a] Missing partial /hosts/_expired_message.html.erb with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :rabl]}. Searched in:
 c65ca19a |   * "/usr/share/foreman/app/views"
 c65ca19a |   * "/usr/share/gems/gems/foreman_expire_hosts-8.1.0/app/views"
 c65ca19a |   * "/usr/share/gems/gems/foreman_templates-9.3.0/app/views"
 c65ca19a |   * "/usr/share/gems/gems/foreman_webhooks-3.0.5/app/views"
 c65ca19a |   * "/usr/share/gems/gems/foreman_virt_who_configure-0.5.10/app/views"
 c65ca19a |   * "/usr/share/gems/gems/foreman_snapshot_management-2.0.3/app/views"
 c65ca19a |   * "/usr/share/gems/gems/foreman_puppet-5.0.0/app/views"
 c65ca19a |   * "/usr/share/gems/gems/foreman_leapp-0.1.13/app/views"
 c65ca19a |   * "/usr/share/gems/gems/foreman_ansible-10.4.1/app/views"
 c65ca19a |   * "/usr/share/gems/gems/foreman_bootdisk-21.0.3/app/views"
 c65ca19a |   * "/usr/share/gems/gems/katello-4.7.4/app/views"
 c65ca19a |   * "/usr/share/gems/gems/katello-4.7.4/engines/bastion/app/views"
 c65ca19a |   * "/usr/share/gems/gems/foreman_remote_execution-8.2.0/app/views"
 c65ca19a |   * "/usr/share/gems/gems/foreman-tasks-7.1.1/app/views"
 c65ca19a |   * "/usr/share/gems/gems/apipie-dsl-2.5.0/app/views"
 c65ca19a |   * "/usr/share/gems/gems/apipie-rails-0.8.2/app/views"
 c65ca19a | 
2023-05-24T14:03:20 [I|app|c65ca19a] Backtrace for 'Missing partial /hosts/_expired_message.html.erb with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :rabl]}. Searched in:
 c65ca19a |   * "/usr/share/foreman/app/views"
 c65ca19a |   * "/usr/share/gems/gems/foreman_expire_hosts-8.1.0/app/views"
 c65ca19a |   * "/usr/share/gems/gems/foreman_templates-9.3.0/app/views"
 c65ca19a |   * "/usr/share/gems/gems/foreman_webhooks-3.0.5/app/views"
 c65ca19a |   * "/usr/share/gems/gems/foreman_virt_who_configure-0.5.10/app/views"
 c65ca19a |   * "/usr/share/gems/gems/foreman_snapshot_management-2.0.3/app/views"
 c65ca19a |   * "/usr/share/gems/gems/foreman_puppet-5.0.0/app/views"
 c65ca19a |   * "/usr/share/gems/gems/foreman_leapp-0.1.13/app/views"
 c65ca19a |   * "/usr/share/gems/gems/foreman_ansible-10.4.1/app/views"
 c65ca19a |   * "/usr/share/gems/gems/foreman_bootdisk-21.0.3/app/views"
 c65ca19a |   * "/usr/share/gems/gems/katello-4.7.4/app/views"
 c65ca19a |   * "/usr/share/gems/gems/katello-4.7.4/engines/bastion/app/views"
 c65ca19a |   * "/usr/share/gems/gems/foreman_remote_execution-8.2.0/app/views"
 c65ca19a |   * "/usr/share/gems/gems/foreman-tasks-7.1.1/app/views"
 c65ca19a |   * "/usr/share/gems/gems/apipie-dsl-2.5.0/app/views"
 c65ca19a |   * "/usr/share/gems/gems/apipie-rails-0.8.2/app/views"
 c65ca19a | ' error (ActionView::MissingTemplate): Missing partial /hosts/_expired_message.html.erb with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :rabl]}. Searched in:
 c65ca19a |   * "/usr/share/foreman/app/views"
 c65ca19a |   * "/usr/share/gems/gems/foreman_expire_hosts-8.1.0/app/views"
 c65ca19a |   * "/usr/share/gems/gems/foreman_templates-9.3.0/app/views"
 c65ca19a |   * "/usr/share/gems/gems/foreman_webhooks-3.0.5/app/views"
 c65ca19a |   * "/usr/share/gems/gems/foreman_virt_who_configure-0.5.10/app/views"
 c65ca19a |   * "/usr/share/gems/gems/foreman_snapshot_management-2.0.3/app/views"
 c65ca19a |   * "/usr/share/gems/gems/foreman_puppet-5.0.0/app/views"
 c65ca19a |   * "/usr/share/gems/gems/foreman_leapp-0.1.13/app/views"
 c65ca19a |   * "/usr/share/gems/gems/foreman_ansible-10.4.1/app/views"
 c65ca19a |   * "/usr/share/gems/gems/foreman_bootdisk-21.0.3/app/views"
 c65ca19a |   * "/usr/share/gems/gems/katello-4.7.4/app/views"
 c65ca19a |   * "/usr/share/gems/gems/katello-4.7.4/engines/bastion/app/views"
 c65ca19a |   * "/usr/share/gems/gems/foreman_remote_execution-8.2.0/app/views"
 c65ca19a |   * "/usr/share/gems/gems/foreman-tasks-7.1.1/app/views"
 c65ca19a |   * "/usr/share/gems/gems/apipie-dsl-2.5.0/app/views"
 c65ca19a |   * "/usr/share/gems/gems/apipie-rails-0.8.2/app/views"
 c65ca19a | 
 c65ca19a | /usr/share/gems/gems/actionview-6.1.7.3/lib/action_view/path_set.rb:48:in `find'
 c65ca19a | /usr/share/gems/gems/actionview-6.1.7.3/lib/action_view/lookup_context.rb:127:in `find'
 c65ca19a | /usr/share/gems/gems/deface-1.5.3/lib/deface/template_helper.rb:20:in `block in load_template_source'
 c65ca19a | /usr/share/gems/gems/actionview-6.1.7.3/lib/action_view/lookup_context.rb:108:in `disable_cache'
 c65ca19a | /usr/share/gems/gems/deface-1.5.3/lib/deface/template_helper.rb:19:in `load_template_source'
 c65ca19a | /usr/share/gems/gems/deface-1.5.3/lib/deface/sources/partial.rb:9:in `execute'
 c65ca19a | /usr/share/gems/gems/deface-1.5.3/lib/deface/override.rb:144:in `source'
 c65ca19a | /usr/share/gems/gems/deface-1.5.3/lib/deface/override.rb:154:in `source_element'
 c65ca19a | /usr/share/gems/gems/deface-1.5.3/lib/deface/override.rb:159:in `safe_source_element'
 c65ca19a | /usr/share/gems/gems/deface-1.5.3/lib/deface/applicator.rb:78:in `create_action_command'
 c65ca19a | /usr/share/gems/gems/deface-1.5.3/lib/deface/applicator.rb:67:in `execute_action'
 c65ca19a | /usr/share/gems/gems/deface-1.5.3/lib/deface/applicator.rb:47:in `block (2 levels) in apply'
 c65ca19a | /usr/share/gems/gems/deface-1.5.3/lib/deface/applicator.rb:47:in `each'
 c65ca19a | /usr/share/gems/gems/deface-1.5.3/lib/deface/applicator.rb:47:in `block in apply'
 c65ca19a | /usr/share/gems/gems/deface-1.5.3/lib/deface/applicator.rb:24:in `each'
 c65ca19a | /usr/share/gems/gems/deface-1.5.3/lib/deface/applicator.rb:24:in `apply'
 c65ca19a | /usr/share/gems/gems/deface-1.5.3/lib/deface/action_view_extensions.rb:9:in `initialize'
 c65ca19a | /usr/share/gems/gems/actionview-6.1.7.3/lib/action_view/unbound_template.rb:23:in `new'
 c65ca19a | /usr/share/gems/gems/actionview-6.1.7.3/lib/action_view/unbound_template.rb:23:in `build_template'
 c65ca19a | /usr/share/gems/gems/actionview-6.1.7.3/lib/action_view/unbound_template.rb:17:in `bind_locals'
 c65ca19a | /usr/share/gems/gems/actionview-6.1.7.3/lib/action_view/template/resolver.rb:232:in `block in query'
 c65ca19a | /usr/share/gems/gems/actionview-6.1.7.3/lib/action_view/template/resolver.rb:222:in `map'
 c65ca19a | /usr/share/gems/gems/actionview-6.1.7.3/lib/action_view/template/resolver.rb:222:in `query'
 c65ca19a | /usr/share/gems/gems/actionview-6.1.7.3/lib/action_view/template/resolver.rb:215:in `_find_all'
 c65ca19a | /usr/share/gems/gems/actionview-6.1.7.3/lib/action_view/template/resolver.rb:155:in `block in find_all'
 c65ca19a | /usr/share/gems/gems/actionview-6.1.7.3/lib/action_view/template/resolver.rb:186:in `block in cached'
 c65ca19a | /usr/share/gems/gems/actionview-6.1.7.3/lib/action_view/template/resolver.rb:101:in `cache'
 c65ca19a | /usr/share/gems/gems/actionview-6.1.7.3/lib/action_view/template/resolver.rb:185:in `cached'
 c65ca19a | /usr/share/gems/gems/actionview-6.1.7.3/lib/action_view/template/resolver.rb:154:in `find_all'
 c65ca19a | /usr/share/gems/gems/actionview-6.1.7.3/lib/action_view/path_set.rb:73:in `block (2 levels) in _find_all'
 c65ca19a | /usr/share/gems/gems/actionview-6.1.7.3/lib/action_view/path_set.rb:72:in `each'
 c65ca19a | /usr/share/gems/gems/actionview-6.1.7.3/lib/action_view/path_set.rb:72:in `block in _find_all'
 c65ca19a | /usr/share/gems/gems/actionview-6.1.7.3/lib/action_view/path_set.rb:71:in `each'
 c65ca19a | /usr/share/gems/gems/actionview-6.1.7.3/lib/action_view/path_set.rb:71:in `_find_all'
 c65ca19a | /usr/share/gems/gems/actionview-6.1.7.3/lib/action_view/path_set.rb:52:in `find_all'
 c65ca19a | /usr/share/gems/gems/actionview-6.1.7.3/lib/action_view/path_set.rb:56:in `exists?'
 c65ca19a | /usr/share/gems/gems/actionview-6.1.7.3/lib/action_view/lookup_context.rb:136:in `exists?'
 c65ca19a | /usr/share/gems/gems/actionview-6.1.7.3/lib/action_view/view_paths.rb:11:in `template_exists?'
 c65ca19a | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_controller/metal/implicit_render.rb:34:in `default_render'
 c65ca19a | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_controller/metal/basic_implicit_render.rb:6:in `block in send_action'
 c65ca19a | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_controller/metal/basic_implicit_render.rb:6:in `tap'
 c65ca19a | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
 c65ca19a | /usr/share/gems/gems/actionpack-6.1.7.3/lib/abstract_controller/base.rb:228:in `process_action'
 c65ca19a | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_controller/metal/rendering.rb:30:in `process_action'
 c65ca19a | /usr/share/gems/gems/actionpack-6.1.7.3/lib/abstract_controller/callbacks.rb:42:in `block in process_action'
 c65ca19a | /usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
 c65ca19a | /usr/share/foreman/app/controllers/concerns/foreman/controller/timezone.rb:10:in `set_timezone'
 c65ca19a | /usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
 c65ca19a | /usr/share/foreman/app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
 c65ca19a | /usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
 c65ca19a | /usr/share/foreman/app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in `set_topbar_sweeper_controller'
 c65ca19a | /usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
 c65ca19a | /usr/share/gems/gems/audited-5.0.2/lib/audited/sweeper.rb:16:in `around'
 c65ca19a | /usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
 c65ca19a | /usr/share/gems/gems/audited-5.0.2/lib/audited/sweeper.rb:16:in `around'
 c65ca19a | /usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
 c65ca19a | /usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:137:in `run_callbacks'
 c65ca19a | /usr/share/gems/gems/actionpack-6.1.7.3/lib/abstract_controller/callbacks.rb:41:in `process_action'
 c65ca19a | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_controller/metal/rescue.rb:22:in `process_action'
 c65ca19a | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'
 c65ca19a | /usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/notifications.rb:203:in `block in instrument'
 c65ca19a | /usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
 c65ca19a | /usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/notifications.rb:203:in `instrument'
 c65ca19a | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_controller/metal/instrumentation.rb:33:in `process_action'
 c65ca19a | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_controller/metal/params_wrapper.rb:249:in `process_action'
 c65ca19a | /usr/share/gems/gems/activerecord-6.1.7.3/lib/active_record/railties/controller_runtime.rb:27:in `process_action'
 c65ca19a | /usr/share/gems/gems/actionpack-6.1.7.3/lib/abstract_controller/base.rb:165:in `process'
 c65ca19a | /usr/share/gems/gems/actionview-6.1.7.3/lib/action_view/rendering.rb:39:in `process'
 c65ca19a | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_controller/metal.rb:190:in `dispatch'
 c65ca19a | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_controller/metal.rb:254:in `dispatch'
 c65ca19a | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
 c65ca19a | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/routing/route_set.rb:33:in `serve'
 c65ca19a | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/journey/router.rb:50:in `block in serve'
 c65ca19a | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/journey/router.rb:32:in `each'
 c65ca19a | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/journey/router.rb:32:in `serve'
 c65ca19a | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/routing/route_set.rb:842:in `call'
 c65ca19a | /usr/share/gems/gems/katello-4.7.4/lib/katello/middleware/organization_created_enforcer.rb:18:in `call'
 c65ca19a | /usr/share/gems/gems/katello-4.7.4/lib/katello/middleware/event_daemon.rb:10:in `call'
 c65ca19a | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/static.rb:24:in `call'
 c65ca19a | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/static.rb:24:in `call'
 c65ca19a | /usr/share/gems/gems/apipie-dsl-2.5.0/lib/apipie_dsl/static_dispatcher.rb:67:in `call'
 c65ca19a | /usr/share/gems/gems/apipie-rails-0.8.2/lib/apipie/static_dispatcher.rb:68:in `call'
 c65ca19a | /usr/share/gems/gems/apipie-rails-0.8.2/lib/apipie/extractor/recorder.rb:137:in `call'
 c65ca19a | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/static.rb:24:in `call'
 c65ca19a | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/static.rb:24:in `call'
 c65ca19a | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/static.rb:24:in `call'
 c65ca19a | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/static.rb:24:in `call'
 c65ca19a | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/static.rb:24:in `call'
 c65ca19a | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/static.rb:24:in `call'
 c65ca19a | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/static.rb:24:in `call'
 c65ca19a | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/static.rb:24:in `call'
 c65ca19a | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/static.rb:24:in `call'
 c65ca19a | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/static.rb:24:in `call'
 c65ca19a | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/static.rb:24:in `call'
 c65ca19a | /usr/share/foreman/lib/foreman/middleware/libvirt_connection_cleaner.rb:9:in `call'
 c65ca19a | /usr/share/foreman/lib/foreman/middleware/telemetry.rb:10:in `call'
 c65ca19a | /usr/share/gems/gems/apipie-rails-0.8.2/lib/apipie/middleware/checksum_in_headers.rb:27:in `call'
 c65ca19a | /usr/share/gems/gems/rack-2.2.4/lib/rack/tempfile_reaper.rb:15:in `call'
 c65ca19a | /usr/share/gems/gems/rack-2.2.4/lib/rack/etag.rb:27:in `call'
 c65ca19a | /usr/share/gems/gems/rack-2.2.4/lib/rack/conditional_get.rb:27:in `call'
 c65ca19a | /usr/share/gems/gems/rack-2.2.4/lib/rack/head.rb:12:in `call'
 c65ca19a | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/http/permissions_policy.rb:22:in `call'
 c65ca19a | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/http/content_security_policy.rb:19:in `call'
 c65ca19a | /usr/share/foreman/lib/foreman/middleware/logging_context_session.rb:22:in `call'
 c65ca19a | /usr/share/gems/gems/rack-2.2.4/lib/rack/session/abstract/id.rb:266:in `context'
 c65ca19a | /usr/share/gems/gems/rack-2.2.4/lib/rack/session/abstract/id.rb:260:in `call'
 c65ca19a | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/cookies.rb:697:in `call'
 c65ca19a | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'
 c65ca19a | /usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:98:in `run_callbacks'
 c65ca19a | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/callbacks.rb:26:in `call'
 c65ca19a | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'
 c65ca19a | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call'
 c65ca19a | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
 c65ca19a | /usr/share/gems/gems/railties-6.1.7.3/lib/rails/rack/logger.rb:37:in `call_app'
 c65ca19a | /usr/share/gems/gems/railties-6.1.7.3/lib/rails/rack/logger.rb:28:in `call'
 c65ca19a | /usr/share/gems/gems/sprockets-rails-3.4.2/lib/sprockets/rails/quiet_assets.rb:13:in `call'
 c65ca19a | /usr/share/foreman/lib/foreman/middleware/logging_context_request.rb:11:in `call'
 c65ca19a | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
 c65ca19a | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/request_id.rb:26:in `call'
 c65ca19a | /usr/share/gems/gems/katello-4.7.4/lib/katello/prevent_json_parsing.rb:12:in `call'
 c65ca19a | /usr/share/gems/gems/rack-2.2.4/lib/rack/method_override.rb:24:in `call'
 c65ca19a | /usr/share/gems/gems/rack-2.2.4/lib/rack/runtime.rb:22:in `call'
 c65ca19a | /usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
 c65ca19a | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/executor.rb:14:in `call'
 c65ca19a | /usr/share/gems/gems/rack-2.2.4/lib/rack/sendfile.rb:110:in `call'
 c65ca19a | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/ssl.rb:77:in `call'
 c65ca19a | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/host_authorization.rb:142:in `call'
 c65ca19a | /usr/share/gems/gems/secure_headers-6.5.0/lib/secure_headers/middleware.rb:11:in `call'
 c65ca19a | /usr/share/gems/gems/railties-6.1.7.3/lib/rails/engine.rb:539:in `call'
 c65ca19a | /usr/share/gems/gems/railties-6.1.7.3/lib/rails/railtie.rb:207:in `public_send'
 c65ca19a | /usr/share/gems/gems/railties-6.1.7.3/lib/rails/railtie.rb:207:in `method_missing'
 c65ca19a | /usr/share/gems/gems/rack-2.2.4/lib/rack/urlmap.rb:74:in `block in call'
 c65ca19a | /usr/share/gems/gems/rack-2.2.4/lib/rack/urlmap.rb:58:in `each'
 c65ca19a | /usr/share/gems/gems/rack-2.2.4/lib/rack/urlmap.rb:58:in `call'
 c65ca19a | /usr/share/gems/gems/puma-5.6.5/lib/puma/configuration.rb:252:in `call'
 c65ca19a | /usr/share/gems/gems/puma-5.6.5/lib/puma/request.rb:77:in `block in handle_request'
 c65ca19a | /usr/share/gems/gems/puma-5.6.5/lib/puma/thread_pool.rb:340:in `with_force_shutdown'
 c65ca19a | /usr/share/gems/gems/puma-5.6.5/lib/puma/request.rb:76:in `handle_request'
 c65ca19a | /usr/share/gems/gems/puma-5.6.5/lib/puma/server.rb:443:in `process_client'
 c65ca19a | /usr/share/gems/gems/puma-5.6.5/lib/puma/thread_pool.rb:147:in `block in spawn_thread'
 c65ca19a | /usr/share/gems/gems/logging-2.3.1/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
2023-05-24T14:03:20 [I|app|c65ca19a]   Rendered common/500.html.erb within layouts/application (Duration: 42.8ms | Allocations: 6432)
2023-05-24T14:03:21 [I|app|c65ca19a]   Rendered layouts/base.html.erb (Duration: 9.0ms | Allocations: 9249)
2023-05-24T14:03:21 [I|app|c65ca19a]   Rendered layout layouts/application.html.erb (Duration: 86.6ms | Allocations: 27672)
2023-05-24T14:03:21 [I|app|c65ca19a] Completed 500 Internal Server Error in 479ms (Views: 87.8ms | ActiveRecord: 6.2ms | Allocations: 39440)