Actions
Issue #4529
closedBroken repo can be published if zchunk metadata is not ignored at sync time
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
2.19.1
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Sprint 52
Quarter:
Description
In Fedora 30, Zchunk metadata is going to be present alongside with older compression formats.
Pulp should ignore and not sync this metadata, in order to avoid creating a potentially bad repo at publish time.
Scenario for a bad repo:
- create repo and sync from a remote repo with zchunk metadata
- make any content changes to a repo , e.g. remove/add packages
- published a repo
- zchunk metadata is published as-is without any modifications to it (even though content in a repo changed) -> clients which use zchunk metadata will get incorrect data about the content in a repo.
Repo with this new metadata type: http://mirror.vutbr.cz/fedora/development/rawhide/Everything/x86_64/os/
Related issues
Actions
Skip zchunk metadata at sync time
Pulp 2 doesn't support zchunk compression format. Keeping mirrored zchunk metadata in a repository can cause a repository to be in a broken state.
closes #4529 https://pulp.plan.io/issues/4529