When i try foreman-installer i got:
2024-08-20 09:42:22 [NOTICE] [root] Loading installer configuration. This will take some time.
2024-08-20 09:42:27 [NOTICE] [root] Running installer with log based terminal output at level NOTICE.
2024-08-20 09:42:27 [NOTICE] [root] Use -l to set the terminal output log level to ERROR, WARN, NOTICE, INFO, or DEBUG. See --full-help for definitions.
2024-08-20 09:42:37 [NOTICE] [configure] Starting system configuration.
2024-08-20 09:42:54 [NOTICE] [configure] 250 configuration steps out of 1782 steps complete.
2024-08-20 09:42:57 [NOTICE] [configure] 500 configuration steps out of 1783 steps complete.
2024-08-20 09:43:01 [NOTICE] [configure] 750 configuration steps out of 1786 steps complete.
2024-08-20 09:43:02 [NOTICE] [configure] 1000 configuration steps out of 1792 steps complete.
2024-08-20 09:43:03 [NOTICE] [configure] 1250 configuration steps out of 1793 steps complete.
2024-08-20 09:43:04 [NOTICE] [configure] 1500 configuration steps out of 1793 steps complete.
2024-08-20 09:43:27 [ERROR ] [configure] '/usr/sbin/foreman-rake db:migrate' returned 1 instead of one of [0]
2024-08-20 09:43:27 [ERROR ] [configure] /Stage[main]/Foreman::Database/Foreman::Rake[db:migrate]/Exec[foreman-rake-db:migrate]/returns: change from 'notrun' to ['0'] failed: '/usr/sbin/foreman-rake db:migrate' returned 1 instead of one of [0]
2024-08-20 09:43:50 [ERROR ] [configure] 'pulpcore-manager migrate --noinput' returned 1 instead of one of [0]
2024-08-20 09:43:50 [ERROR ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns: change from 'notrun' to ['0'] failed: 'pulpcore-manager migrate --noinput' returned 1 instead of one of [0]
2024-08-20 09:43:50 [NOTICE] [configure] 1750 configuration steps out of 1793 steps complete.
2024-08-20 09:43:56 [NOTICE] [configure] System configuration has finished.
Error 1: Puppet Exec resource 'foreman-rake-db:migrate' failed. Logs:
/Stage[main]/Foreman::Database/Foreman::Rake[db:migrate]/Exec[foreman-rake-db:migrate]
Adding autorequire relationship with User[foreman]
Starting to evaluate the resource (1524 of 1793)
Evaluated in 23.19 seconds
Exec[foreman-rake-db:migrate](provider=posix)
Executing check '/usr/sbin/foreman-rake db:abort_if_pending_migrations'
Executing '/usr/sbin/foreman-rake db:migrate'
/Stage[main]/Foreman::Database/Foreman::Rake[db:migrate]/Exec[foreman-rake-db:migrate]/unless
rake aborted!
ActiveRecord::ConnectionNotEstablished: FATAL: remaining connection slots are reserved for non-replication superuser connections
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/connection_adapters/postgresql_adapter.rb:83:in `rescue in new_client'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/connection_adapters/postgresql_adapter.rb:77:in `new_client'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/connection_adapters/postgresql_adapter.rb:37:in `postgresql_connection'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:882:in `public_send'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:882:in `new_connection'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:926:in `checkout_new_connection'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:905:in `try_to_checkout_new_connection'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:866:in `acquire_connection'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:588:in `checkout'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:428:in `connection'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:1128:in `retrieve_connection'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/connection_handling.rb:327:in `retrieve_connection'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/connection_handling.rb:283:in `connection'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/model_schema.rb:553:in `load_schema!'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/attributes.rb:250:in `load_schema!'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/model_schema.rb:539:in `block in load_schema'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/model_schema.rb:536:in `synchronize'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/model_schema.rb:536:in `load_schema'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/model_schema.rb:392:in `columns_hash'
/usr/share/foreman/app/services/graphql_attribute.rb:15:in `required?'
/usr/share/foreman/app/graphql/types/base_object.rb:55:in `nullable?'
/usr/share/foreman/app/graphql/types/base_object.rb:9:in `field'
/usr/share/gems/gems/foreman_remote_execution-13.1.0/app/graphql/types/job_invocation.rb:6:in `<class:JobInvocation>'
/usr/share/gems/gems/foreman_remote_execution-13.1.0/app/graphql/types/job_invocation.rb:2:in `<module:Types>'
/usr/share/gems/gems/foreman_remote_execution-13.1.0/app/graphql/types/job_invocation.rb:1:in `<top (required)>'
/usr/share/gems/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
/usr/share/gems/gems/zeitwerk-2.6.14/lib/zeitwerk/kernel.rb:34:in `require'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:332:in `block in require'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:299:in `load_dependency'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:332:in `require'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:424:in `block in require_or_load'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:39:in `block in load_interlock'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies/interlock.rb:14:in `block in loading'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/concurrency/share_lock.rb:151:in `exclusive'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies/interlock.rb:13:in `loading'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:39:in `load_interlock'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:402:in `require_or_load'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:558:in `load_missing_constant'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:213:in `const_missing'
/usr/share/gems/gems/foreman_remote_execution-13.1.0/app/graphql/mutations/job_invocations/create.rb:8:in `<class:Create>'
/usr/share/gems/gems/foreman_remote_execution-13.1.0/app/graphql/mutations/job_invocations/create.rb:3:in `<module:JobInvocations>'
/usr/share/gems/gems/foreman_remote_execution-13.1.0/app/graphql/mutations/job_invocations/create.rb:2:in `<module:Mutations>'
/usr/share/gems/gems/foreman_remote_execution-13.1.0/app/graphql/mutations/job_invocations/create.rb:1:in `<top (required)>'
/usr/share/gems/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
/usr/share/gems/gems/zeitwerk-2.6.14/lib/zeitwerk/kernel.rb:34:in `require'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:332:in `block in require'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:299:in `load_dependency'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:332:in `require'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:424:in `block in require_or_load'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:39:in `block in load_interlock'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies/interlock.rb:14:in `block in loading'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/concurrency/share_lock.rb:151:in `exclusive'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies/interlock.rb:13:in `loading'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:39:in `load_interlock'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:402:in `require_or_load'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:558:in `load_missing_constant'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:213:in `const_missing'
/usr/share/gems/gems/foreman_remote_execution-13.1.0/lib/foreman_remote_execution/engine.rb:270:in `block (2 levels) in <class:Engine>'
/usr/share/foreman/app/registries/foreman/plugin.rb:100:in `instance_eval'
/usr/share/foreman/app/registries/foreman/plugin.rb:100:in `register'
/usr/share/gems/gems/foreman_remote_execution-13.1.0/lib/foreman_remote_execution/engine.rb:49:in `block in <class:Engine>'
/usr/share/gems/gems/railties-6.1.7.8/lib/rails/initializable.rb:32:in `instance_exec'
/usr/share/gems/gems/railties-6.1.7.8/lib/rails/initializable.rb:32:in `run'
/usr/share/foreman/config/initializers/0_print_time_spent.rb:45:in `block in run'
/usr/share/foreman/config/initializers/0_print_time_spent.rb:17:in `benchmark'
/usr/share/foreman/config/initializers/0_print_time_spent.rb:45:in `run'
/usr/share/gems/gems/railties-6.1.7.8/lib/rails/initializable.rb:61:in `block in run_initializers'
/usr/share/gems/gems/railties-6.1.7.8/lib/rails/initializable.rb:60:in `run_initializers'
/usr/share/gems/gems/railties-6.1.7.8/lib/rails/application.rb:391:in `initialize!'
/usr/share/gems/gems/railties-6.1.7.8/lib/rails/railtie.rb:207:in `public_send'
/usr/share/gems/gems/railties-6.1.7.8/lib/rails/railtie.rb:207:in `method_missing'
/usr/share/foreman/config/environment.rb:5:in `<top (required)>'
/usr/share/gems/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
/usr/share/gems/gems/zeitwerk-2.6.14/lib/zeitwerk/kernel.rb:34:in `require'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:332:in `block in require'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:299:in `load_dependency'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:332:in `require'
/usr/share/gems/gems/railties-6.1.7.8/lib/rails/application.rb:367:in `require_environment!'
/usr/share/gems/gems/railties-6.1.7.8/lib/rails/application.rb:533:in `block in run_tasks_blocks'
/usr/share/gems/gems/rake-13.0.1/exe/rake:27:in `<top (required)>'
Caused by:
PG::ConnectionBad: FATAL: remaining connection slots are reserved for non-replication superuser connections
/usr/share/gems/gems/pg-1.5.6/lib/pg/connection.rb:701:in `async_connect_or_reset'
/usr/share/gems/gems/pg-1.5.6/lib/pg/connection.rb:833:in `connect_to_hosts'
/usr/share/gems/gems/pg-1.5.6/lib/pg/connection.rb:764:in `new'
/usr/share/gems/gems/pg-1.5.6/lib/pg.rb:63:in `connect'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/connection_adapters/postgresql_adapter.rb:78:in `new_client'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/connection_adapters/postgresql_adapter.rb:37:in `postgresql_connection'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:882:in `public_send'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:882:in `new_connection'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:926:in `checkout_new_connection'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:905:in `try_to_checkout_new_connection'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:866:in `acquire_connection'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:588:in `checkout'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:428:in `connection'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:1128:in `retrieve_connection'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/connection_handling.rb:327:in `retrieve_connection'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/connection_handling.rb:283:in `connection'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/model_schema.rb:553:in `load_schema!'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/attributes.rb:250:in `load_schema!'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/model_schema.rb:539:in `block in load_schema'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/model_schema.rb:536:in `synchronize'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/model_schema.rb:536:in `load_schema'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/model_schema.rb:392:in `columns_hash'
/usr/share/foreman/app/services/graphql_attribute.rb:15:in `required?'
/usr/share/foreman/app/graphql/types/base_object.rb:55:in `nullable?'
/usr/share/foreman/app/graphql/types/base_object.rb:9:in `field'
/usr/share/gems/gems/foreman_remote_execution-13.1.0/app/graphql/types/job_invocation.rb:6:in `<class:JobInvocation>'
/usr/share/gems/gems/foreman_remote_execution-13.1.0/app/graphql/types/job_invocation.rb:2:in `<module:Types>'
/usr/share/gems/gems/foreman_remote_execution-13.1.0/app/graphql/types/job_invocation.rb:1:in `<top (required)>'
/usr/share/gems/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
/usr/share/gems/gems/zeitwerk-2.6.14/lib/zeitwerk/kernel.rb:34:in `require'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:332:in `block in require'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:299:in `load_dependency'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:332:in `require'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:424:in `block in require_or_load'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:39:in `block in load_interlock'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies/interlock.rb:14:in `block in loading'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/concurrency/share_lock.rb:151:in `exclusive'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies/interlock.rb:13:in `loading'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:39:in `load_interlock'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:402:in `require_or_load'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:558:in `load_missing_constant'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:213:in `const_missing'
/usr/share/gems/gems/foreman_remote_execution-13.1.0/app/graphql/mutations/job_invocations/create.rb:8:in `<class:Create>'
/usr/share/gems/gems/foreman_remote_execution-13.1.0/app/graphql/mutations/job_invocations/create.rb:3:in `<module:JobInvocations>'
/usr/share/gems/gems/foreman_remote_execution-13.1.0/app/graphql/mutations/job_invocations/create.rb:2:in `<module:Mutations>'
/usr/share/gems/gems/foreman_remote_execution-13.1.0/app/graphql/mutations/job_invocations/create.rb:1:in `<top (required)>'
/usr/share/gems/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
/usr/share/gems/gems/zeitwerk-2.6.14/lib/zeitwerk/kernel.rb:34:in `require'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:332:in `block in require'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:299:in `load_dependency'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:332:in `require'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:424:in `block in require_or_load'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:39:in `block in load_interlock'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies/interlock.rb:14:in `block in loading'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/concurrency/share_lock.rb:151:in `exclusive'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies/interlock.rb:13:in `loading'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:39:in `load_interlock'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:402:in `require_or_load'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:558:in `load_missing_constant'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:213:in `const_missing'
/usr/share/gems/gems/foreman_remote_execution-13.1.0/lib/foreman_remote_execution/engine.rb:270:in `block (2 levels) in <class:Engine>'
/usr/share/foreman/app/registries/foreman/plugin.rb:100:in `instance_eval'
/usr/share/foreman/app/registries/foreman/plugin.rb:100:in `register'
/usr/share/gems/gems/foreman_remote_execution-13.1.0/lib/foreman_remote_execution/engine.rb:49:in `block in <class:Engine>'
/usr/share/gems/gems/railties-6.1.7.8/lib/rails/initializable.rb:32:in `instance_exec'
/usr/share/gems/gems/railties-6.1.7.8/lib/rails/initializable.rb:32:in `run'
/usr/share/foreman/config/initializers/0_print_time_spent.rb:45:in `block in run'
/usr/share/foreman/config/initializers/0_print_time_spent.rb:17:in `benchmark'
/usr/share/foreman/config/initializers/0_print_time_spent.rb:45:in `run'
/usr/share/gems/gems/railties-6.1.7.8/lib/rails/initializable.rb:61:in `block in run_initializers'
/usr/share/gems/gems/railties-6.1.7.8/lib/rails/initializable.rb:60:in `run_initializers'
/usr/share/gems/gems/railties-6.1.7.8/lib/rails/application.rb:391:in `initialize!'
/usr/share/gems/gems/railties-6.1.7.8/lib/rails/railtie.rb:207:in `public_send'
/usr/share/gems/gems/railties-6.1.7.8/lib/rails/railtie.rb:207:in `method_missing'
/usr/share/foreman/config/environment.rb:5:in `<top (required)>'
/usr/share/gems/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
/usr/share/gems/gems/zeitwerk-2.6.14/lib/zeitwerk/kernel.rb:34:in `require'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:332:in `block in require'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:299:in `load_dependency'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:332:in `require'
/usr/share/gems/gems/railties-6.1.7.8/lib/rails/application.rb:367:in `require_environment!'
/usr/share/gems/gems/railties-6.1.7.8/lib/rails/application.rb:533:in `block in run_tasks_blocks'
/usr/share/gems/gems/rake-13.0.1/exe/rake:27:in `<top (required)>'
Tasks: TOP => db:abort_if_pending_migrations => db:load_config => environment
(See full trace by running task with --trace)
/Stage[main]/Foreman::Database/Foreman::Rake[db:migrate]/Exec[foreman-rake-db:migrate]/returns
rake aborted!
ActiveRecord::ConnectionNotEstablished: FATAL: remaining connection slots are reserved for non-replication superuser connections
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/connection_adapters/postgresql_adapter.rb:83:in `rescue in new_client'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/connection_adapters/postgresql_adapter.rb:77:in `new_client'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/connection_adapters/postgresql_adapter.rb:37:in `postgresql_connection'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:882:in `public_send'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:882:in `new_connection'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:926:in `checkout_new_connection'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:905:in `try_to_checkout_new_connection'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:866:in `acquire_connection'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:588:in `checkout'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:428:in `connection'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:1128:in `retrieve_connection'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/connection_handling.rb:327:in `retrieve_connection'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/connection_handling.rb:283:in `connection'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/model_schema.rb:553:in `load_schema!'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/attributes.rb:250:in `load_schema!'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/model_schema.rb:539:in `block in load_schema'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/model_schema.rb:536:in `synchronize'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/model_schema.rb:536:in `load_schema'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/model_schema.rb:392:in `columns_hash'
/usr/share/foreman/app/services/graphql_attribute.rb:15:in `required?'
/usr/share/foreman/app/graphql/types/base_object.rb:55:in `nullable?'
/usr/share/foreman/app/graphql/types/base_object.rb:9:in `field'
/usr/share/gems/gems/foreman_remote_execution-13.1.0/app/graphql/types/job_invocation.rb:6:in `<class:JobInvocation>'
/usr/share/gems/gems/foreman_remote_execution-13.1.0/app/graphql/types/job_invocation.rb:2:in `<module:Types>'
/usr/share/gems/gems/foreman_remote_execution-13.1.0/app/graphql/types/job_invocation.rb:1:in `<top (required)>'
/usr/share/gems/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
/usr/share/gems/gems/zeitwerk-2.6.14/lib/zeitwerk/kernel.rb:34:in `require'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:332:in `block in require'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:299:in `load_dependency'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:332:in `require'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:424:in `block in require_or_load'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:39:in `block in load_interlock'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies/interlock.rb:14:in `block in loading'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/concurrency/share_lock.rb:151:in `exclusive'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies/interlock.rb:13:in `loading'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:39:in `load_interlock'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:402:in `require_or_load'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:558:in `load_missing_constant'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:213:in `const_missing'
/usr/share/gems/gems/foreman_remote_execution-13.1.0/app/graphql/mutations/job_invocations/create.rb:8:in `<class:Create>'
/usr/share/gems/gems/foreman_remote_execution-13.1.0/app/graphql/mutations/job_invocations/create.rb:3:in `<module:JobInvocations>'
/usr/share/gems/gems/foreman_remote_execution-13.1.0/app/graphql/mutations/job_invocations/create.rb:2:in `<module:Mutations>'
/usr/share/gems/gems/foreman_remote_execution-13.1.0/app/graphql/mutations/job_invocations/create.rb:1:in `<top (required)>'
/usr/share/gems/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
/usr/share/gems/gems/zeitwerk-2.6.14/lib/zeitwerk/kernel.rb:34:in `require'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:332:in `block in require'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:299:in `load_dependency'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:332:in `require'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:424:in `block in require_or_load'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:39:in `block in load_interlock'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies/interlock.rb:14:in `block in loading'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/concurrency/share_lock.rb:151:in `exclusive'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies/interlock.rb:13:in `loading'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:39:in `load_interlock'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:402:in `require_or_load'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:558:in `load_missing_constant'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:213:in `const_missing'
/usr/share/gems/gems/foreman_remote_execution-13.1.0/lib/foreman_remote_execution/engine.rb:270:in `block (2 levels) in <class:Engine>'
/usr/share/foreman/app/registries/foreman/plugin.rb:100:in `instance_eval'
/usr/share/foreman/app/registries/foreman/plugin.rb:100:in `register'
/usr/share/gems/gems/foreman_remote_execution-13.1.0/lib/foreman_remote_execution/engine.rb:49:in `block in <class:Engine>'
/usr/share/gems/gems/railties-6.1.7.8/lib/rails/initializable.rb:32:in `instance_exec'
/usr/share/gems/gems/railties-6.1.7.8/lib/rails/initializable.rb:32:in `run'
/usr/share/foreman/config/initializers/0_print_time_spent.rb:45:in `block in run'
/usr/share/foreman/config/initializers/0_print_time_spent.rb:17:in `benchmark'
/usr/share/foreman/config/initializers/0_print_time_spent.rb:45:in `run'
/usr/share/gems/gems/railties-6.1.7.8/lib/rails/initializable.rb:61:in `block in run_initializers'
/usr/share/gems/gems/railties-6.1.7.8/lib/rails/initializable.rb:60:in `run_initializers'
/usr/share/gems/gems/railties-6.1.7.8/lib/rails/application.rb:391:in `initialize!'
/usr/share/gems/gems/railties-6.1.7.8/lib/rails/railtie.rb:207:in `public_send'
/usr/share/gems/gems/railties-6.1.7.8/lib/rails/railtie.rb:207:in `method_missing'
/usr/share/foreman/config/environment.rb:5:in `<top (required)>'
/usr/share/gems/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
/usr/share/gems/gems/zeitwerk-2.6.14/lib/zeitwerk/kernel.rb:34:in `require'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:332:in `block in require'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:299:in `load_dependency'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:332:in `require'
/usr/share/gems/gems/railties-6.1.7.8/lib/rails/application.rb:367:in `require_environment!'
/usr/share/gems/gems/railties-6.1.7.8/lib/rails/application.rb:533:in `block in run_tasks_blocks'
/usr/share/gems/gems/rake-13.0.1/exe/rake:27:in `<top (required)>'
Caused by:
PG::ConnectionBad: FATAL: remaining connection slots are reserved for non-replication superuser connections
/usr/share/gems/gems/pg-1.5.6/lib/pg/connection.rb:701:in `async_connect_or_reset'
/usr/share/gems/gems/pg-1.5.6/lib/pg/connection.rb:833:in `connect_to_hosts'
/usr/share/gems/gems/pg-1.5.6/lib/pg/connection.rb:764:in `new'
/usr/share/gems/gems/pg-1.5.6/lib/pg.rb:63:in `connect'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/connection_adapters/postgresql_adapter.rb:78:in `new_client'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/connection_adapters/postgresql_adapter.rb:37:in `postgresql_connection'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:882:in `public_send'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:882:in `new_connection'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:926:in `checkout_new_connection'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:905:in `try_to_checkout_new_connection'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:866:in `acquire_connection'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:588:in `checkout'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:428:in `connection'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:1128:in `retrieve_connection'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/connection_handling.rb:327:in `retrieve_connection'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/connection_handling.rb:283:in `connection'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/model_schema.rb:553:in `load_schema!'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/attributes.rb:250:in `load_schema!'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/model_schema.rb:539:in `block in load_schema'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/model_schema.rb:536:in `synchronize'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/model_schema.rb:536:in `load_schema'
/usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/model_schema.rb:392:in `columns_hash'
/usr/share/foreman/app/services/graphql_attribute.rb:15:in `required?'
/usr/share/foreman/app/graphql/types/base_object.rb:55:in `nullable?'
/usr/share/foreman/app/graphql/types/base_object.rb:9:in `field'
/usr/share/gems/gems/foreman_remote_execution-13.1.0/app/graphql/types/job_invocation.rb:6:in `<class:JobInvocation>'
/usr/share/gems/gems/foreman_remote_execution-13.1.0/app/graphql/types/job_invocation.rb:2:in `<module:Types>'
/usr/share/gems/gems/foreman_remote_execution-13.1.0/app/graphql/types/job_invocation.rb:1:in `<top (required)>'
/usr/share/gems/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
/usr/share/gems/gems/zeitwerk-2.6.14/lib/zeitwerk/kernel.rb:34:in `require'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:332:in `block in require'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:299:in `load_dependency'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:332:in `require'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:424:in `block in require_or_load'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:39:in `block in load_interlock'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies/interlock.rb:14:in `block in loading'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/concurrency/share_lock.rb:151:in `exclusive'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies/interlock.rb:13:in `loading'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:39:in `load_interlock'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:402:in `require_or_load'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:558:in `load_missing_constant'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:213:in `const_missing'
/usr/share/gems/gems/foreman_remote_execution-13.1.0/app/graphql/mutations/job_invocations/create.rb:8:in `<class:Create>'
/usr/share/gems/gems/foreman_remote_execution-13.1.0/app/graphql/mutations/job_invocations/create.rb:3:in `<module:JobInvocations>'
/usr/share/gems/gems/foreman_remote_execution-13.1.0/app/graphql/mutations/job_invocations/create.rb:2:in `<module:Mutations>'
/usr/share/gems/gems/foreman_remote_execution-13.1.0/app/graphql/mutations/job_invocations/create.rb:1:in `<top (required)>'
/usr/share/gems/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
/usr/share/gems/gems/zeitwerk-2.6.14/lib/zeitwerk/kernel.rb:34:in `require'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:332:in `block in require'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:299:in `load_dependency'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:332:in `require'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:424:in `block in require_or_load'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:39:in `block in load_interlock'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies/interlock.rb:14:in `block in loading'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/concurrency/share_lock.rb:151:in `exclusive'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies/interlock.rb:13:in `loading'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:39:in `load_interlock'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:402:in `require_or_load'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:558:in `load_missing_constant'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:213:in `const_missing'
/usr/share/gems/gems/foreman_remote_execution-13.1.0/lib/foreman_remote_execution/engine.rb:270:in `block (2 levels) in <class:Engine>'
/usr/share/foreman/app/registries/foreman/plugin.rb:100:in `instance_eval'
/usr/share/foreman/app/registries/foreman/plugin.rb:100:in `register'
/usr/share/gems/gems/foreman_remote_execution-13.1.0/lib/foreman_remote_execution/engine.rb:49:in `block in <class:Engine>'
/usr/share/gems/gems/railties-6.1.7.8/lib/rails/initializable.rb:32:in `instance_exec'
/usr/share/gems/gems/railties-6.1.7.8/lib/rails/initializable.rb:32:in `run'
/usr/share/foreman/config/initializers/0_print_time_spent.rb:45:in `block in run'
/usr/share/foreman/config/initializers/0_print_time_spent.rb:17:in `benchmark'
/usr/share/foreman/config/initializers/0_print_time_spent.rb:45:in `run'
/usr/share/gems/gems/railties-6.1.7.8/lib/rails/initializable.rb:61:in `block in run_initializers'
/usr/share/gems/gems/railties-6.1.7.8/lib/rails/initializable.rb:60:in `run_initializers'
/usr/share/gems/gems/railties-6.1.7.8/lib/rails/application.rb:391:in `initialize!'
/usr/share/gems/gems/railties-6.1.7.8/lib/rails/railtie.rb:207:in `public_send'
/usr/share/gems/gems/railties-6.1.7.8/lib/rails/railtie.rb:207:in `method_missing'
/usr/share/foreman/config/environment.rb:5:in `<top (required)>'
/usr/share/gems/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
/usr/share/gems/gems/zeitwerk-2.6.14/lib/zeitwerk/kernel.rb:34:in `require'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:332:in `block in require'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:299:in `load_dependency'
/usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:332:in `require'
/usr/share/gems/gems/railties-6.1.7.8/lib/rails/application.rb:367:in `require_environment!'
/usr/share/gems/gems/railties-6.1.7.8/lib/rails/application.rb:533:in `block in run_tasks_blocks'
/usr/share/gems/gems/rake-13.0.1/exe/rake:27:in `<top (required)>'
Tasks: TOP => db:migrate => db:load_config => environment
(See full trace by running task with --trace)
change from 'notrun' to ['0'] failed: '/usr/sbin/foreman-rake db:migrate' returned 1 instead of one of [0]
Error 2: Puppet Exec resource 'pulpcore-manager migrate --noinput' failed. Logs:
/Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]
Adding autorequire relationship with File[/var/lib/pulp]
Adding autorequire relationship with User[pulp]
Starting to evaluate the resource (1636 of 1793)
Evaluated in 11.19 seconds
Exec[pulpcore-manager migrate --noinput](provider=posix)
Executing check 'pulpcore-manager migrate --check'
Executing 'pulpcore-manager migrate --noinput'
/Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/unless
Traceback (most recent call last):
File "/usr/lib/python3.11/site-packages/django/db/backends/base/base.py", line 289, in ensure_connection
self.connect()
File "/usr/lib/python3.11/site-packages/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/django/db/backends/base/base.py", line 270, in connect
self.connection = self.get_new_connection(conn_params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/django/db/backends/postgresql/base.py", line 275, in get_new_connection
connection = self.Database.connect(**conn_params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/psycopg/connection.py", line 728, in connect
raise ex.with_traceback(None)
psycopg.OperationalError: connection failed: remaining connection slots are reserved for non-replication superuser connections
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/bin/pulpcore-manager", line 33, in <module>
sys.exit(load_entry_point('pulpcore==3.49.16', 'console_scripts', 'pulpcore-manager')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pulpcore/app/manage.py", line 11, in manage
execute_from_command_line(sys.argv)
File "/usr/lib/python3.11/site-packages/django/core/management/__init__.py", line 442, in execute_from_command_line
utility.execute()
File "/usr/lib/python3.11/site-packages/django/core/management/__init__.py", line 436, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/lib/python3.11/site-packages/django/core/management/base.py", line 412, in run_from_argv
self.execute(*args, **cmd_options)
File "/usr/lib/python3.11/site-packages/django/core/management/base.py", line 458, in execute
output = self.handle(*args, **options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/django/core/management/base.py", line 106, in wrapper
res = handle_func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/django/core/management/commands/migrate.py", line 117, in handle
executor = MigrationExecutor(connection, self.migration_progress_callback)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/django/db/migrations/executor.py", line 18, in __init__
self.loader = MigrationLoader(self.connection)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/django/db/migrations/loader.py", line 58, in __init__
self.build_graph()
File "/usr/lib/python3.11/site-packages/django/db/migrations/loader.py", line 235, in build_graph
self.applied_migrations = recorder.applied_migrations()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/django/db/migrations/recorder.py", line 81, in applied_migrations
if self.has_table():
^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/django/db/migrations/recorder.py", line 57, in has_table
with self.connection.cursor() as cursor:
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/django/db/backends/base/base.py", line 330, in cursor
return self._cursor()
^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/django/db/backends/base/base.py", line 306, in _cursor
self.ensure_connection()
File "/usr/lib/python3.11/site-packages/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/django/db/backends/base/base.py", line 288, in ensure_connection
with self.wrap_database_errors:
File "/usr/lib/python3.11/site-packages/django/db/utils.py", line 91, in __exit__
raise dj_exc_value.with_traceback(traceback) from exc_value
File "/usr/lib/python3.11/site-packages/django/db/backends/base/base.py", line 289, in ensure_connection
self.connect()
File "/usr/lib/python3.11/site-packages/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/django/db/backends/base/base.py", line 270, in connect
self.connection = self.get_new_connection(conn_params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/django/db/backends/postgresql/base.py", line 275, in get_new_connection
connection = self.Database.connect(**conn_params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/psycopg/connection.py", line 728, in connect
raise ex.with_traceback(None)
django.db.utils.OperationalError: connection failed: remaining connection slots are reserved for non-replication superuser connections
/Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns
Traceback (most recent call last):
File "/usr/lib/python3.11/site-packages/django/db/backends/base/base.py", line 289, in ensure_connection
self.connect()
File "/usr/lib/python3.11/site-packages/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/django/db/backends/base/base.py", line 270, in connect
self.connection = self.get_new_connection(conn_params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/django/db/backends/postgresql/base.py", line 275, in get_new_connection
connection = self.Database.connect(**conn_params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/psycopg/connection.py", line 728, in connect
raise ex.with_traceback(None)
psycopg.OperationalError: connection failed: remaining connection slots are reserved for non-replication superuser connections
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/bin/pulpcore-manager", line 33, in <module>
sys.exit(load_entry_point('pulpcore==3.49.16', 'console_scripts', 'pulpcore-manager')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pulpcore/app/manage.py", line 11, in manage
execute_from_command_line(sys.argv)
File "/usr/lib/python3.11/site-packages/django/core/management/__init__.py", line 442, in execute_from_command_line
utility.execute()
File "/usr/lib/python3.11/site-packages/django/core/management/__init__.py", line 436, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/lib/python3.11/site-packages/django/core/management/base.py", line 412, in run_from_argv
self.execute(*args, **cmd_options)
File "/usr/lib/python3.11/site-packages/django/core/management/base.py", line 458, in execute
output = self.handle(*args, **options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/django/core/management/base.py", line 106, in wrapper
res = handle_func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/django/core/management/commands/migrate.py", line 117, in handle
executor = MigrationExecutor(connection, self.migration_progress_callback)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/django/db/migrations/executor.py", line 18, in __init__
self.loader = MigrationLoader(self.connection)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/django/db/migrations/loader.py", line 58, in __init__
self.build_graph()
File "/usr/lib/python3.11/site-packages/django/db/migrations/loader.py", line 235, in build_graph
self.applied_migrations = recorder.applied_migrations()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/django/db/migrations/recorder.py", line 81, in applied_migrations
if self.has_table():
^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/django/db/migrations/recorder.py", line 57, in has_table
with self.connection.cursor() as cursor:
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/django/db/backends/base/base.py", line 330, in cursor
return self._cursor()
^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/django/db/backends/base/base.py", line 306, in _cursor
self.ensure_connection()
File "/usr/lib/python3.11/site-packages/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/django/db/backends/base/base.py", line 288, in ensure_connection
with self.wrap_database_errors:
File "/usr/lib/python3.11/site-packages/django/db/utils.py", line 91, in __exit__
raise dj_exc_value.with_traceback(traceback) from exc_value
File "/usr/lib/python3.11/site-packages/django/db/backends/base/base.py", line 289, in ensure_connection
self.connect()
File "/usr/lib/python3.11/site-packages/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/django/db/backends/base/base.py", line 270, in connect
self.connection = self.get_new_connection(conn_params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/django/db/backends/postgresql/base.py", line 275, in get_new_connection
connection = self.Database.connect(**conn_params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/psycopg/connection.py", line 728, in connect
raise ex.with_traceback(None)
django.db.utils.OperationalError: connection failed: remaining connection slots are reserved for non-replication superuser connections
change from 'notrun' to ['0'] failed: 'pulpcore-manager migrate --noinput' returned 1 instead of one of [0]
2 errors were detected.
Please address the errors and re-run the installer to ensure the system is properly configured.
Failing to do so is likely to result in broken functionality.
Foreman 3.11.1
katello-4.13.1
OS: Rocky Linux 8.10