Backport #8485
closedBackport to 3.7 artifact stage fixes which affect pulp 2to3 migration
100%
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.
Updated by daviddavis over 3 years ago
- Triaged changed from No to Yes
- Sprint set to Sprint 94
Updated by pulpbot over 3 years ago
- Status changed from NEW to POST
Updated by pulpbot over 3 years ago
Updated by pulpbot over 3 years ago
Added by bmbouter over 3 years ago
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)
Updated by ggainey over 3 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset pulpcore|575f9713a7ab979309515b6208ae4d0c40cff0f3.
Updated by ttereshc over 3 years ago
- Sprint/Milestone set to 3.7.5
- Quarter set to Q2-2021
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 ifd_artifact.remote
exists.backports #7876 https://pulp.plan.io/issues/7876 re #8485 https://pulp.plan.io/issues/8485
(cherry picked from commit 25745275c0f3a7bd832946749ed27381694d612f)