Actions
Issue #8612
closedThe deb migration pipeline cannot successfully skip corrupted content
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).
Actions
Skip PackageReleaseComponents if Package was skipped
fixes #8612 https://pulp.plan.io/issues/8612