Hostgroup failed to fetch Ansible Roles from server

Hello,

Fetching ansible roles within a hostgroup won’t work (column ansible_roles.permission does not exist).

My environment:

  • fresh installed CentOS Stream 9
  • Foreman 3.10, Katello 4.12
  • Ansible roles imported via Configure - Ansible - Roles
  • ‘hammer -d ansible roles list’ is working properly

Installed and configured ansible plugins:

  • dnf install ansible-runner
  • dnf install tfm-rubygem-smart_proxy_ansible
  • dnf install rubygem-smart_proxy_ansible
  • dnf install rubygem-hammer_cli_foreman_ansible
  • foreman-installer --enable-foreman-plugin-ansible
  • foreman-installer --enable-foreman-proxy-plugin-ansible

Error:

2024-04-16T08:38:01 [I|app|b1a7c95c] Processing by UiAnsibleRolesController#index as JSON
2024-04-16T08:38:01 [I|app|b1a7c95c]   Parameters: {"search"=>"id !^ (8)", "resource_id"=>"1", "resource_name"=>"Hostgroup"}
2024-04-16T08:38:01 [I|app|b1a7c95c]   Rendered /usr/share/gems/gems/foreman_ansible-13.0.3/app/views/ui_ansible_roles/index.json.rabl within api/v2/layouts/index_layout (Duration: 2.1ms | Allocations: 764)
2024-04-16T08:38:01 [I|app|b1a7c95c]   Rendered layout api/v2/layouts/index_layout.json.erb (Duration: 2.2ms | Allocations: 847)
2024-04-16T08:38:01 [W|app|b1a7c95c] Action failed
2024-04-16T08:38:01 [I|app|b1a7c95c] Backtrace for 'Action failed' error (ActionView::Template::Error): PG::UndefinedColumn: ERROR:  column ansible_roles.permission does not exist
 b1a7c95c | LINE 1: ...LECT "ansible_roles".* FROM "ansible_roles" WHERE "ansible_r...
Installed Packages
ansible-collection-theforeman-foreman-4.0.0-2.el9.noarch
candlepin-4.3.12-1.el9.noarch
candlepin-selinux-4.3.12-1.el9.noarch
foreman-3.10.0-1.el9.noarch
foreman-cli-3.10.0-1.el9.noarch
foreman-dynflow-sidekiq-3.10.0-1.el9.noarch
foreman-installer-3.10.0-1.el9.noarch
foreman-installer-katello-3.10.0-1.el9.noarch
foreman-postgresql-3.10.0-1.el9.noarch
foreman-proxy-3.10.0-1.el9.noarch
foreman-redis-3.10.0-1.el9.noarch
foreman-release-3.10.0-1.el9.noarch
foreman-selinux-3.10.0-1.el9.noarch
foreman-service-3.10.0-1.el9.noarch
katello-4.12.0-1.el9.noarch
katello-certs-tools-2.9.0-2.el9.noarch
katello-client-bootstrap-1.7.9-2.el9.noarch
katello-common-4.12.0-1.el9.noarch
katello-repos-4.12.0-1.el9.noarch
katello-selinux-5.0.2-1.el9.noarch
pulpcore-selinux-2.0.1-1.el9.x86_64
python3.11-pulp-ansible-0.20.2-3.el9.noarch
python3.11-pulp-certguard-1.7.1-2.el9.noarch
python3.11-pulp-cli-0.21.2-5.el9.noarch
python3.11-pulp-container-2.16.4-1.el9.noarch
python3.11-pulp-deb-3.0.1-1.el9.noarch
python3.11-pulp-file-1.15.1-2.el9.noarch
python3.11-pulp-glue-0.21.2-3.el9.noarch
python3.11-pulp-python-3.10.0-3.el9.noarch
python3.11-pulp-rpm-3.23.3-1.el9.noarch
python3.11-pulpcore-3.39.11-1.el9.noarch
rubygem-foreman-tasks-9.1.1-1.fm3_11.el9.noarch
rubygem-foreman_ansible-13.0.3-2.fm3_10.el9.noarch
rubygem-foreman_bootdisk-21.2.2-1.fm3_11.el9.noarch
rubygem-foreman_discovery-24.0.1-1.fm3_10.el9.noarch
rubygem-foreman_maintain-1.5.1-1.el9.noarch
rubygem-foreman_remote_execution-12.0.5-3.fm3_10.el9.noarch
rubygem-hammer_cli-3.10.0-1.el9.noarch
rubygem-hammer_cli_foreman-3.10.0-1.el9.noarch
rubygem-hammer_cli_foreman_ansible-0.6.0-1.el9.noarch
rubygem-hammer_cli_foreman_remote_execution-0.3.0-1.el9.noarch
rubygem-hammer_cli_foreman_tasks-0.0.20-1.el9.noarch
rubygem-hammer_cli_katello-1.12.0-0.1.pre.master.el9.noarch
rubygem-katello-4.12.0-1.el9.noarch
rubygem-pulp_ansible_client-0.20.3-1.el9.noarch
rubygem-pulp_certguard_client-1.6.5-1.el9.noarch
rubygem-pulp_container_client-2.16.4-1.el9.noarch
rubygem-pulp_deb_client-3.0.1-1.el9.noarch
rubygem-pulp_file_client-1.15.1-1.el9.noarch
rubygem-pulp_ostree_client-2.1.3-1.el9.noarch
rubygem-pulp_python_client-3.10.0-1.el9.noarch
rubygem-pulp_rpm_client-3.23.2-1.el9.noarch
rubygem-pulpcore_client-3.39.9-1.el9.noarch
rubygem-smart_proxy_pulp-3.3.0-1.el9.noarch

Kernel 5.14.0-435.el9.x86_64

Best regards,
Tom

Check: Problem with ansible role - in Host Groups - #4 by MariaAga

This one looks like a backend issue: “Backtrace for ‘Action failed’ error (ActionView::Template::Error): PG::UndefinedColumn: ERROR: column ansible_roles.permission does not exist”

And the link is a frontend one

So what shall I do? Should I apply fix #37280?

Regards,
Tom

No, 37280 broke the hosts group ansible and activation keys, this looks like DB issues.
Maybe @nofaralfasi or @aruzicka will know

OK, meanwhile I have installed a CentOS 8 Stream machine (instead of a Stream 9) with Foreman 3.10 & Katello 4.12. Now I don’t get an error on the hostgroup - ansible tab but an empty one.

CentOS 8 Stream (Foreman 3.10 & Katello 4.12)

CentOS 9 Stream (Foreman 3.10 & Katello 4.12)

Should we use Foreman 3.9 and wait until a stable 3.10 is available?

Best regards,
Tom

Could you post full backtrace from production.log?

CentOS 8 Stream (Foreman 3.10 & Katello 4.12)

2024-04-18T12:28:32 [I|app|c74957d5] Started GET "/hostgroups/1-test/edit" for 10.5.177.144 at 2024-04-18 12:28:32 +0200
2024-04-18T12:28:32 [I|app|c74957d5] Processing by HostgroupsController#edit as HTML
2024-04-18T12:28:32 [I|app|c74957d5]   Parameters: {"id"=>"1-test"}
2024-04-18T12:28:32 [I|app|c74957d5] ^[[1;32mDeface: [WARNING]^[[0m No :original defined for 'add_activation_keys_tab', you should change its definition to include:
 c74957d5 |  :original => 'aefc8e355300ccc5af0592fb2e7c1e5eb7a2ba6d'
2024-04-18T12:28:32 [I|app|c74957d5] ^[[1;32mDeface: [WARNING]^[[0m No :original defined for 'add_activation_keys_tab_pane', you should change its definition to include:
 c74957d5 |  :original => 'ce4076956541552b74e2f8cbca1656e439822d95'
2024-04-18T12:28:32 [I|app|c74957d5] ^[[1;32mDeface: [WARNING]^[[0m No :original defined for 'hostgroups_update_environments_select', you should change its definition to include:
 c74957d5 |  :original => 'c351571f7755090ebfd1b86f4057e0b32c0ba15e'
2024-04-18T12:28:32 [I|app|c74957d5] ^[[1;32mDeface: [WARNING]^[[0m No :original defined for 'hostgroup_ansible_roles_tab', you should change its definition to include:
 c74957d5 |  :original => 'a428ce0f87a47c79e5b57992242203dce92baf92'
2024-04-18T12:28:32 [I|app|c74957d5] ^[[1;32mDeface: [WARNING]^[[0m No :original defined for 'hostgroup_ansible_roles_tab_content', you should change its definition to include:
 c74957d5 |  :original => '6558ba826b68bee9f1a6f1bca19f765f3dd6a670'
2024-04-18T12:28:32 [I|app|c74957d5] ^[[1;32mDeface: [WARNING]^[[0m No :original defined for 'hosts_select_media_type', you should change its definition to include:
 c74957d5 |  :original => '2d9ab0e830d51c8cd4271ea3f3ade95cfbf3de75'
2024-04-18T12:28:32 [I|app|c74957d5] ^[[1;32mDeface: [WARNING]^[[0m No :original defined for 'hosts_select_synced_content', you should change its definition to include:
 c74957d5 |  :original => '2d9ab0e830d51c8cd4271ea3f3ade95cfbf3de75'
2024-04-18T12:28:32 [I|app|c74957d5]   Rendered hostgroups/edit.html.erb within layouts/application (Duration: 160.2ms | Allocations: 73312)
2024-04-18T12:28:32 [I|app|c74957d5]   Rendered layouts/base.html.erb (Duration: 17.0ms | Allocations: 15956)
2024-04-18T12:28:32 [I|app|c74957d5]   Rendered layout layouts/application.html.erb (Duration: 178.6ms | Allocations: 89801)
2024-04-18T12:28:32 [I|app|c74957d5] Completed 200 OK in 194ms (Views: 164.5ms | ActiveRecord: 16.9ms | Allocations: 93806)
2024-04-18T12:28:33 [I|app|397a5fc7] Started GET "/notification_recipients" for 10.5.177.144 at 2024-04-18 12:28:33 +0200
2024-04-18T12:28:33 [I|app|397a5fc7] Processing by NotificationRecipientsController#index as JSON
2024-04-18T12:28:33 [I|app|397a5fc7] Completed 200 OK in 7ms (Views: 0.1ms | ActiveRecord: 0.8ms | Allocations: 1877)
2024-04-18T12:28:43 [I|app|ec5efaed] Started GET "/notification_recipients" for 10.5.177.144 at 2024-04-18 12:28:43 +0200
2024-04-18T12:28:43 [I|app|ec5efaed] Processing by NotificationRecipientsController#index as JSON
2024-04-18T12:28:43 [I|app|ec5efaed] Completed 200 OK in 7ms (Views: 0.1ms | ActiveRecord: 0.9ms | Allocations: 1877)
2024-04-18T12:28:53 [I|app|8b7abf2f] Started GET "/notification_recipients" for 10.5.177.144 at 2024-04-18 12:28:53 +0200
2024-04-18T12:28:53 [I|app|8b7abf2f] Processing by NotificationRecipientsController#index as JSON
2024-04-18T12:28:53 [I|app|8b7abf2f] Completed 200 OK in 7ms (Views: 0.1ms | ActiveRecord: 0.8ms | Allocations: 1877)

I meant the one from centos stream 9 where it breaks.

Ah, sorry!

2024-04-16T08:38:01 [I|app|b1a7c95c] Processing by UiAnsibleRolesController#index as JSON
2024-04-16T08:38:01 [I|app|b1a7c95c]   Parameters: {"search"=>"id !^ (8)", "resource_id"=>"1", "resource_name"=>"Hostgroup"}
2024-04-16T08:38:01 [I|app|b1a7c95c]   Rendered /usr/share/gems/gems/foreman_ansible-13.0.3/app/views/ui_ansible_roles/index.json.rabl within api/v2/layouts/index_layout (Duration: 2.1ms | Allocations: 764)
2024-04-16T08:38:01 [I|app|b1a7c95c]   Rendered layout api/v2/layouts/index_layout.json.erb (Duration: 2.2ms | Allocations: 847)
2024-04-16T08:38:01 [W|app|b1a7c95c] Action failed
2024-04-16T08:38:01 [I|app|b1a7c95c] Backtrace for 'Action failed' error (ActionView::Template::Error): PG::UndefinedColumn: ERROR:  column ansible_roles.permission does not exist
 b1a7c95c | LINE 1: ...LECT "ansible_roles".* FROM "ansible_roles" WHERE "ansible_r...

It seems to be cut off, could we get it in full?

On Foreman 3.10 and Katello 4.12 (from repo el8 ) i have the same problem with no loading.

2024-04-16T08:37:57 [I|app|875ab99a] Started GET "/hostgroups/auto_complete_search?search=" for 10.5.177.144 at 2024-04-16 08:37:57 +0200
2024-04-16T08:37:57 [I|app|875ab99a] Processing by HostgroupsController#auto_complete_search as JSON
2024-04-16T08:37:57 [I|app|875ab99a]   Parameters: {"search"=>""}
2024-04-16T08:37:57 [I|app|875ab99a] Completed 200 OK in 8ms (Views: 0.5ms | ActiveRecord: 0.9ms | Allocations: 4584)
2024-04-16T08:37:59 [I|app|5a9babb1] Started GET "/hostgroups/1-de01fedora38default/edit" for 10.5.177.144 at 2024-04-16 08:37:59 +0200
2024-04-16T08:37:59 [I|app|5a9babb1] Processing by HostgroupsController#edit as HTML
2024-04-16T08:37:59 [I|app|5a9babb1]   Parameters: {"id"=>"1-de01fedora38default"}
2024-04-16T08:37:59 [I|app|5a9babb1] ^[[1;32mDeface: [WARNING]^[[0m No :original defined for 'hostgroup_ansible_roles_tab', you should change its definition to include:
 5a9babb1 |  :original => 'a428ce0f87a47c79e5b57992242203dce92baf92'
2024-04-16T08:37:59 [I|app|5a9babb1] ^[[1;32mDeface: [WARNING]^[[0m No :original defined for 'hostgroup_ansible_roles_tab_content', you should change its definition to include:
 5a9babb1 |  :original => 'fa3f6b5661bb4064206e0c56aa70865d6867d07c'
2024-04-16T08:37:59 [I|app|5a9babb1] ^[[1;32mDeface: [WARNING]^[[0m No :original defined for 'add_activation_keys_tab', you should change its definition to include:
 5a9babb1 |  :original => 'aefc8e355300ccc5af0592fb2e7c1e5eb7a2ba6d'
2024-04-16T08:37:59 [I|app|5a9babb1] ^[[1;32mDeface: [WARNING]^[[0m No :original defined for 'add_activation_keys_tab_pane', you should change its definition to include:
 5a9babb1 |  :original => 'ce4076956541552b74e2f8cbca1656e439822d95'
2024-04-16T08:37:59 [I|app|5a9babb1] ^[[1;32mDeface: [WARNING]^[[0m No :original defined for 'hostgroups_update_environments_select', you should change its definition to include:
 5a9babb1 |  :original => 'c351571f7755090ebfd1b86f4057e0b32c0ba15e'
2024-04-16T08:37:59 [I|app|5a9babb1] ^[[1;32mDeface: [WARNING]^[[0m No :original defined for 'hosts_select_media_type', you should change its definition to include:
 5a9babb1 |  :original => '2d9ab0e830d51c8cd4271ea3f3ade95cfbf3de75'
2024-04-16T08:37:59 [I|app|5a9babb1] ^[[1;32mDeface: [WARNING]^[[0m No :original defined for 'hosts_select_synced_content', you should change its definition to include:
 5a9babb1 |  :original => '2d9ab0e830d51c8cd4271ea3f3ade95cfbf3de75'
2024-04-16T08:38:00 [I|app|5a9babb1]   Rendered hostgroups/edit.html.erb within layouts/application (Duration: 341.6ms | Allocations: 157504)
2024-04-16T08:38:00 [I|app|5a9babb1]   Rendered layouts/base.html.erb (Duration: 16.3ms | Allocations: 15759)
2024-04-16T08:38:00 [I|app|5a9babb1]   Rendered layout layouts/application.html.erb (Duration: 359.2ms | Allocations: 173847)
2024-04-16T08:38:00 [I|app|5a9babb1] Completed 200 OK in 383ms (Views: 314.3ms | ActiveRecord: 49.2ms | Allocations: 181802)
2024-04-16T08:38:00 [I|app|53b8ecc0] Started GET "/notification_recipients" for 10.5.177.144 at 2024-04-16 08:38:00 +0200
2024-04-16T08:38:00 [I|app|53b8ecc0] Processing by NotificationRecipientsController#index as JSON
2024-04-16T08:38:00 [I|app|53b8ecc0] Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 0.9ms | Allocations: 2237)
2024-04-16T08:38:01 [I|app|e1addbda] Started GET "/katello/api/v2/environments/4/activation_keys?content_view_id=2" for 10.5.177.144 at 2024-04-16 08:38:01 +0200
2024-04-16T08:38:01 [I|app|e1addbda] Processing by Katello::Api::V2::ActivationKeysController#index as */*
2024-04-16T08:38:01 [I|app|e1addbda]   Parameters: {"content_view_id"=>"2", "api_version"=>"v2", "environment_id"=>"4"}
2024-04-16T08:38:01 [I|app|b1a7c95c] Started GET "/ansible/ui_ansible_roles?search=id+!%5E+(8)&resource_id=1&resource_name=Hostgroup" for 10.5.177.144 at 2024-04-16 08:38:01 +0200
2024-04-16T08:38:01 [I|app|b1a7c95c] Processing by UiAnsibleRolesController#index as JSON
2024-04-16T08:38:01 [I|app|b1a7c95c]   Parameters: {"search"=>"id !^ (8)", "resource_id"=>"1", "resource_name"=>"Hostgroup"}
2024-04-16T08:38:01 [I|app|b1a7c95c]   Rendered /usr/share/gems/gems/foreman_ansible-13.0.3/app/views/ui_ansible_roles/index.json.rabl within api/v2/layouts/index_layout (Duration: 2.1ms | Allocations: 764)
2024-04-16T08:38:01 [I|app|b1a7c95c]   Rendered layout api/v2/layouts/index_layout.json.erb (Duration: 2.2ms | Allocations: 847)
2024-04-16T08:38:01 [W|app|b1a7c95c] Action failed
2024-04-16T08:38:01 [I|app|b1a7c95c] Backtrace for 'Action failed' error (ActionView::Template::Error): PG::UndefinedColumn: ERROR:  column ansible_roles.permission does not exist
 b1a7c95c | LINE 1: ...LECT "ansible_roles".* FROM "ansible_roles" WHERE "ansible_r...
 b1a7c95c |                                                              ^
 b1a7c95c |
 b1a7c95c | /usr/share/gems/gems/activerecord-6.1.7.7/lib/active_record/connection_adapters/postgresql_adapter.rb:672:in `exec_params'
 b1a7c95c | /usr/share/gems/gems/activerecord-6.1.7.7/lib/active_record/connection_adapters/postgresql_adapter.rb:672:in `block (2 levels) in exec_no_cache'
 b1a7c95c | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/dependencies/interlock.rb:48:in `block in permit_concurrent_loads'
 b1a7c95c | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares'
 b1a7c95c | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/dependencies/interlock.rb:47:in `permit_concurrent_loads'
 b1a7c95c | /usr/share/gems/gems/activerecord-6.1.7.7/lib/active_record/connection_adapters/postgresql_adapter.rb:671:in `block in exec_no_cache'
 b1a7c95c | /usr/share/gems/gems/activerecord-6.1.7.7/lib/active_record/connection_adapters/abstract_adapter.rb:696:in `block (2 levels) in log'
 b1a7c95c | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in `block (2 levels) in synchronize'
 b1a7c95c | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'
 b1a7c95c | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'
 b1a7c95c | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'
 b1a7c95c | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
 b1a7c95c | /usr/share/gems/gems/activerecord-6.1.7.7/lib/active_record/connection_adapters/abstract_adapter.rb:695:in `block in log'
 b1a7c95c | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
 b1a7c95c | /usr/share/gems/gems/activerecord-6.1.7.7/lib/active_record/connection_adapters/abstract_adapter.rb:687:in `log'
 b1a7c95c | /usr/share/gems/gems/activerecord-6.1.7.7/lib/active_record/connection_adapters/postgresql_adapter.rb:670:in `exec_no_cache'
 b1a7c95c | /usr/share/gems/gems/activerecord-6.1.7.7/lib/active_record/connection_adapters/postgresql_adapter.rb:649:in `execute_and_clear'
 b1a7c95c | /usr/share/gems/gems/activerecord-6.1.7.7/lib/active_record/connection_adapters/postgresql/database_statements.rb:55:in `exec_query'
 b1a7c95c | /usr/share/gems/gems/activerecord-6.1.7.7/lib/active_record/connection_adapters/abstract/database_statements.rb:532:in `select'
 b1a7c95c | /usr/share/gems/gems/activerecord-6.1.7.7/lib/active_record/connection_adapters/abstract/database_statements.rb:69:in `select_all'
 b1a7c95c | /usr/share/gems/gems/activerecord-6.1.7.7/lib/active_record/connection_adapters/abstract/query_cache.rb:101:in `block in select_all'
 b1a7c95c | /usr/share/gems/gems/activerecord-6.1.7.7/lib/active_record/connection_adapters/abstract/query_cache.rb:118:in `block in cache_sql'
 b1a7c95c | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in `block (2 levels) in synchronize'
 b1a7c95c | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'
 b1a7c95c | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'
 b1a7c95c | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'
 b1a7c95c | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
 b1a7c95c | /usr/share/gems/gems/activerecord-6.1.7.7/lib/active_record/connection_adapters/abstract/query_cache.rb:109:in `cache_sql'
 b1a7c95c | /usr/share/gems/gems/activerecord-6.1.7.7/lib/active_record/connection_adapters/abstract/query_cache.rb:101:in `select_all'
 b1a7c95c | /usr/share/gems/gems/activerecord-6.1.7.7/lib/active_record/querying.rb:47:in `find_by_sql'
 b1a7c95c | /usr/share/gems/gems/activerecord-6.1.7.7/lib/active_record/relation.rb:843:in `block in exec_queries'
 b1a7c95c | /usr/share/gems/gems/activerecord-6.1.7.7/lib/active_record/relation.rb:861:in `skip_query_cache_if_necessary'
 b1a7c95c | /usr/share/gems/gems/activerecord-6.1.7.7/lib/active_record/relation.rb:828:in `exec_queries'
 b1a7c95c | /usr/share/gems/gems/activerecord-6.1.7.7/lib/active_record/relation.rb:631:in `load'
 b1a7c95c | /usr/share/gems/gems/activerecord-6.1.7.7/lib/active_record/relation.rb:249:in `records'
 b1a7c95c | /usr/share/gems/gems/activerecord-6.1.7.7/lib/active_record/relation/delegation.rb:88:in `each'
 b1a7c95c | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/multi_builder.rb:38:in `map'
 b1a7c95c | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/multi_builder.rb:38:in `generate_builders'
 b1a7c95c | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/multi_builder.rb:19:in `to_a'
 b1a7c95c | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/engine.rb:93:in `to_hash'
 b1a7c95c | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/engine.rb:104:in `to_dumpable'
 b1a7c95c | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/engine.rb:113:in `to_json'
 b1a7c95c | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/engine.rb:51:in `block in render'
 b1a7c95c | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/engine.rb:392:in `cache_results'
 b1a7c95c | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/engine.rb:50:in `render'
 b1a7c95c | /usr/share/foreman/config/initializers/rabl_init.rb:49:in `render'
 b1a7c95c | /usr/share/gems/gems/foreman_ansible-13.0.3/app/views/ui_ansible_roles/index.json.rabl:3:in `__usr_share_gems_gems_foreman_ansible________app_views_ui_ansible_roles_index_json_rabl___1405141683533106159_105340'
 b1a7c95c | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/base.rb:247:in `public_send'
 b1a7c95c | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/base.rb:247:in `_run'
 b1a7c95c | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/template.rb:154:in `block in render'
 b1a7c95c | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/notifications.rb:205:in `instrument'
 b1a7c95c | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/template.rb:345:in `instrument_render_template'
 b1a7c95c | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/template.rb:152:in `render'
 b1a7c95c | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/renderer/template_renderer.rb:61:in `block (2 levels) in render_template'
 b1a7c95c | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/notifications.rb:203:in `block in instrument'
 b1a7c95c | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
 b1a7c95c | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/notifications.rb:203:in `instrument'
 b1a7c95c | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/renderer/template_renderer.rb:56:in `block in render_template'
 b1a7c95c | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/renderer/template_renderer.rb:71:in `block in render_with_layout'
 b1a7c95c | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/notifications.rb:203:in `block in instrument'
 b1a7c95c | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
 b1a7c95c | /usr/share/gems/gems/activesupport-6.1.7.7/lib/active_support/notifications.rb:203:in `instrument'
 b1a7c95c | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/renderer/template_renderer.rb:70:in `render_with_layout'
 b1a7c95c | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/renderer/template_renderer.rb:55:in `render_template'
 b1a7c95c | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/renderer/template_renderer.rb:11:in `render'
 b1a7c95c | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/renderer/renderer.rb:61:in `render_template_to_object'
 b1a7c95c | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/renderer/renderer.rb:29:in `render_to_object'
 b1a7c95c | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/rendering.rb:117:in `block in _render_template'
 b1a7c95c | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/base.rb:273:in `in_rendering_context'
 b1a7c95c | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/rendering.rb:116:in `_render_template'
 b1a7c95c | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_controller/metal/streaming.rb:218:in `_render_template'
 b1a7c95c | /usr/share/gems/gems/actionview-6.1.7.7/lib/action_view/rendering.rb:103:in `render_to_body'
 b1a7c95c | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_controller/metal/rendering.rb:52:in `render_to_body'
 b1a7c95c | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_controller/metal/renderers.rb:142:in `render_to_body'
 b1a7c95c | /usr/share/gems/gems/actionpack-6.1.7.7/lib/abstract_controller/rendering.rb:25:in `render'
 b1a7c95c | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_controller/metal/rendering.rb:36:in `render'
 b1a7c95c | /usr/share/gems/gems/actionpack-6.1.7.7/lib/action_controller/metal/instrumentation.rb:46:in `block (2 levels) in render'
 b1a7c95c | /usr/share/ruby/benchmark.rb:308:in `realtime'

By the way… In addition to the ansible problem, I cannot add an activation key to the hostgroup, because the textbox is missing.

If the AK are missing it might be also the front end issue, will post fix for it this week, not sure why it would be in foreman 3.10.

1 Like

Good Morning,

don’ know why, but situation has changed. After reinstallation of CentOS 9 Stream and Foreman 3.10 the error message within the hostgroup - ansible roles is no longer visible. Now I have the same behavior like CentOS 8 Stream and Foreman 3.10. The tab is empty. No roles, no error message. Strange :man_facepalming:

2024-04-19T07:19:44 [I|app|fbc58321] Started GET "/hostgroups/1-de01fedora38default/edit" for 10.5.177.144 at 2024-04-19 07:19:44 +0200
2024-04-19T07:19:44 [I|app|fbc58321] Processing by HostgroupsController#edit as HTML
2024-04-19T07:19:44 [I|app|fbc58321]   Parameters: {"id"=>"1-de01fedora38default"}
2024-04-19T07:19:44 [I|app|fbc58321] ^[[1;32mDeface: [WARNING]^[[0m No :original defined for 'hostgroup_ansible_roles_tab', you should change its definition to include:
 fbc58321 |  :original => 'a428ce0f87a47c79e5b57992242203dce92baf92'
2024-04-19T07:19:44 [I|app|fbc58321] ^[[1;32mDeface: [WARNING]^[[0m No :original defined for 'hostgroup_ansible_roles_tab_content', you should change its definition to include:
 fbc58321 |  :original => 'fa3f6b5661bb4064206e0c56aa70865d6867d07c'
2024-04-19T07:19:44 [I|app|fbc58321] ^[[1;32mDeface: [WARNING]^[[0m No :original defined for 'add_activation_keys_tab', you should change its definition to include:
 fbc58321 |  :original => 'aefc8e355300ccc5af0592fb2e7c1e5eb7a2ba6d'
2024-04-19T07:19:44 [I|app|fbc58321] ^[[1;32mDeface: [WARNING]^[[0m No :original defined for 'add_activation_keys_tab_pane', you should change its definition to include:
 fbc58321 |  :original => 'ce4076956541552b74e2f8cbca1656e439822d95'
2024-04-19T07:19:44 [I|app|fbc58321] ^[[1;32mDeface: [WARNING]^[[0m No :original defined for 'hostgroups_update_environments_select', you should change its definition to include:
 fbc58321 |  :original => 'c351571f7755090ebfd1b86f4057e0b32c0ba15e'
2024-04-19T07:19:45 [I|app|fbc58321] ^[[1;32mDeface: [WARNING]^[[0m No :original defined for 'hosts_select_media_type', you should change its definition to include:
 fbc58321 |  :original => '2d9ab0e830d51c8cd4271ea3f3ade95cfbf3de75'
2024-04-19T07:19:45 [I|app|fbc58321] ^[[1;32mDeface: [WARNING]^[[0m No :original defined for 'hosts_select_synced_content', you should change its definition to include:
 fbc58321 |  :original => '2d9ab0e830d51c8cd4271ea3f3ade95cfbf3de75'
2024-04-19T07:19:45 [I|app|fbc58321]   Rendered hostgroups/edit.html.erb within layouts/application (Duration: 322.5ms | Allocations: 105698)
2024-04-19T07:19:45 [I|app|fbc58321]   Rendered layouts/base.html.erb (Duration: 32.0ms | Allocations: 30233)
2024-04-19T07:19:45 [I|app|fbc58321]   Rendered layout layouts/application.html.erb (Duration: 358.3ms | Allocations: 137317)
2024-04-19T07:19:45 [I|app|fbc58321] Completed 200 OK in 389ms (Views: 246.1ms | ActiveRecord: 129.4ms | Allocations: 144268)
2024-04-19T07:19:45 [I|app|8f54d963] Started GET "/notification_recipients" for 10.5.177.144 at 2024-04-19 07:19:45 +0200
2024-04-19T07:19:45 [I|app|8f54d963] Processing by NotificationRecipientsController#index as JSON
2024-04-19T07:19:45 [I|app|8f54d963] Completed 200 OK in 23ms (Views: 0.2ms | ActiveRecord: 12.6ms | Allocations: 4134)
2024-04-19T07:19:49 [I|app|6aaa000f] Started GET "/hostgroups" for 10.5.177.144 at 2024-04-19 07:19:49 +0200
2024-04-19T07:19:49 [I|app|6aaa000f] Processing by HostgroupsController#index as HTML
2024-04-19T07:19:49 [I|app|6aaa000f]   Rendered hostgroups/index.html.erb within layouts/application (Duration: 15.6ms | Allocations: 6196)
2024-04-19T07:19:49 [I|app|6aaa000f]   Rendered layouts/base.html.erb (Duration: 14.6ms | Allocations: 15647)
2024-04-19T07:19:49 [I|app|6aaa000f]   Rendered layout layouts/application.html.erb (Duration: 31.3ms | Allocations: 22507)
2024-04-19T07:19:49 [I|app|6aaa000f] Completed 200 OK in 46ms (Views: 30.1ms | ActiveRecord: 6.3ms | Allocations: 26689)

What version of foreman_ansible are you using? This issue should be fixed in v14.0.0.

Probably: rubygem-foreman_ansible-14.0.0-1.fm3_11.el8.noarch

i have the same problem on official 3.10 (form repo)

Installed Packages
ansible-collection-theforeman-foreman-4.0.0-2.el9.noarch
candlepin-4.3.12-1.el9.noarch
candlepin-selinux-4.3.12-1.el9.noarch
foreman-3.10.0-1.el9.noarch
foreman-cli-3.10.0-1.el9.noarch
foreman-dynflow-sidekiq-3.10.0-1.el9.noarch
foreman-installer-3.10.0-1.el9.noarch
foreman-installer-katello-3.10.0-1.el9.noarch
foreman-postgresql-3.10.0-1.el9.noarch
foreman-proxy-3.10.0-1.el9.noarch
foreman-redis-3.10.0-1.el9.noarch
foreman-release-3.10.0-1.el9.noarch
foreman-selinux-3.10.0-1.el9.noarch
foreman-service-3.10.0-1.el9.noarch
katello-4.12.0-1.el9.noarch
katello-certs-tools-2.9.0-2.el9.noarch
katello-client-bootstrap-1.7.9-2.el9.noarch
katello-common-4.12.0-1.el9.noarch
katello-repos-4.12.0-1.el9.noarch
katello-selinux-5.0.2-1.el9.noarch
pulpcore-selinux-2.0.1-1.el9.x86_64
python3.11-pulp-ansible-0.20.2-3.el9.noarch
python3.11-pulp-certguard-1.7.1-2.el9.noarch
python3.11-pulp-cli-0.21.2-5.el9.noarch
python3.11-pulp-container-2.16.4-1.el9.noarch
python3.11-pulp-deb-3.0.1-1.el9.noarch
python3.11-pulp-file-1.15.1-2.el9.noarch
python3.11-pulp-glue-0.21.2-3.el9.noarch
python3.11-pulp-python-3.10.0-3.el9.noarch
python3.11-pulp-rpm-3.23.3-1.el9.noarch
python3.11-pulpcore-3.39.11-1.el9.noarch
rubygem-foreman-tasks-9.1.1-1.fm3_11.el9.noarch
rubygem-foreman_ansible-13.0.3-2.fm3_10.el9.noarch
rubygem-foreman_bootdisk-21.2.2-1.fm3_11.el9.noarch
rubygem-foreman_discovery-24.0.1-1.fm3_10.el9.noarch
rubygem-foreman_maintain-1.5.1-1.el9.noarch
rubygem-foreman_remote_execution-12.0.5-3.fm3_10.el9.noarch
rubygem-hammer_cli-3.10.0-1.el9.noarch
rubygem-hammer_cli_foreman-3.10.0-1.el9.noarch
rubygem-hammer_cli_foreman_ansible-0.6.0-1.el9.noarch
rubygem-hammer_cli_foreman_remote_execution-0.3.0-1.el9.noarch
rubygem-hammer_cli_foreman_tasks-0.0.20-1.el9.noarch
rubygem-hammer_cli_katello-1.12.0-0.1.pre.master.el9.noarch
rubygem-katello-4.12.0-1.el9.noarch
rubygem-pulp_ansible_client-0.20.3-1.el9.noarch
rubygem-pulp_certguard_client-1.6.5-1.el9.noarch
rubygem-pulp_container_client-2.16.4-1.el9.noarch
rubygem-pulp_deb_client-3.0.1-1.el9.noarch
rubygem-pulp_file_client-1.15.1-1.el9.noarch
rubygem-pulp_ostree_client-2.1.3-1.el9.noarch
rubygem-pulp_python_client-3.10.0-1.el9.noarch
rubygem-pulp_rpm_client-3.23.2-1.el9.noarch
rubygem-pulpcore_client-3.39.9-1.el9.noarch
rubygem-smart_proxy_pulp-3.3.0-1.el9.noarch

OK, I see there is a updatet version. After the upgrade to “rubygem-foreman_ansible-14.0.0-1.fm3_11.el9.noarch.rpm” nothing has changed. Within the hostgroup no Ansible-Roles are visible and also the Activation-Key edit box is missing.

Installed Packages
ansible-collection-theforeman-foreman-4.0.0-2.el9.noarch
candlepin-4.3.12-1.el9.noarch
candlepin-selinux-4.3.12-1.el9.noarch
foreman-3.10.0-1.el9.noarch
foreman-cli-3.10.0-1.el9.noarch
foreman-dynflow-sidekiq-3.10.0-1.el9.noarch
foreman-installer-3.10.0-1.el9.noarch
foreman-installer-katello-3.10.0-1.el9.noarch
foreman-postgresql-3.10.0-1.el9.noarch
foreman-proxy-3.10.0-1.el9.noarch
foreman-redis-3.10.0-1.el9.noarch
foreman-release-3.10.0-1.el9.noarch
foreman-selinux-3.10.0-1.el9.noarch
foreman-service-3.10.0-1.el9.noarch
katello-4.12.0-1.el9.noarch
katello-certs-tools-2.9.0-2.el9.noarch
katello-client-bootstrap-1.7.9-2.el9.noarch
katello-common-4.12.0-1.el9.noarch
katello-repos-4.12.0-1.el9.noarch
katello-selinux-5.0.2-1.el9.noarch
pulpcore-selinux-2.0.1-1.el9.x86_64
python3.11-pulp-ansible-0.20.2-3.el9.noarch
python3.11-pulp-certguard-1.7.1-2.el9.noarch
python3.11-pulp-cli-0.21.2-5.el9.noarch
python3.11-pulp-container-2.16.4-1.el9.noarch
python3.11-pulp-deb-3.0.1-1.el9.noarch
python3.11-pulp-file-1.15.1-2.el9.noarch
python3.11-pulp-glue-0.21.2-3.el9.noarch
python3.11-pulp-python-3.10.0-3.el9.noarch
python3.11-pulp-rpm-3.23.3-1.el9.noarch
python3.11-pulpcore-3.39.11-1.el9.noarch
rubygem-foreman-tasks-9.1.1-1.fm3_11.el9.noarch
rubygem-foreman_ansible-14.0.0-1.fm3_11.el9.noarch
rubygem-foreman_bootdisk-21.2.2-1.fm3_11.el9.noarch
rubygem-foreman_discovery-24.0.1-1.fm3_10.el9.noarch
rubygem-foreman_maintain-1.5.1-1.el9.noarch
rubygem-foreman_remote_execution-13.0.0-1.fm3_11.el9.noarch
rubygem-hammer_cli-3.10.0-1.el9.noarch
rubygem-hammer_cli_foreman-3.10.0-1.el9.noarch
rubygem-hammer_cli_foreman_ansible-0.6.0-1.el9.noarch
rubygem-hammer_cli_foreman_remote_execution-0.3.0-1.el9.noarch
rubygem-hammer_cli_foreman_tasks-0.0.20-1.el9.noarch
rubygem-hammer_cli_katello-1.12.0-0.1.pre.master.el9.noarch
rubygem-katello-4.12.0-1.el9.noarch
rubygem-pulp_ansible_client-0.20.3-1.el9.noarch
rubygem-pulp_certguard_client-1.6.5-1.el9.noarch
rubygem-pulp_container_client-2.16.4-1.el9.noarch
rubygem-pulp_deb_client-3.0.1-1.el9.noarch
rubygem-pulp_file_client-1.15.1-1.el9.noarch
rubygem-pulp_ostree_client-2.1.3-1.el9.noarch
rubygem-pulp_python_client-3.10.0-1.el9.noarch
rubygem-pulp_rpm_client-3.23.2-1.el9.noarch
rubygem-pulpcore_client-3.39.9-1.el9.noarch
rubygem-smart_proxy_pulp-3.3.0-1.el9.noarch

Kernel 5.14.0-437.el9.x86_64
CentOS Stream release 9


2024-04-22T08:06:39 [I|app|aff733e6] Started GET "/hostgroups/1-de01fedora38default/edit" for 10.5.177.144 at 2024-04-22 08:06:39 +0200
2024-04-22T08:06:39 [I|app|aff733e6] Processing by HostgroupsController#edit as HTML
2024-04-22T08:06:39 [I|app|aff733e6]   Parameters: {"id"=>"1-de01fedora38default"}
2024-04-22T08:06:39 [I|app|aff733e6] ^[[1;32mDeface: [WARNING]^[[0m No :original defined for 'hostgroup_ansible_roles_tab', you should change its definition to include:
 aff733e6 |  :original => 'a428ce0f87a47c79e5b57992242203dce92baf92'
2024-04-22T08:06:39 [I|app|aff733e6] ^[[1;32mDeface: [WARNING]^[[0m No :original defined for 'hostgroup_ansible_roles_tab_content', you should change its definition to include:
 aff733e6 |  :original => 'fa3f6b5661bb4064206e0c56aa70865d6867d07c'
2024-04-22T08:06:39 [I|app|aff733e6] ^[[1;32mDeface: [WARNING]^[[0m No :original defined for 'add_activation_keys_tab', you should change its definition to include:
 aff733e6 |  :original => 'aefc8e355300ccc5af0592fb2e7c1e5eb7a2ba6d'
2024-04-22T08:06:39 [I|app|aff733e6] ^[[1;32mDeface: [WARNING]^[[0m No :original defined for 'add_activation_keys_tab_pane', you should change its definition to include:
 aff733e6 |  :original => 'ce4076956541552b74e2f8cbca1656e439822d95'
2024-04-22T08:06:39 [I|app|aff733e6] ^[[1;32mDeface: [WARNING]^[[0m No :original defined for 'hostgroups_update_environments_select', you should change its definition to include:
 aff733e6 |  :original => 'c351571f7755090ebfd1b86f4057e0b32c0ba15e'
2024-04-22T08:06:39 [I|app|aff733e6] ^[[1;32mDeface: [WARNING]^[[0m No :original defined for 'hosts_select_media_type', you should change its definition to include:
 aff733e6 |  :original => '2d9ab0e830d51c8cd4271ea3f3ade95cfbf3de75'
2024-04-22T08:06:39 [I|app|aff733e6] ^[[1;32mDeface: [WARNING]^[[0m No :original defined for 'hosts_select_synced_content', you should change its definition to include:
 aff733e6 |  :original => '2d9ab0e830d51c8cd4271ea3f3ade95cfbf3de75'
2024-04-22T08:06:39 [I|app|aff733e6]   Rendered hostgroups/edit.html.erb within layouts/application (Duration: 194.3ms | Allocations: 107001)
2024-04-22T08:06:39 [I|app|aff733e6]   Rendered layouts/base.html.erb (Duration: 13.6ms | Allocations: 15684)
2024-04-22T08:06:39 [I|app|aff733e6]   Rendered layout layouts/application.html.erb (Duration: 209.2ms | Allocations: 123270)
2024-04-22T08:06:39 [I|app|aff733e6] Completed 200 OK in 225ms (Views: 181.3ms | ActiveRecord: 31.3ms | Allocations: 128091)
2024-04-22T08:06:39 [I|app|64eff241] Started GET "/notification_recipients" for 10.5.177.144 at 2024-04-22 08:06:39 +0200
2024-04-22T08:06:39 [I|app|64eff241] Processing by NotificationRecipientsController#index as JSON
2024-04-22T08:06:39 [I|app|64eff241] Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.6ms | Allocations: 1495)
2024-04-22T08:06:44 [I|app|4db217e8] Started GET "/hostgroups" for 10.5.177.144 at 2024-04-22 08:06:44 +0200
2024-04-22T08:06:44 [I|app|4db217e8] Processing by HostgroupsController#index as HTML
2024-04-22T08:06:44 [I|app|4db217e8]   Rendered hostgroups/index.html.erb within layouts/application (Duration: 13.3ms | Allocations: 5592)
2024-04-22T08:06:44 [I|app|4db217e8]   Rendered layouts/base.html.erb (Duration: 13.7ms | Allocations: 15638)
2024-04-22T08:06:44 [I|app|4db217e8]   Rendered layout layouts/application.html.erb (Duration: 27.9ms | Allocations: 21840)
2024-04-22T08:06:44 [I|app|4db217e8] Completed 200 OK in 37ms (Views: 25.9ms | ActiveRecord: 3.7ms | Allocations: 25100)
2024-04-22T08:06:44 [I|app|7dbbdac1] Started GET "/notification_recipients" for 10.5.177.144 at 2024-04-22 08:06:44 +0200
2024-04-22T08:06:44 [I|app|7dbbdac1] Processing by NotificationRecipientsController#index as JSON
2024-04-22T08:06:44 [I|app|7dbbdac1] Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.6ms | Allocations: 1497)
2024-04-22T08:06:44 [I|app|f3fcb144] Started GET "/hostgroups/auto_complete_search?search=" for 10.5.177.144 at 2024-04-22 08:06:44 +0200
2024-04-22T08:06:44 [I|app|f3fcb144] Processing by HostgroupsController#auto_complete_search as JSON
2024-04-22T08:06:44 [I|app|f3fcb144]   Parameters: {"search"=>""}
2024-04-22T08:06:44 [I|app|f3fcb144] Completed 200 OK in 6ms (Views: 0.6ms | ActiveRecord: 0.7ms | Allocations: 3811)
2024-04-22T08:06:46 [I|app|db14dbb5] Started GET "/hostgroups/new" for 10.5.177.144 at 2024-04-22 08:06:46 +0200
2024-04-22T08:06:46 [I|app|db14dbb5] Processing by HostgroupsController#new as HTML
2024-04-22T08:06:46 [I|app|db14dbb5]   Rendered hostgroups/new.html.erb within layouts/application (Duration: 43.9ms | Allocations: 24551)
2024-04-22T08:06:46 [I|app|db14dbb5]   Rendered layouts/base.html.erb (Duration: 14.8ms | Allocations: 15635)
2024-04-22T08:06:46 [I|app|db14dbb5]   Rendered layout layouts/application.html.erb (Duration: 59.7ms | Allocations: 40658)
2024-04-22T08:06:46 [I|app|db14dbb5] Completed 200 OK in 67ms (Views: 56.3ms | ActiveRecord: 4.6ms | Allocations: 43305)
2024-04-22T08:06:46 [I|app|0ebef979] Started GET "/notification_recipients" for 10.5.177.144 at 2024-04-22 08:06:46 +0200
2024-04-22T08:06:46 [I|app|0ebef979] Processing by NotificationRecipientsController#index as JSON
2024-04-22T08:06:46 [I|app|0ebef979] Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 0.8ms | Allocations: 1497)
2024-04-22T08:06:52 [I|app|d5c0c11b] Started GET "/hostgroups" for 10.5.177.144 at 2024-04-22 08:06:52 +0200
2024-04-22T08:06:52 [I|app|d5c0c11b] Processing by HostgroupsController#index as HTML
2024-04-22T08:06:52 [I|app|d5c0c11b]   Rendered hostgroups/index.html.erb within layouts/application (Duration: 11.7ms | Allocations: 5603)
2024-04-22T08:06:52 [I|app|d5c0c11b]   Rendered layouts/base.html.erb (Duration: 13.6ms | Allocations: 15640)

Ak fix is in Katello: Fixes #37370 - refactor ak in hostgroups to react by MariaAga · Pull Request #10965 · Katello/katello · GitHub and has not been merged yet