Project

Profile

Help

Issue #8625

Remote artifacts are not created for content which checksum type is not sha256

Added by ttereshc about 2 months ago. Updated 19 days ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Urgent
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
3. High
Version:
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 95
Quarter:

Description

This behavior was introduced with this commit. https://github.com/pulp/pulpcore/commit/47e5cc2a69464caaefbb50f994de03d72fb780e4

It affects RPM sync (because RPM content can have various checksum types) and migration plugin. Probably pulp_deb as well.

To reproduce:

pulp=> select url from core_remoteartifact;
                                                url                                                 
----------------------------------------------------------------------------------------------------
 https://packagecloud.io/timescale/timescaledb/el/7/x86_64/timescaledb-tools-0.8.1-0.el7.x86_64.rpm
(1 row)

If you try to fetch any content other than the one for which you have a remote artifact, you'll get 404.


Related issues

Related to Pulp - Backport #8652: Backport #8625 to 3.12CLOSED - CURRENTRELEASE

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Related to Pulp - Backport #8651: Backport #8625 to pulpcore 3.7CLOSED - CURRENTRELEASE

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

Associated revisions

Revision eda2c890 View on GitHub
Added by ggainey about 2 months ago

Fix artifact_stages to not uniquify based on an empty checksum-type.

fixes #8625 [nocoverage]

History

#1 Updated by ttereshc about 2 months ago

  • Description updated (diff)

#2 Updated by ggainey about 2 months ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to ggainey

#3 Updated by pulpbot about 2 months ago

  • Status changed from ASSIGNED to POST

#4 Updated by ggainey about 2 months ago

  • Status changed from POST to MODIFIED

#5 Updated by ttereshc about 2 months ago

#6 Updated by ttereshc about 2 months ago

#7 Updated by dalley 19 days ago

  • Sprint/Milestone set to 3.13.0

#8 Updated by pulpbot 19 days ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF