Project

Profile

Help

Story #4007

closed

As a user, I can sync rpm packages with sha512 checksums

Added by daviddavis over 6 years ago. Updated over 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
2.18.0
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

$ pulp-admin rpm repo create --repo-id nvidia-docker --feed https://nvidia.github.io/nvidia-docker/centos7/x86_64/
Successfully created repository [nvidia-docker]

$ $ pulp-admin rpm repo sync run --repo-id nvidia-docker
+----------------------------------------------------------------------+
                Synchronizing Repository [nvidia-docker]
+----------------------------------------------------------------------+

This command may be exited via ctrl+c without affecting the request.

Downloading metadata...
[-]

Task Failed

The checksum type 'sha512' is unknown.

Related issues

Related to Pulp - Test #4124: Test Sync RPM package with sha512 checksumCLOSED - COMPLETEragbalakActions
Actions #1

Updated by daviddavis over 6 years ago

  • Status changed from NEW to POST
  • Assignee set to daviddavis
Actions #2

Updated by daviddavis over 6 years ago

I tested and confirmed that publishing w/ sha512 packages synced down with sha256 works. Here's an example in the code that shows we calculate these checksums:

https://github.com/pulp/pulp_rpm/blob/3ce66db521ca0da884bcdba1ad45b1b7d876f0ae/plugins/pulp_rpm/plugins/distributors/yum/metadata/repomd.py#L106-L113

Added by Elias Wimmer over 6 years ago

Revision 03707019 | View on GitHub

add support for sha512

This fixes the error: PLP1005: The checksum type 'sha512' is unknown. reported also in https://github.com/NVIDIA/nvidia-docker/issues/811

fixes #4007 https://pulp.plan.io/issues/4007

Actions #3

Updated by Anonymous over 6 years ago

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

Updated by dkliban@redhat.com over 6 years ago

  • Platform Release set to 2.18.0
Actions #5

Updated by ttereshc about 6 years ago

  • Sprint/Milestone set to 2.18.0
Actions #7

Updated by kersom about 6 years ago

  • Related to Test #4124: Test Sync RPM package with sha512 checksum added

Added by kersom about 6 years ago

Revision f5d5275d | View on GitHub

Add pulp version required to run sha512 tests

Add the minimum Pulp version required in order to run sha512 tests. Pulp 2.18.

#4007 https://pulp.plan.io/issues/4007

Actions #8

Updated by ttereshc about 6 years ago

  • Status changed from MODIFIED to 5
Actions #9

Updated by ttereshc about 6 years ago

  • Status changed from 5 to CLOSED - CURRENTRELEASE
Actions #10

Updated by bmbouter over 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF