Project

Profile

Help

Story #4007

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

Added by daviddavis about 1 year ago. Updated 7 months ago.

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

100%

Platform Release:
2.18.0
Blocks Release:
Backwards Incompatible:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Sprint:

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 checksum CLOSED - COMPLETE Actions

Associated revisions

Revision 03707019 View on GitHub
Added by Elias Wimmer about 1 year ago

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

Revision f5d5275d View on GitHub
Added by kersom about 1 year ago

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

History

#1 Updated by daviddavis about 1 year ago

  • Status changed from NEW to POST
  • Assignee set to daviddavis

#2 Updated by daviddavis about 1 year 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

#3 Updated by Anonymous about 1 year ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

#4 Updated by dkliban@redhat.com about 1 year ago

  • Platform Release set to 2.18.0

#5 Updated by ttereshc about 1 year ago

  • Sprint/Milestone set to 2.18.0

#7 Updated by kersom about 1 year ago

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

#8 Updated by ttereshc 12 months ago

  • Status changed from MODIFIED to ON_QA

#9 Updated by ttereshc 12 months ago

  • Status changed from ON_QA to CLOSED - CURRENTRELEASE

#10 Updated by bmbouter 7 months ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF