Project

Profile

Help

Backport #8485

Backport to 3.7 artifact stage fixes which affect pulp 2to3 migration

Added by ttereshc 4 months ago. Updated 4 months ago.

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

100%

Estimated time:
Triaged:
Yes
Sprint Candidate:
No
Tags:
Katello
Sprint:
Sprint 94
Quarter:
Q2-2021

Description

Fixes to backport:

https://pulp.plan.io/issues/7876
https://pulp.plan.io/issues/8377
https://pulp.plan.io/issues/8489 (this is important only together with 8377)

Cherry-pick is clean is they are performed in the order.

Associated revisions

Revision 459aedd0 View on GitHub
Added by bmbouter 4 months ago

Adds additional d_artifact.remote check

Not all d_artifact objects have remotes, e.g. the migration plugin does not. Other places in the code account for this, but there is one area that does not. This adds an additional check to one codepath that checks for equality of d_artifact.remote.pk only if d_artifact.remote exists.

backports #7876 https://pulp.plan.io/issues/7876 re #8485 https://pulp.plan.io/issues/8485

(cherry picked from commit 25745275c0f3a7bd832946749ed27381694d612f)

Revision 94a0c35b View on GitHub
Added by ggainey 4 months ago

Fixed artifact_stages edge case for multi-artifact/multi-remote batches.

Only encountered when 2to3-migrating specific content in specific orders.

backports #8377 https://pulp.plan.io/issues/8377 re #8485 https://pulp.plan.io/issues/8485

(cherry picked from commit b23c9294b9ed555078053b4968ed5b933ab1e9c9)

Revision 575f9713 View on GitHub
Added by ggainey 4 months ago

Teach artifact_stages:_needed_remote_artifacts() to not return dupes.

backports #8489 https://pulp.plan.io/issues/8489 closes #8485 https://pulp.plan.io/issues/8485

(cherry picked from commit 47e5cc2a69464caaefbb50f994de03d72fb780e4)

History

#1 Updated by ttereshc 4 months ago

  • Description updated (diff)

#3 Updated by daviddavis 4 months ago

  • Triaged changed from No to Yes
  • Sprint set to Sprint 94

#4 Updated by ttereshc 4 months ago

  • Description updated (diff)

#5 Updated by ttereshc 4 months ago

  • Description updated (diff)

#6 Updated by pulpbot 4 months ago

  • Status changed from NEW to POST

#9 Updated by ggainey 4 months ago

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

#10 Updated by ttereshc 4 months ago

  • Sprint/Milestone set to 3.7.5
  • Quarter set to Q2-2021

Please register to edit this issue

Also available in: Atom PDF