Project

Profile

Help

Story #6034

closed

As a user, any unsupported repodata that can break a repo is skipped

Added by ttereshc over 2 years ago. Updated over 2 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Sprint/Milestone:
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
Groomed:
Yes
Sprint Candidate:
No
Tags:
Sprint:
Sprint 64
Quarter:

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

Actions #1

Updated by CodeHeeler over 2 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?

Actions #2

Updated by ttereshc over 2 years ago

You are correct. We just need to ensure that all unsupported and potentially risky metadata is skipped, not only comps.

Actions #3

Updated by CodeHeeler over 2 years ago

  • Groomed changed from No to Yes
Actions #4

Updated by ttereshc over 2 years ago

  • Sprint/Milestone set to Pulp 3.x RPM (Katello 3.16)
Actions #5

Updated by CodeHeeler over 2 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to CodeHeeler
  • Sprint set to Sprint 64

Added by CodeHeeler over 2 years ago

Revision 93f6682e

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

Actions #6

Updated by CodeHeeler over 2 years ago

  • Status changed from ASSIGNED to POST
Actions #7

Updated by CodeHeeler over 2 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100
Actions #8

Updated by ttereshc over 2 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions #9

Updated by ttereshc over 2 years ago

  • Sprint/Milestone changed from Pulp 3.x RPM (Katello 3.16) to Pulp RPM 3.1.0

Also available in: Atom PDF