Project

Profile

Help

Issue #8625

closed

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

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

Actions
Related to Pulp - Backport #8651: Backport #8625 to pulpcore 3.7CLOSED - CURRENTRELEASEttereshc

Actions
Actions #1

Updated by ttereshc over 3 years ago

  • Description updated (diff)
Actions #2

Updated by ggainey over 3 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to ggainey
Actions #3

Updated by pulpbot over 3 years ago

  • Status changed from ASSIGNED to POST

Added by ggainey over 3 years ago

Revision eda2c890 | View on GitHub

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

fixes #8625 [nocoverage]

Actions #4

Updated by ggainey over 3 years ago

  • Status changed from POST to MODIFIED
Actions #5

Updated by ttereshc over 3 years ago

Actions #6

Updated by ttereshc over 3 years ago

Actions #7

Updated by dalley over 3 years ago

  • Sprint/Milestone set to 3.13.0
Actions #8

Updated by pulpbot over 3 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF