Actions
Backport #8485
closedBackport to 3.7 artifact stage fixes which affect pulp 2to3 migration
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
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)