View Issue Details

IDProjectCategoryView StatusLast Update
0000262AlmaLinux-8rpmpublic2022-07-06 02:04
Reportergabor567 Assigned To 
PrioritynormalSeveritycrashReproducibilityrandom
Status newResolutionopen 
Summary0000262: recurring issue: base and appstream repositories cannot be synchronized using pulp-rpm
DescriptionI use pulp-rpm (v3) to synchronize the base and appstream repos from http://repo.almalinux.org/almalinux/8/BaseOS/x86_64/os/ and https://repo.almalinux.org/almalinux/8/AppStream/x86_64/os/ respectively.

I try to run the sync script once a week. Sometimes it works, sometimes it fails with the following error:
"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-2019:2720"

(This advisory ID may not always be the same.)
I have learnt that deleting and recreating the pulp repository "solves" the problem but I lose the previous versions - keeping these would be one of the purposes of pulp.
Steps To Reproduce- create repository and remote in pulp-rpm (like this: https://docs.pulpproject.org/pulp_rpm/workflows/create_sync_publish.html )
- synchronize the repository with the remote once a week
- sometimes it works, sometimes it fails. I failed at least 5 times in the last 12 months. It failed twice in the last month.
Additional InformationI have several other (non-AlmaLinux) repositories in pulp and they do work.
I only have seen this type of error with AlmaLinux repos.
Tagsalmalinux8, appstream
abrt_hash
URL

Activities

dralley

2022-07-06 02:02

reporter   ~0000627

I work on Pulp and a few other users have complained about this as well, both in the past and recently with this specific advisory (hence why I'm here).

This warning gets triggered when the advisory in the remote repo was changed at least once *after* being pushed but without changing the updated date metadata, and doing some weird things with the package list that make it difficult to decide what to make of it. I'm not sure what the specifics are in this case, however.

If someone has access to figure out what changed between the first and second revision of that advisory, I can try to provide some guidance on what ought to be done on your side (or if it seems reasonable, try to relax the restriction a bit on our side).

Issue History

Date Modified Username Field Change
2022-06-07 09:09 gabor567 New Issue
2022-06-07 09:09 gabor567 Tag Attached: almalinux8
2022-06-07 09:09 gabor567 Tag Attached: appstream
2022-07-06 02:02 dralley Note Added: 0000627