View Issue Details

IDProjectCategoryView StatusLast Update
0000304AlmaLinux-8-OTHERpublic2023-01-05 17:25
Reporterabotelho Assigned To 
PriorityhighSeveritymajorReproducibilityalways
Status newResolutionopen 
Summary0000304: Pulp 3 synchronizations failing because of Advisory issues. ALSA-2022:1762 in particular.
Description"Incoming and existing advisories have the same id and timestamp but different and intersecting package lists, and neither package list is a proper subset of the other. At least one of the advisories is wrong. To allow this behavior, set ALLOW_AUTOMATIC_UNSAFE_ADVISORY_CONFLICT_RESOLUTION = True (q.v.) in your configuration. Advisory id: ALSA-2022:1762"

I receive the above error while trying to synchronize our Pulp repositories. Even enabling ALLOW_AUTOMATIC_UNSAFE_ADVISORY_CONFLICT_RESOLUTION fails, as the backend PostgreSQL database spits out:

"2022-09-19 15:21:36.593 UTC [19311] ERROR: duplicate key value violates unique constraint "core_artifact_sha256_key"
2022-09-19 15:21:36.593 UTC [19311] DETAIL: Key (sha256)=(dfe49eec7de8a49933ea921f884fac99ea6cd80cb87cbb5de09f1ca7b6ce606b) already exists."
Steps To ReproduceSynchronize AlmaLinux 8 BaseOS using Pulp 3.
Additional InformationThis is a major issue as it prevents the deployment of updates to our systems.
TagsNo tags attached.
abrt_hash
URL

Activities

abotelho

2022-10-18 15:15

reporter   ~0000710

Has anyone looked at this? We still receive this failure.

cheers

abotelho

2022-11-09 16:43

reporter   ~0000714

AlmaLinux8-BaseOS
{
  "traceback": " File
\"/usr/local/lib/python3.8/site-packages/pulpcore/tasking/pulpcore_worker.py\", line 445,
in _perform_task
    result = func(*args, **kwargs)
  File \"/usr/local/lib/python3.8/site-packages/pulp_rpm/app/tasks/synchronizing.py\",
line 547, in synchronize
    repo_version = dv.create() or repo.latest_version()
  File
\"/usr/local/lib/python3.8/site-packages/pulpcore/plugin/stages/declarative_version.py\",
line 161, in create
    loop.run_until_complete(pipeline)
  File \"/usr/local/lib/python3.8/site-packages/pulpcore/app/models/repository.py\", line
1044, in __exit__
    repository.finalize_new_version(self)
  File \"/usr/local/lib/python3.8/site-packages/pulp_rpm/app/models/repository.py\", line
308, in finalize_new_version
    resolve_advisories(new_version, previous_version)
  File \"/usr/local/lib/python3.8/site-packages/pulp_rpm/app/advisory.py\", line 136, in
resolve_advisories
    to_add, to_remove, to_exclude = resolve_advisory_conflict(
  File \"/usr/local/lib/python3.8/site-packages/pulp_rpm/app/advisory.py\", line 261, in
resolve_advisory_conflict
    raise AdvisoryConflict(
",
  "description": "Incoming and existing advisories have the same id and timestamp but
different and intersecting package lists, and neither package list is a proper subset of
the other. At least one of the advisories is wrong. To allow this behavior, set
ALLOW_AUTOMATIC_UNSAFE_ADVISORY_CONFLICT_RESOLUTION = True (q.v.) in your configuration.
Advisory id: ALSA-2022:1762"
}

This is from Monday's sync. This appears to still be broken.

abotelho

2022-11-29 15:28

reporter   ~0000752

FYI it looks like this was correct when the 8.7 update was pushed out!

danfimov

2022-12-02 10:39

reporter   ~0000755

Hi, this issue is still actual?

abotelho

2023-01-05 17:25

reporter   ~0000786

This issue has definitely resolved itself when 8.7 was released. I can't say if it's still present if you explicitly point your Pulp server to 8.6.

Issue History

Date Modified Username Field Change
2022-09-19 15:33 abotelho New Issue
2022-10-18 15:15 abotelho Note Added: 0000710
2022-11-09 16:43 abotelho Note Added: 0000714
2022-11-29 15:28 abotelho Note Added: 0000752
2022-12-02 10:39 danfimov Note Added: 0000755
2023-01-05 17:25 abotelho Note Added: 0000786