Hi, Tanya

Sync which mirror=True works. No more error. Thanks for your help.

From: [email protected] At: 05/11/20 05:13:16To:  Bin Li (BLOOMBERG/ 120 PARK 
) 
Cc:  [email protected]
Subject: Re: [Pulp-list] pulp 3.2.0 error: advisories have the same id

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) 
<[email protected]> 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
[email protected]
https://www.redhat.com/mailman/listinfo/pulp-list


_______________________________________________
Pulp-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/pulp-list

Reply via email to