[Pulp-list] pulp 3.2.0 error: advisories have the same id

Tatiana Tereshchenko ttereshc at redhat.com
Mon May 11 09:12:57 UTC 2020


Hi Bin,

This error is always tricky, it can be valid and it can be a bug,so we need
to know some details of what happened to a repo before.

The issue [0] you are referencing is for a mirror mode. Do you sync with
mirror=True?
Have there been any modifications (uploaded, copied content, sync from
different remote) to a repository or was it the following scenario:
 - created a repo and synced EPEL7
 - resynced it again into the same repo using the same remote and got the
AdvisoryConflict error?

Thank you,
Tanya

[0] https://pulp.plan.io/issues/5924



On Sat, May 9, 2020 at 2:56 AM Bin Li (BLOOMBERG/ 120 PARK) <
bli111 at bloomberg.net> wrote:

> This issue https://pulp.plan.io/issues/5924 was fixed and closed for 3.2.
> However we got the the similar errors when sync epel7. Is this a new issue?
>
> "description": "Incoming and existing advisories have the same id and
> timestamp but different and intersecting package lists. At least one of
> them is wrong. Advisory id: FEDORA-EPEL-2020-1dafb95591",
> "traceback": " File
> \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/rq/worker.py\",
> line 884, in perform_job\n rv = job.perform()\n File
> \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/rq/job.py\",
> line 664, in perform\n self._result = self._execute()\n File
> \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/rq/job.py\",
> line 670, in _execute\n return self.func(*self.args, **self.kwargs)\n File
> \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulp_rpm/app/tasks/synchronizing.py\",
> line 152, in synchronize\n dv.create()\n File
> \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/declarative_version.py\",
> line 149, in create\n loop.run_until_complete(pipeline)\n File
> \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/app/models/repository.py\",
> line 782, in __exit__\n repository.finalize_new_version(self)\n File
> \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulp_rpm/app/models/repository.py\",
> line 120, in finalize_new_version\n resolve_advisories(new_version,
> previous_version)\n File
> \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulp_rpm/app/advisory.py\",
> line 65, in resolve_advisories\n previous_advisory, added_advisory\n File
> \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulp_rpm/app/advisory.py\",
> line 138, in resolve_advisory_conflict\n raise AdvisoryConflict(_('Incoming
> and existing advisories have the same id and '\n"
>
> _______________________________________________
> Pulp-list mailing list
> Pulp-list at redhat.com
> https://www.redhat.com/mailman/listinfo/pulp-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20200511/0d481d55/attachment.htm>


More information about the Pulp-list mailing list