Hi,thank’s by quickly reply.
In the meantime i’m tryed to reinstall step-by-step the system but the result seems the same. I’ve installed foreman base then went to add ansible support but the issues persists. I’ve done it by:
foreman-installer --enable-foreman-plugin-remote-execution --enable-foreman-plugin-ansible --enable-foreman-proxy-plugin-ansible
Here the log when i’m going to import the roles by UI:
2025-10-31T22:22:58 [I|app|e453397b] Started POST “/ansible/ansible_roles/confirm_import” for 172.20.1.1 at 2025-10-31 22:22:58 +0100
2025-10-31T22:22:58 [I|app|e453397b] Processing by AnsibleRolesController#confirm_import as JSON
2025-10-31T22:22:58 [I|app|e453397b] Parameters: {“changed”=>{“new”=>{“geerlingguy.nginx”=>{“id”=>nil, “name”=>“geerlingguy.nginx”, “created_at”=>nil, “updated_at”=>nil}, “rl9-install-httpd”=>{“id”=>nil, “name”=>“rl9-install-httpd”, “created_at”=>nil, “updated_at”=>nil}, “theforeman.foreman.activation_keys”=>{“id”=>nil, “name”=>“theforeman.foreman.activation_keys”, “created_at”=>nil, “updated_at”=>nil}, “theforeman.foreman.auth_sources_ldap”=>{“id”=>nil, “name”=>“theforeman.foreman.auth_sources_ldap”, “created_at”=>nil, “updated_at”=>nil}, “theforeman.foreman.compute_profiles”=>{“id”=>nil, “name”=>“theforeman.foreman.compute_profiles”, “created_at”=>nil, “updated_at”=>nil}, “theforeman.foreman.compute_resources”=>{“id”=>nil, “name”=>“theforeman.foreman.compute_resources”, “created_at”=>nil, “updated_at”=>nil}, “theforeman.foreman.content_credentials”=>{“id”=>nil, “name”=>“theforeman.foreman.content_credentials”, “created_at”=>nil, “updated_at”=>nil}, “theforeman.foreman.content_rhel”=>{“id”=>nil, “name”=>“theforeman.foreman.content_rhel”, “created_at”=>nil, “updated_at”=>nil}, “theforeman.foreman.content_view_publish”=>{“id”=>nil, “name”=>“theforeman.foreman.content_view_publish”, “created_at”=>nil, “updated_at”=>nil}, “theforeman.foreman.content_view_version_cleanup”=>{“id”=>nil, “name”=>“theforeman.foreman.content_view_version_cleanup”, “created_at”=>nil, “updated_at”=>nil}, “theforeman.foreman.content_views”=>{“id”=>nil, “name”=>“theforeman.foreman.content_views”, “created_at”=>nil, “updated_at”=>nil}, “theforeman.foreman.convert2rhel”=>{“id”=>nil, “name”=>“theforeman.foreman.convert2rhel”, “created_at”=>nil, “updated_at”=>nil}, “theforeman.foreman.domains”=>{“id”=>nil, “name”=>“theforeman.foreman.domains”, “created_at”=>nil, “updated_at”=>nil}, “theforeman.foreman.hostgroups”=>{“id”=>nil, “name”=>“theforeman.foreman.hostgroups”, “created_at”=>nil, “updated_at”=>nil}, “theforeman.foreman.lifecycle_environments”=>{“id”=>nil, “name”=>“theforeman.foreman.lifecycle_environments”, “created_at”=>nil, “updated_at”=>nil}, “theforeman.foreman.locations”=>{“id”=>nil, “name”=>“theforeman.foreman.locations”, “created_at”=>nil, “updated_at”=>nil}, “theforeman.foreman.manifest”=>{“id”=>nil, “name”=>“theforeman.foreman.manifest”, “created_at”=>nil, “updated_at”=>nil}, “theforeman.foreman.operatingsystems”=>{“id”=>nil, “name”=>“theforeman.foreman.operatingsystems”, “created_at”=>nil, “updated_at”=>nil}, “theforeman.foreman.organizations”=>{“id”=>nil, “name”=>“theforeman.foreman.organizations”, “created_at”=>nil, “updated_at”=>nil}, “theforeman.foreman.provisioning_templates”=>{“id”=>nil, “name”=>“theforeman.foreman.provisioning_templates”, “created_at”=>nil, “updated_at”=>nil}, “theforeman.foreman.repositories”=>{“id”=>nil, “name”=>“theforeman.foreman.repositories”, “created_at”=>nil, “updated_at”=>nil}, “theforeman.foreman.settings”=>{“id”=>nil, “name”=>“theforeman.foreman.settings”, “created_at”=>nil, “updated_at”=>nil}, “theforeman.foreman.subnets”=>{“id”=>nil, “name”=>“theforeman.foreman.subnets”, “created_at”=>nil, “updated_at”=>nil}, “theforeman.foreman.sync_plans”=>{“id”=>nil, “name”=>“theforeman.foreman.sync_plans”, “created_at”=>nil, “updated_at”=>nil}}}, “proxy”=>1, “ansible_role”=>{}}
2025-10-31T22:22:58 [E|app|e453397b] Failed enqueuing SyncRolesAndVariables to Dynflow(default): RuntimeError (The Dynflow world was not initialized yet. If your plugin uses it, make sure to call Rails.application.dynflow.require! in some initializer)
2025-10-31T22:22:58 [W|app|e453397b] The Dynflow world was not initialized yet. If your plugin uses it, make sure to call Rails.application.dynflow.require! in some initializer
2025-10-31T22:22:58 [I|app|e453397b] Backtrace for ‘The Dynflow world was not initialized yet. If your plugin uses it, make sure to call Rails.application.dynflow.require! in some initializer’ error (RuntimeError): The Dynflow world was not initialized yet. If your plugin uses it, make sure to call Rails.application.dynflow.require! in some initializer
e453397b | /usr/share/gems/gems/dynflow-1.9.2/lib/dynflow/rails.rb:79:in world' e453397b | /usr/share/gems/gems/dynflow-1.9.2/lib/dynflow/active_job/queue_adapter.rb:8:in enqueue’
e453397b | /usr/share/gems/gems/activejob-7.0.8.7/lib/active_job/enqueuing.rb:67:in block in enqueue' e453397b | /usr/share/gems/gems/activesupport-7.0.8.7/lib/active_support/callbacks.rb:118:in block in run_callbacks’
e453397b | /usr/share/gems/gems/activejob-7.0.8.7/lib/active_job/instrumentation.rb:25:in block in instrument' e453397b | /usr/share/gems/gems/activesupport-7.0.8.7/lib/active_support/notifications.rb:206:in block in instrument’
e453397b | /usr/share/gems/gems/activesupport-7.0.8.7/lib/active_support/notifications/instrumenter.rb:24:in instrument' e453397b | /usr/share/gems/gems/activesupport-7.0.8.7/lib/active_support/notifications.rb:206:in instrument’
e453397b | /usr/share/gems/gems/activejob-7.0.8.7/lib/active_job/instrumentation.rb:35:in instrument' e453397b | /usr/share/gems/gems/activejob-7.0.8.7/lib/active_job/instrumentation.rb:9:in block (2 levels) in module:Instrumentation’
e453397b | /usr/share/gems/gems/activesupport-7.0.8.7/lib/active_support/callbacks.rb:127:in instance_exec' e453397b | /usr/share/gems/gems/activesupport-7.0.8.7/lib/active_support/callbacks.rb:127:in block in run_callbacks’
e453397b | /usr/share/gems/gems/activejob-7.0.8.7/lib/active_job/logging.rb:27:in tag_logger' e453397b | /usr/share/gems/gems/activejob-7.0.8.7/lib/active_job/logging.rb:14:in block (2 levels) in module:Logging’
e453397b | /usr/share/gems/gems/activesupport-7.0.8.7/lib/active_support/callbacks.rb:127:in instance_exec' e453397b | /usr/share/gems/gems/activesupport-7.0.8.7/lib/active_support/callbacks.rb:127:in block in run_callbacks’
e453397b | /usr/share/gems/gems/activesupport-7.0.8.7/lib/active_support/callbacks.rb:138:in run_callbacks' e453397b | /usr/share/gems/gems/activejob-7.0.8.7/lib/active_job/enqueuing.rb:63:in enqueue’
e453397b | /usr/share/gems/gems/activejob-7.0.8.7/lib/active_job/enqueuing.rb:30:in perform_later' e453397b | /usr/share/gems/gems/foreman_ansible-17.0.2/app/controllers/ansible_roles_controller.rb:35:in confirm_import’
e453397b | /usr/share/gems/gems/actionpack-7.0.8.7/lib/action_controller/metal/basic_implicit_render.rb:6:in send_action' e453397b | /usr/share/gems/gems/actionpack-7.0.8.7/lib/abstract_controller/base.rb:215:in process_action’
e453397b | /usr/share/gems/gems/actionpack-7.0.8.7/lib/action_controller/metal/rendering.rb:165:in process_action' e453397b | /usr/share/gems/gems/actionpack-7.0.8.7/lib/abstract_controller/callbacks.rb:234:in block in process_action’
e453397b | /usr/share/gems/gems/activesupport-7.0.8.7/lib/active_support/callbacks.rb:118:in block in run_callbacks' e453397b | /usr/share/foreman/app/controllers/concerns/foreman/controller/timezone.rb:10:in set_timezone’
e453397b | /usr/share/gems/gems/activesupport-7.0.8.7/lib/active_support/callbacks.rb:127:in block in run_callbacks' e453397b | /usr/share/foreman/app/models/concerns/foreman/thread_session.rb:32:in clear_thread’
e453397b | /usr/share/gems/gems/activesupport-7.0.8.7/lib/active_support/callbacks.rb:127:in block in run_callbacks' e453397b | /usr/share/foreman/app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in set_topbar_sweeper_controller’
e453397b | /usr/share/gems/gems/activesupport-7.0.8.7/lib/active_support/callbacks.rb:127:in block in run_callbacks' e453397b | /usr/share/gems/gems/audited-5.8.0/lib/audited/sweeper.rb:16:in around’
e453397b | /usr/share/gems/gems/activesupport-7.0.8.7/lib/active_support/callbacks.rb:127:in block in run_callbacks' e453397b | /usr/share/gems/gems/audited-5.8.0/lib/audited/sweeper.rb:16:in around’
e453397b | /usr/share/gems/gems/activesupport-7.0.8.7/lib/active_support/callbacks.rb:127:in block in run_callbacks' e453397b | /usr/share/gems/gems/activesupport-7.0.8.7/lib/active_support/callbacks.rb:138:in run_callbacks’
e453397b | /usr/share/gems/gems/actionpack-7.0.8.7/lib/abstract_controller/callbacks.rb:233:in process_action' e453397b | /usr/share/gems/gems/actionpack-7.0.8.7/lib/action_controller/metal/rescue.rb:23:in process_action’
e453397b | /usr/share/gems/gems/actionpack-7.0.8.7/lib/action_controller/metal/instrumentation.rb:67:in block in process_action' e453397b | /usr/share/gems/gems/activesupport-7.0.8.7/lib/active_support/notifications.rb:206:in block in instrument’
e453397b | /usr/share/gems/gems/activesupport-7.0.8.7/lib/active_support/notifications/instrumenter.rb:24:in instrument' e453397b | /usr/share/gems/gems/activesupport-7.0.8.7/lib/active_support/notifications.rb:206:in instrument’
e453397b | /usr/share/gems/gems/actionpack-7.0.8.7/lib/action_controller/metal/instrumentation.rb:66:in process_action' e453397b | /usr/share/gems/gems/actionpack-7.0.8.7/lib/action_controller/metal/params_wrapper.rb:259:in process_action’
e453397b | /usr/share/gems/gems/activerecord-7.0.8.7/lib/active_record/railties/controller_runtime.rb:27:in process_action' e453397b | /usr/share/gems/gems/actionpack-7.0.8.7/lib/abstract_controller/base.rb:151:in process’
e453397b | /usr/share/gems/gems/actionview-7.0.8.7/lib/action_view/rendering.rb:39:in process' e453397b | /usr/share/gems/gems/actionpack-7.0.8.7/lib/action_controller/metal.rb:188:in dispatch’
e453397b | /usr/share/gems/gems/actionpack-7.0.8.7/lib/action_controller/metal.rb:251:in dispatch' e453397b | /usr/share/gems/gems/actionpack-7.0.8.7/lib/action_dispatch/routing/route_set.rb:49:in dispatch’
e453397b | /usr/share/gems/gems/actionpack-7.0.8.7/lib/action_dispatch/routing/route_set.rb:32:in serve' e453397b | /usr/share/gems/gems/actionpack-7.0.8.7/lib/action_dispatch/journey/router.rb:50:in block in serve’
e453397b | /usr/share/gems/gems/actionpack-7.0.8.7/lib/action_dispatch/journey/router.rb:32:in each' e453397b | /usr/share/gems/gems/actionpack-7.0.8.7/lib/action_dispatch/journey/router.rb:32:in serve’
e453397b | /usr/share/gems/gems/actionpack-7.0.8.7/lib/action_dispatch/routing/route_set.rb:852:in call' e453397b | /usr/share/gems/gems/apipie-dsl-2.6.2/lib/apipie_dsl/static_dispatcher.rb:67:in call’
e453397b | /usr/share/gems/gems/apipie-rails-1.4.2/lib/apipie/static_dispatcher.rb:74:in call' e453397b | /usr/share/gems/gems/actionpack-7.0.8.7/lib/action_dispatch/middleware/static.rb:23:in call’
e453397b | /usr/share/gems/gems/actionpack-7.0.8.7/lib/action_dispatch/middleware/static.rb:23:in call' e453397b | /usr/share/gems/gems/actionpack-7.0.8.7/lib/action_dispatch/middleware/static.rb:23:in call’
e453397b | /usr/share/gems/gems/actionpack-7.0.8.7/lib/action_dispatch/middleware/static.rb:23:in call' e453397b | /usr/share/foreman/lib/foreman/middleware/libvirt_connection_cleaner.rb:9:in call’
e453397b | /usr/share/foreman/lib/foreman/middleware/telemetry.rb:10:in call' e453397b | /usr/share/gems/gems/apipie-rails-1.4.2/lib/apipie/middleware/checksum_in_headers.rb:27:in call’
e453397b | /usr/share/gems/gems/rack-2.2.17/lib/rack/tempfile_reaper.rb:15:in call' e453397b | /usr/share/gems/gems/rack-2.2.17/lib/rack/etag.rb:27:in call’
e453397b | /usr/share/gems/gems/rack-2.2.17/lib/rack/conditional_get.rb:40:in call' e453397b | /usr/share/gems/gems/rack-2.2.17/lib/rack/head.rb:12:in call’
e453397b | /usr/share/gems/gems/actionpack-7.0.8.7/lib/action_dispatch/http/permissions_policy.rb:38:in call' e453397b | /usr/share/gems/gems/actionpack-7.0.8.7/lib/action_dispatch/http/content_security_policy.rb:39:in call’
e453397b | /usr/share/foreman/lib/foreman/middleware/logging_context_session.rb:22:in call' e453397b | /usr/share/gems/gems/rack-2.2.17/lib/rack/session/abstract/id.rb:266:in context’
e453397b | /usr/share/gems/gems/rack-2.2.17/lib/rack/session/abstract/id.rb:260:in call' e453397b | /usr/share/gems/gems/actionpack-7.0.8.7/lib/action_dispatch/middleware/cookies.rb:704:in call’
e453397b | /usr/share/gems/gems/actionpack-7.0.8.7/lib/action_dispatch/middleware/callbacks.rb:27:in block in call' e453397b | /usr/share/gems/gems/activesupport-7.0.8.7/lib/active_support/callbacks.rb:99:in run_callbacks’
e453397b | /usr/share/gems/gems/actionpack-7.0.8.7/lib/action_dispatch/middleware/callbacks.rb:26:in call' e453397b | /usr/share/gems/gems/actionpack-7.0.8.7/lib/action_dispatch/middleware/debug_exceptions.rb:28:in call’
e453397b | /usr/share/gems/gems/actionpack-7.0.8.7/lib/action_dispatch/middleware/show_exceptions.rb:29:in call' e453397b | /usr/share/gems/gems/railties-7.0.8.7/lib/rails/rack/logger.rb:40:in call_app’
e453397b | /usr/share/gems/gems/railties-7.0.8.7/lib/rails/rack/logger.rb:27:in call' e453397b | /usr/share/gems/gems/sprockets-rails-3.5.2/lib/sprockets/rails/quiet_assets.rb:17:in call’
e453397b | /usr/share/foreman/lib/foreman/middleware/logging_context_request.rb:11:in call' e453397b | /usr/share/gems/gems/actionpack-7.0.8.7/lib/action_dispatch/middleware/remote_ip.rb:93:in call’
e453397b | /usr/share/gems/gems/actionpack-7.0.8.7/lib/action_dispatch/middleware/request_id.rb:26:in call' e453397b | /usr/share/gems/gems/rack-2.2.17/lib/rack/method_override.rb:24:in call’
e453397b | /usr/share/gems/gems/rack-2.2.17/lib/rack/runtime.rb:22:in call' e453397b | /usr/share/gems/gems/activesupport-7.0.8.7/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in call’
e453397b | /usr/share/gems/gems/actionpack-7.0.8.7/lib/action_dispatch/middleware/executor.rb:14:in call' e453397b | /usr/share/gems/gems/rack-2.2.17/lib/rack/sendfile.rb:110:in call’
e453397b | /usr/share/gems/gems/actionpack-7.0.8.7/lib/action_dispatch/middleware/ssl.rb:77:in call' e453397b | /usr/share/gems/gems/actionpack-7.0.8.7/lib/action_dispatch/middleware/host_authorization.rb:131:in call’
e453397b | /usr/share/gems/gems/secure_headers-7.1.0/lib/secure_headers/middleware.rb:11:in call' e453397b | /usr/share/gems/gems/railties-7.0.8.7/lib/rails/engine.rb:530:in call’
e453397b | /usr/share/gems/gems/railties-7.0.8.7/lib/rails/railtie.rb:226:in public_send' e453397b | /usr/share/gems/gems/railties-7.0.8.7/lib/rails/railtie.rb:226:in method_missing’
e453397b | /usr/share/gems/gems/rack-2.2.17/lib/rack/urlmap.rb:74:in block in call' e453397b | /usr/share/gems/gems/rack-2.2.17/lib/rack/urlmap.rb:58:in each’
e453397b | /usr/share/gems/gems/rack-2.2.17/lib/rack/urlmap.rb:58:in call' e453397b | /usr/share/gems/gems/puma-6.6.1/lib/puma/configuration.rb:279:in call’
e453397b | /usr/share/gems/gems/puma-6.6.1/lib/puma/request.rb:99:in block in handle_request' e453397b | /usr/share/gems/gems/puma-6.6.1/lib/puma/thread_pool.rb:390:in with_force_shutdown’
e453397b | /usr/share/gems/gems/puma-6.6.1/lib/puma/request.rb:98:in handle_request' e453397b | /usr/share/gems/gems/puma-6.6.1/lib/puma/server.rb:472:in process_client’
e453397b | /usr/share/gems/gems/puma-6.6.1/lib/puma/server.rb:254:in block in run' e453397b | /usr/share/gems/gems/puma-6.6.1/lib/puma/thread_pool.rb:167:in block in spawn_thread’
e453397b | /usr/share/gems/gems/logging-2.4.0/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context’
2025-10-31T22:22:58 [I|app|e453397b] Rendered common/500.html.erb (Duration: 4.4ms | Allocations: 856)
2025-10-31T22:22:58 [I|app|e453397b] Completed 500 Internal Server Error in 34ms (Views: 13.1ms | ActiveRecord: 3.0ms | Allocations: 6352)
2025-10-31T22:23:02 [I|app|92e5a2ba] Started GET “/notification_recipients” for 172.20.1.1 at 2025-10-31 22:23:02 +0100
2025-10-31T22:23:02 [I|app|92e5a2ba] Processing by NotificationRecipientsController#index as JSON
2025-10-31T22:23:02 [I|app|92e5a2ba] Completed 200 OK in 10ms (Views: 0.1ms | ActiveRecord: 2.1ms | Allocations: 2209)