Feb 23 12:50:21 foreman pulpcore-worker-2: pulp: rq.worker:ERROR: Traceback (most recent call last): Feb 23 12:50:21 foreman pulpcore-worker-2: File "/usr/lib/python3.6/site-packages/django/db/backends/utils.py", line 84, in _execute Feb 23 12:50:21 foreman pulpcore-worker-2: return self.cursor.execute(sql, params) Feb 23 12:50:21 foreman pulpcore-worker-2: psycopg2.errors.UniqueViolation: duplicate key value violates unique constraint "rpm_package_pkgId_key" Feb 23 12:50:21 foreman pulpcore-worker-2: DETAIL: Key ("pkgId")=(d0694c8f5f34ab8c2e01004972cfe93f194bddf8) already exists. Feb 23 12:50:21 foreman pulpcore-worker-2: The above exception was the direct cause of the following exception: Feb 23 12:50:21 foreman pulpcore-worker-2: Traceback (most recent call last): Feb 23 12:50:21 foreman pulpcore-worker-2: File "/usr/lib/python3.6/site-packages/pulpcore/plugin/stages/content_stages.py", line 102, in run Feb 23 12:50:21 foreman pulpcore-worker-2: d_content.content.save() Feb 23 12:50:21 foreman pulpcore-worker-2: File "/usr/lib/python3.6/site-packages/pulpcore/app/models/base.py", line 115, in save Feb 23 12:50:21 foreman pulpcore-worker-2: return super().save(*args, **kwargs) Feb 23 12:50:21 foreman pulpcore-worker-2: File "/usr/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 129, in save Feb 23 12:50:21 foreman pulpcore-worker-2: save(*args, **kwargs) Feb 23 12:50:21 foreman pulpcore-worker-2: File "/usr/lib/python3.6/site-packages/django/db/models/base.py", line 744, in save Feb 23 12:50:21 foreman pulpcore-worker-2: force_update=force_update, update_fields=update_fields) Feb 23 12:50:21 foreman pulpcore-worker-2: File "/usr/lib/python3.6/site-packages/django/db/models/base.py", line 782, in save_base Feb 23 12:50:21 foreman pulpcore-worker-2: force_update, using, update_fields, Feb 23 12:50:21 foreman pulpcore-worker-2: File "/usr/lib/python3.6/site-packages/django/db/models/base.py", line 873, in _save_table Feb 23 12:50:21 foreman pulpcore-worker-2: result = self._do_insert(cls._base_manager, using, fields, update_pk, raw) Feb 23 12:50:21 foreman pulpcore-worker-2: File "/usr/lib/python3.6/site-packages/django/db/models/base.py", line 911, in _do_insert Feb 23 12:50:21 foreman pulpcore-worker-2: using=using, raw=raw) Feb 23 12:50:21 foreman pulpcore-worker-2: File "/usr/lib/python3.6/site-packages/django/db/models/manager.py", line 82, in manager_method Feb 23 12:50:21 foreman pulpcore-worker-2: return getattr(self.get_queryset(), name)(*args, **kwargs) Feb 23 12:50:21 foreman pulpcore-worker-2: File "/usr/lib/python3.6/site-packages/django/db/models/query.py", line 1186, in _insert Feb 23 12:50:21 foreman pulpcore-worker-2: return query.get_compiler(using=using).execute_sql(return_id) Feb 23 12:50:21 foreman pulpcore-worker-2: File "/usr/lib/python3.6/site-packages/django/db/models/sql/compiler.py", line 1377, in execute_sql Feb 23 12:50:21 foreman pulpcore-worker-2: cursor.execute(sql, params) Feb 23 12:50:21 foreman pulpcore-worker-2: File "/usr/lib/python3.6/site-packages/django/db/backends/utils.py", line 67, in execute Feb 23 12:50:21 foreman pulpcore-worker-2: return self._execute_with_wrappers(sql, params, many=False, executor=self._execute) Feb 23 12:50:21 foreman pulpcore-worker-2: File "/usr/lib/python3.6/site-packages/django/db/backends/utils.py", line 76, in _execute_with_wrappers Feb 23 12:50:21 foreman pulpcore-worker-2: return executor(sql, params, many, context) Feb 23 12:50:21 foreman pulpcore-worker-2: File "/usr/lib/python3.6/site-packages/django/db/backends/utils.py", line 84, in _execute Feb 23 12:50:21 foreman pulpcore-worker-2: return self.cursor.execute(sql, params) Feb 23 12:50:21 foreman pulpcore-worker-2: File "/usr/lib/python3.6/site-packages/django/db/utils.py", line 89, in __exit__ Feb 23 12:50:21 foreman pulpcore-worker-2: raise dj_exc_value.with_traceback(traceback) from exc_value Feb 23 12:50:21 foreman pulpcore-worker-2: File "/usr/lib/python3.6/site-packages/django/db/backends/utils.py", line 84, in _execute Feb 23 12:50:21 foreman pulpcore-worker-2: return self.cursor.execute(sql, params) Feb 23 12:50:21 foreman pulpcore-worker-2: django.db.utils.IntegrityError: duplicate key value violates unique constraint "rpm_package_pkgId_key" Feb 23 12:50:21 foreman pulpcore-worker-2: DETAIL: Key ("pkgId")=(d0694c8f5f34ab8c2e01004972cfe93f194bddf8) already exists. Feb 23 12:50:21 foreman pulpcore-worker-2: During handling of the above exception, another exception occurred: Feb 23 12:50:21 foreman pulpcore-worker-2: Traceback (most recent call last): Feb 23 12:50:21 foreman pulpcore-worker-2: File "/usr/lib/python3.6/site-packages/rq/worker.py", line 936, in perform_job Feb 23 12:50:21 foreman pulpcore-worker-2: rv = job.perform() Feb 23 12:50:21 foreman pulpcore-worker-2: File "/usr/lib/python3.6/site-packages/rq/job.py", line 684, in perform Feb 23 12:50:21 foreman pulpcore-worker-2: self._result = self._execute() Feb 23 12:50:21 foreman pulpcore-worker-2: File "/usr/lib/python3.6/site-packages/rq/job.py", line 690, in _execute Feb 23 12:50:21 foreman pulpcore-worker-2: return self.func(*self.args, **self.kwargs) Feb 23 12:50:21 foreman pulpcore-worker-2: File "/usr/lib/python3.6/site-packages/pulp_rpm/app/tasks/synchronizing.py", line 266, in synchronize Feb 23 12:50:21 foreman pulpcore-worker-2: dv.create() Feb 23 12:50:21 foreman pulpcore-worker-2: File "/usr/lib/python3.6/site-packages/pulpcore/plugin/stages/declarative_version.py", line 148, in create Feb 23 12:50:21 foreman pulpcore-worker-2: loop.run_until_complete(pipeline) Feb 23 12:50:21 foreman pulpcore-worker-2: File "/usr/lib64/python3.6/asyncio/base_events.py", line 484, in run_until_complete Feb 23 12:50:21 foreman pulpcore-worker-2: return future.result() Feb 23 12:50:21 foreman pulpcore-worker-2: File "/usr/lib/python3.6/site-packages/pulpcore/plugin/stages/api.py", line 225, in create_pipeline Feb 23 12:50:21 foreman pulpcore-worker-2: await asyncio.gather(*futures) Feb 23 12:50:21 foreman pulpcore-worker-2: File "/usr/lib/python3.6/site-packages/pulpcore/plugin/stages/api.py", line 43, in __call__ Feb 23 12:50:21 foreman pulpcore-worker-2: await self.run() Feb 23 12:50:21 foreman pulpcore-worker-2: File "/usr/lib/python3.6/site-packages/pulpcore/plugin/stages/content_stages.py", line 105, in run Feb 23 12:50:21 foreman pulpcore-worker-2: d_content.content.q() Feb 23 12:50:21 foreman pulpcore-worker-2: File "/usr/lib/python3.6/site-packages/django/db/models/manager.py", line 82, in manager_method Feb 23 12:50:21 foreman pulpcore-worker-2: return getattr(self.get_queryset(), name)(*args, **kwargs) Feb 23 12:50:21 foreman pulpcore-worker-2: File "/usr/lib/python3.6/site-packages/django/db/models/query.py", line 408, in get Feb 23 12:50:21 foreman pulpcore-worker-2: self.model._meta.object_name Feb 23 12:50:21 foreman pulpcore-worker-2: pulp_rpm.app.models.package.Package.DoesNotExist: Package matching query does not exist. Feb 23 12:50:21 foreman pulpcore-worker-2: Traceback (most recent call last): Feb 23 12:50:21 foreman pulpcore-worker-2: File "/usr/lib/python3.6/site-packages/django/db/backends/utils.py", line 84, in _execute Feb 23 12:50:21 foreman pulpcore-worker-2: return self.cursor.execute(sql, params) Feb 23 12:50:21 foreman pulpcore-worker-2: psycopg2.errors.UniqueViolation: duplicate key value violates unique constraint "rpm_package_pkgId_key" Feb 23 12:50:21 foreman pulpcore-worker-2: DETAIL: Key ("pkgId")=(d0694c8f5f34ab8c2e01004972cfe93f194bddf8) already exists. Feb 23 12:50:21 foreman pulpcore-worker-2: The above exception was the direct cause of the following exception: Feb 23 12:50:21 foreman pulpcore-worker-2: Traceback (most recent call last): Feb 23 12:50:21 foreman pulpcore-worker-2: File "/usr/lib/python3.6/site-packages/pulpcore/plugin/stages/content_stages.py", line 102, in run Feb 23 12:50:21 foreman pulpcore-worker-2: d_content.content.save() Feb 23 12:50:21 foreman pulpcore-worker-2: File "/usr/lib/python3.6/site-packages/pulpcore/app/models/base.py", line 115, in save Feb 23 12:50:21 foreman pulpcore-worker-2: return super().save(*args, **kwargs) Feb 23 12:50:21 foreman pulpcore-worker-2: File "/usr/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 129, in save Feb 23 12:50:21 foreman pulpcore-worker-2: save(*args, **kwargs) Feb 23 12:50:21 foreman pulpcore-worker-2: File "/usr/lib/python3.6/site-packages/django/db/models/base.py", line 744, in save Feb 23 12:50:21 foreman pulpcore-worker-2: force_update=force_update, update_fields=update_fields) Feb 23 12:50:21 foreman pulpcore-worker-2: File "/usr/lib/python3.6/site-packages/django/db/models/base.py", line 782, in save_base Feb 23 12:50:21 foreman pulpcore-worker-2: force_update, using, update_fields, Feb 23 12:50:21 foreman pulpcore-worker-2: File "/usr/lib/python3.6/site-packages/django/db/models/base.py", line 873, in _save_table Feb 23 12:50:21 foreman pulpcore-worker-2: result = self._do_insert(cls._base_manager, using, fields, update_pk, raw) Feb 23 12:50:21 foreman pulpcore-worker-2: File "/usr/lib/python3.6/site-packages/django/db/models/base.py", line 911, in _do_insert Feb 23 12:50:21 foreman pulpcore-worker-2: using=using, raw=raw) Feb 23 12:50:21 foreman pulpcore-worker-2: File "/usr/lib/python3.6/site-packages/django/db/models/manager.py", line 82, in manager_method Feb 23 12:50:21 foreman pulpcore-worker-2: return getattr(self.get_queryset(), name)(*args, **kwargs) Feb 23 12:50:21 foreman pulpcore-worker-2: File "/usr/lib/python3.6/site-packages/django/db/models/query.py", line 1186, in _insert Feb 23 12:50:21 foreman pulpcore-worker-2: return query.get_compiler(using=using).execute_sql(return_id) Feb 23 12:50:21 foreman pulpcore-worker-2: File "/usr/lib/python3.6/site-packages/django/db/models/sql/compiler.py", line 1377, in execute_sql Feb 23 12:50:21 foreman pulpcore-worker-2: cursor.execute(sql, params) Feb 23 12:50:21 foreman pulpcore-worker-2: File "/usr/lib/python3.6/site-packages/django/db/backends/utils.py", line 67, in execute Feb 23 12:50:21 foreman pulpcore-worker-2: return self._execute_with_wrappers(sql, params, many=False, executor=self._execute) Feb 23 12:50:21 foreman pulpcore-worker-2: File "/usr/lib/python3.6/site-packages/django/db/backends/utils.py", line 76, in _execute_with_wrappers Feb 23 12:50:21 foreman pulpcore-worker-2: return executor(sql, params, many, context) Feb 23 12:50:21 foreman pulpcore-worker-2: File "/usr/lib/python3.6/site-packages/django/db/backends/utils.py", line 84, in _execute Feb 23 12:50:21 foreman pulpcore-worker-2: return self.cursor.execute(sql, params) Feb 23 12:50:21 foreman pulpcore-worker-2: File "/usr/lib/python3.6/site-packages/django/db/utils.py", line 89, in __exit__ Feb 23 12:50:21 foreman pulpcore-worker-2: raise dj_exc_value.with_traceback(traceback) from exc_value Feb 23 12:50:21 foreman pulpcore-worker-2: File "/usr/lib/python3.6/site-packages/django/db/backends/utils.py", line 84, in _execute Feb 23 12:50:21 foreman pulpcore-worker-2: return self.cursor.execute(sql, params) Feb 23 12:50:21 foreman pulpcore-worker-2: django.db.utils.IntegrityError: duplicate key value violates unique constraint "rpm_package_pkgId_key" Feb 23 12:50:21 foreman pulpcore-worker-2: DETAIL: Key ("pkgId")=(d0694c8f5f34ab8c2e01004972cfe93f194bddf8) already exists. Feb 23 12:50:21 foreman pulpcore-worker-2: During handling of the above exception, another exception occurred: Feb 23 12:50:21 foreman pulpcore-worker-2: Traceback (most recent call last): Feb 23 12:50:21 foreman pulpcore-worker-2: File "/usr/lib/python3.6/site-packages/rq/worker.py", line 936, in perform_job Feb 23 12:50:21 foreman pulpcore-worker-2: rv = job.perform() Feb 23 12:50:21 foreman pulpcore-worker-2: File "/usr/lib/python3.6/site-packages/rq/job.py", line 684, in perform Feb 23 12:50:21 foreman pulpcore-worker-2: self._result = self._execute() Feb 23 12:50:21 foreman pulpcore-worker-2: File "/usr/lib/python3.6/site-packages/rq/job.py", line 690, in _execute Feb 23 12:50:21 foreman pulpcore-worker-2: return self.func(*self.args, **self.kwargs) Feb 23 12:50:21 foreman pulpcore-worker-2: File "/usr/lib/python3.6/site-packages/pulp_rpm/app/tasks/synchronizing.py", line 266, in synchronize Feb 23 12:50:21 foreman pulpcore-worker-2: dv.create() Feb 23 12:50:21 foreman pulpcore-worker-2: File "/usr/lib/python3.6/site-packages/pulpcore/plugin/stages/declarative_version.py", line 148, in create Feb 23 12:50:21 foreman pulpcore-worker-2: loop.run_until_complete(pipeline) Feb 23 12:50:21 foreman pulpcore-worker-2: File "/usr/lib64/python3.6/asyncio/base_events.py", line 484, in run_until_complete Feb 23 12:50:21 foreman pulpcore-worker-2: return future.result() Feb 23 12:50:21 foreman pulpcore-worker-2: File "/usr/lib/python3.6/site-packages/pulpcore/plugin/stages/api.py", line 225, in create_pipeline Feb 23 12:50:21 foreman pulpcore-worker-2: await asyncio.gather(*futures) Feb 23 12:50:21 foreman pulpcore-worker-2: File "/usr/lib/python3.6/site-packages/pulpcore/plugin/stages/api.py", line 43, in __call__ Feb 23 12:50:21 foreman pulpcore-worker-2: await self.run() Feb 23 12:50:21 foreman pulpcore-worker-2: File "/usr/lib/python3.6/site-packages/pulpcore/plugin/stages/content_stages.py", line 105, in run Feb 23 12:50:21 foreman pulpcore-worker-2: d_content.content.q() Feb 23 12:50:21 foreman pulpcore-worker-2: File "/usr/lib/python3.6/site-packages/django/db/models/manager.py", line 82, in manager_method Feb 23 12:50:21 foreman pulpcore-worker-2: return getattr(self.get_queryset(), name)(*args, **kwargs) Feb 23 12:50:21 foreman pulpcore-worker-2: File "/usr/lib/python3.6/site-packages/django/db/models/query.py", line 408, in get Feb 23 12:50:21 foreman pulpcore-worker-2: self.model._meta.object_name Feb 23 12:50:21 foreman pulpcore-worker-2: pulp_rpm.app.models.package.Package.DoesNotExist: Package matching query does not exist.