Project

Profile

Help

Issue #9130

closed

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

Added by dalley over 3 years ago. Updated over 3 years ago.

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


Related issues

Copied from Pulp - Issue #8133: Same package from different repos yields error on syncCLOSED - CURRENTRELEASEggaineyActions
Actions #1

Updated by dalley over 3 years ago

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

Updated by dalley over 3 years ago

  • Assignee deleted (ggainey)
  • Sprint/Milestone changed from 3.15.0 to 3.14.3
Actions #3

Updated by dalley over 3 years ago

  • Sprint/Milestone deleted (3.14.3)
Actions #4

Updated by dalley over 3 years ago

  • Sprint/Milestone set to 3.14.4
Actions #5

Updated by ipanova@redhat.com over 3 years ago

  • Sprint changed from Sprint 101 to Sprint 102
Actions #6

Updated by pulpbot over 3 years ago

  • Status changed from NEW to POST

Added by dalley over 3 years ago

Revision d44ea6d7 | View on GitHub

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 #9130

(cherry picked from commit 349f2137d970f87190749b417cfa137dc0f99ff5)

Actions #7

Updated by dalley over 3 years ago

  • Status changed from POST to MODIFIED
Actions #8

Updated by pulpbot over 3 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF