Project

Profile

Help

Issue #8612

closed

The deb migration pipeline cannot successfully skip corrupted content

Added by quba42 almost 3 years ago. Updated almost 3 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
-
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

Running a 2ot3 migration for deb content with skip_corrupted=True will result in the following error (if there actually is corrupted content):

pulp_deb.app.models.content.PackageReleaseComponent.package.RelatedObjectDoesNotExist: PackageReleaseComponent has no package.

This is because the PackageReleaseComponent still tries to record a relation to the skipped package.

This is a possible duplicate of: https://pulp.plan.io/issues/8562 (the different manifestations could be a result of different pulpcore versions, or it is a completely unrelated issue).

Also available in: Atom PDF