journalctl did the trick. I got
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: Process Process-38:
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: Traceback (most recent call last):
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: File "/opt/utils/venv/pulp/3.9.7/lib64/python3.9/site-packages/django/db/backends/utils.py", line 84, in _execute
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: return self.cursor.execute(sql, params)
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: psycopg2.OperationalError: SSL SYSCALL error: EOF detected
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: The above exception was the direct cause of the following exception:
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: Traceback (most recent call last):
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: File "/opt/utils/venv/pulp/3.9.7/lib64/python3.9/site-packages/pulpcore/app/models/repository.py", line 1065, in __exit__
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: repository.finalize_new_version(self)
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: File "/opt/utils/venv/pulp/3.9.7/lib64/python3.9/site-packages/pulp_ansible/app/models.py", line 382, in finalize_new_version
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: for version in removed_collection_versions:
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: File "/opt/utils/venv/pulp/3.9.7/lib64/python3.9/site-packages/django/db/models/query.py", line 280, in __iter__
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: self._fetch_all()
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: File "/opt/utils/venv/pulp/3.9.7/lib64/python3.9/site-packages/django/db/models/query.py", line 1324, in _fetch_all
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: self._result_cache = list(self._iterable_class(self))
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: File "/opt/utils/venv/pulp/3.9.7/lib64/python3.9/site-packages/django/db/models/query.py", line 51, in __iter__
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: results = compiler.execute_sql(chunked_fetch=self.chunked_fetch, chunk_size=self.chunk_size)
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: File "/opt/utils/venv/pulp/3.9.7/lib64/python3.9/site-packages/django/db/models/sql/compiler.py", line 1175, in execute_sql
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: cursor.execute(sql, params)
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: File "/opt/utils/venv/pulp/3.9.7/lib64/python3.9/site-packages/django/db/backends/utils.py", line 66, in execute
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: File "/opt/utils/venv/pulp/3.9.7/lib64/python3.9/site-packages/django/db/backends/utils.py", line 75, in _execute_with_wrappers
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: return executor(sql, params, many, context)
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: File "/opt/utils/venv/pulp/3.9.7/lib64/python3.9/site-packages/django/db/backends/utils.py", line 84, in _execute
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: return self.cursor.execute(sql, params)
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: File "/opt/utils/venv/pulp/3.9.7/lib64/python3.9/site-packages/django/db/utils.py", line 90, in __exit__
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: raise dj_exc_value.with_traceback(traceback) from exc_value
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: File "/opt/utils/venv/pulp/3.9.7/lib64/python3.9/site-packages/django/db/backends/utils.py", line 84, in _execute
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: return self.cursor.execute(sql, params)
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: django.db.utils.OperationalError: SSL SYSCALL error: EOF detected
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: During handling of the above exception, another exception occurred:
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: Traceback (most recent call last):
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: File "/opt/utils/venv/pulp/3.9.7/lib64/python3.9/site-packages/django/db/backends/postgresql/base.py", line 277, in _set_autocommit
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: self.connection.autocommit = autocommit
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: psycopg2.InterfaceError: connection already closed
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: The above exception was the direct cause of the following exception:
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: Traceback (most recent call last):
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: File "/opt/utils/venv/pulp/3.9.7/lib64/python3.9/site-packages/pulpcore/tasking/pulpcore_worker.py", line 452, in _perform_task
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: result = func(*args, **kwargs)
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: File "/opt/utils/venv/pulp/3.9.7/lib64/python3.9/site-packages/pulp_ansible/app/tasks/collections.py", line 188, in sync
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: repo_version = d_version.create()
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: File "/opt/utils/venv/pulp/3.9.7/lib64/python3.9/site-packages/pulpcore/plugin/stages/declarative_version.py", line 161, in create
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: loop.run_until_complete(pipeline)
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: File "/opt/utils/venv/pulp/3.9.7/lib64/python3.9/site-packages/pulpcore/app/models/repository.py", line 1092, in __exit__
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: self.delete()
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: File "/opt/utils/venv/pulp/3.9.7/lib64/python3.9/site-packages/pulpcore/app/models/repository.py", line 1006, in delete
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: with transaction.atomic():
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: File "/opt/utils/venv/pulp/3.9.7/lib64/python3.9/site-packages/django/db/transaction.py", line 207, in __enter__
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: connection.set_autocommit(False, force_begin_transaction_with_broken_autocommit=True)
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: File "/opt/utils/venv/pulp/3.9.7/lib64/python3.9/site-packages/django/db/backends/base/base.py", line 415, in set_autocommit
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: self._set_autocommit(autocommit)
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: File "/opt/utils/venv/pulp/3.9.7/lib64/python3.9/site-packages/django/db/backends/postgresql/base.py", line 277, in _set_autocommit
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: self.connection.autocommit = autocommit
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: File "/opt/utils/venv/pulp/3.9.7/lib64/python3.9/site-packages/django/db/utils.py", line 90, in __exit__
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: raise dj_exc_value.with_traceback(traceback) from exc_value
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: File "/opt/utils/venv/pulp/3.9.7/lib64/python3.9/site-packages/django/db/backends/postgresql/base.py", line 277, in _set_autocommit
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: self.connection.autocommit = autocommit
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: django.db.utils.InterfaceError: connection already closed
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: During handling of the above exception, another exception occurred:
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: Traceback (most recent call last):
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: File "/opt/utils/venv/pulp/3.9.7/lib64/python3.9/site-packages/django/db/backends/base/base.py", line 237, in _cursor
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: return self._prepare_cursor(self.create_cursor(name))
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: File "/opt/utils/venv/pulp/3.9.7/lib64/python3.9/site-packages/django/utils/asyncio.py", line 33, in inner
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: return func(*args, **kwargs)
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: File "/opt/utils/venv/pulp/3.9.7/lib64/python3.9/site-packages/django/db/backends/postgresql/base.py", line 236, in create_cursor
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: cursor = self.connection.cursor()
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: psycopg2.InterfaceError: connection already closed
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: The above exception was the direct cause of the following exception:
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: Traceback (most recent call last):
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: File "/usr/lib64/python3.9/multiprocessing/process.py", line 315, in _bootstrap
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: self.run()
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: File "/usr/lib64/python3.9/multiprocessing/process.py", line 108, in run
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: self._target(*self._args, **self._kwargs)
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: File "/opt/utils/venv/pulp/3.9.7/lib64/python3.9/site-packages/pulpcore/tasking/pulpcore_worker.py", line 460, in _perform_task
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: task.set_failed(exc, tb)
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: File "/opt/utils/venv/pulp/3.9.7/lib64/python3.9/site-packages/pulpcore/app/models/task.py", line 277, in set_failed
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: Task.objects.filter(pk=self.pk)
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: File "/opt/utils/venv/pulp/3.9.7/lib64/python3.9/site-packages/django/db/models/query.py", line 783, in update
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: rows = query.get_compiler(self.db).execute_sql(CURSOR)
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: File "/opt/utils/venv/pulp/3.9.7/lib64/python3.9/site-packages/django/db/models/sql/compiler.py", line 1559, in execute_sql
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: cursor = super().execute_sql(result_type)
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: File "/opt/utils/venv/pulp/3.9.7/lib64/python3.9/site-packages/django/db/models/sql/compiler.py", line 1173, in execute_sql
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: cursor = self.connection.cursor()
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: File "/opt/utils/venv/pulp/3.9.7/lib64/python3.9/site-packages/django/utils/asyncio.py", line 33, in inner
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: return func(*args, **kwargs)
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: File "/opt/utils/venv/pulp/3.9.7/lib64/python3.9/site-packages/django/db/backends/base/base.py", line 259, in cursor
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: return self._cursor()
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: File "/opt/utils/venv/pulp/3.9.7/lib64/python3.9/site-packages/django/db/backends/base/base.py", line 237, in _cursor
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: return self._prepare_cursor(self.create_cursor(name))
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: File "/opt/utils/venv/pulp/3.9.7/lib64/python3.9/site-packages/django/db/utils.py", line 90, in __exit__
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: raise dj_exc_value.with_traceback(traceback) from exc_value
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: File "/opt/utils/venv/pulp/3.9.7/lib64/python3.9/site-packages/django/db/backends/base/base.py", line 237, in _cursor
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: return self._prepare_cursor(self.create_cursor(name))
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: File "/opt/utils/venv/pulp/3.9.7/lib64/python3.9/site-packages/django/utils/asyncio.py", line 33, in inner
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: return func(*args, **kwargs)
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: File "/opt/utils/venv/pulp/3.9.7/lib64/python3.9/site-packages/django/db/backends/postgresql/base.py", line 236, in create_cursor
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: cursor = self.connection.cursor()
Apr 06 11:46:35 pulpd-ob-683 pulpcore-worker[77127]: django.db.utils.InterfaceError: connection already closed