Project

Profile

Help

Backport #9227

Backport #8133 "Same package from different repos yields error on sync" to 3.7.z

Added by ttereshc about 1 month ago. Updated 23 days ago.

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

100%

Estimated time:
Triaged:
No
Sprint Candidate:
No
Tags:
Katello
Sprint:
Sprint 103
Quarter:

Related issues

Related to RPM Support - Backport #9228: Backport the relative path fix "fix_mismatched_remote_artifacts" to 3.11.zCLOSED - CURRENTRELEASE

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Copied from Pulp - Issue #8133: Same package from different repos yields error on syncCLOSED - CURRENTRELEASE<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

Associated revisions

Revision 16d9cd11 View on GitHub
Added by ttereshc 24 days ago

Loosens the constraints around what can be in a new-repository-version.

There are RPM repositories "in the wild" that violate Pulp's assumptions about what is 'legal' in an incoming repository version. This commit changes some fatal errors into log-warnings, along with some heuristics around how to get a 'reasonable' repository in the face of suboptimal data.

To control activation of this behavior, RemoteArtifactSaver recognizes a ctor-keyword "fix_mismatched_remote_artifacts". This defaults to False; if provided as True, invokes the new behavior.

This change also adds handling for an exception during repo-version-failure-cleanup that could result in losing error info.

backports #8133

fixes #9227

(cherry picked from commit 349f2137d970f87190749b417cfa137dc0f99ff5)

History

#1 Updated by ttereshc about 1 month ago

  • Copied from Issue #8133: Same package from different repos yields error on sync added

#2 Updated by ttereshc about 1 month ago

  • Related to Backport #9228: Backport the relative path fix "fix_mismatched_remote_artifacts" to 3.11.z added

#4 Updated by rchan about 1 month ago

  • Sprint changed from Sprint 102 to Sprint 103

#5 Updated by pulpbot 25 days ago

  • Status changed from NEW to POST

#6 Updated by ttereshc 24 days ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

#7 Updated by pulpbot 23 days ago

  • Sprint/Milestone set to 3.7.8

#8 Updated by pulpbot 23 days ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF