Story #6034
closedAs a user, any unsupported repodata that can break a repo is skipped
100%
Description
Some repository metadata which is not supported by Pulp can potentially produce a broken repo.
It usually happens when user changes a mirrored repository but some repodata is not updated accordingly.
Current list of unsupported repodata which should be ignored during sync:
- all the zchunk metadata
- gzipped comps.xml
- prestodelta.xml which contains metadata for DRPMs
Updated by CodeHeeler almost 5 years ago
I thought we already handled this for, at least for the case of the gzipped comps, via the constants file with COMPS_REPODATA = ['group'] vs SKIP_REPODATA = ['group_gz']. Am I misunderstanding, or is this work still incomplete?
Updated by ttereshc almost 5 years ago
You are correct. We just need to ensure that all unsupported and potentially risky metadata is skipped, not only comps.
Updated by ttereshc almost 5 years ago
- Sprint/Milestone set to Pulp 3.x RPM (Katello 3.16)
Updated by CodeHeeler almost 5 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to CodeHeeler
- Sprint set to Sprint 64
Added by CodeHeeler almost 5 years ago
Updated by CodeHeeler almost 5 years ago
- Status changed from ASSIGNED to POST
Updated by CodeHeeler almost 5 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset 93f6682e4e10dcebfbe49f2588f20a36ca7fa447.
Updated by ttereshc almost 5 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Updated by ttereshc almost 5 years ago
- Sprint/Milestone changed from Pulp 3.x RPM (Katello 3.16) to Pulp RPM 3.1.0
Skip unsupported repodata
To prevent broken repos, skip any unsupported repodata: all zchunked metadata, gzipped comps.xml, and prestodelta.xml
fixes #6034 https://pulp.plan.io/issues/6034