Project

Profile

Help

Backport #8485

closed

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

Added by ttereshc over 3 years ago. Updated over 3 years 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.

Actions #1

Updated by ttereshc over 3 years ago

  • Description updated (diff)
Actions #3

Updated by daviddavis over 3 years ago

  • Triaged changed from No to Yes
  • Sprint set to Sprint 94
Actions #4

Updated by ttereshc over 3 years ago

  • Description updated (diff)
Actions #5

Updated by ttereshc over 3 years ago

  • Description updated (diff)
Actions #6

Updated by pulpbot over 3 years ago

  • Status changed from NEW to POST

Added by bmbouter over 3 years ago

Revision 459aedd0 | View on GitHub

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)

Added by ggainey over 3 years ago

Revision 94a0c35b | View on GitHub

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)

Added by ggainey over 3 years ago

Revision 575f9713 | View on GitHub

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)

Actions #9

Updated by ggainey over 3 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100
Actions #10

Updated by ttereshc over 3 years ago

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

Also available in: Atom PDF