Project

Profile

Help

Issue #1802

closed

Pulp 2.8 client no longer supports sha1 RPM checksum type

Added by esabouraud almost 8 years ago. Updated almost 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
High
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
3. High
Version:
2.8.0
Platform Release:
2.8.3
OS:
RHEL 6
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Sprint 1
Quarter:

Description

After updating to Pulp 2.8.0 client from 2.7.1 through yum on RHEL6 (pulp-admin-client-2.8.0-1.el6, pulp-rpm-admin-extensions-2.8.0-1.el6) I have found I can no longer upload RPMs with a sha1 checksum type. Furthermore, there is no notification that the checksum type is ignored.

I saw that there is an issue related to checksums solved in the 2.8.1 beta so I updated to the beta (pulp-admin-client-2.8.1-0.2.rc.el6, pulp-rpm-admin-extensions-2.8.1-0.2.rc.el6), but the issue persists.
This does cause issues when using yum on older RHEL versions (e.g. RHEL5) to install packages published through pulp.

Downgrading the Pulp client back to 2.7.1 does restore this feature.

Example:

# pulp-admin rpm repo uploads rpm --repo-id=ingenico-front-dev-el6-x86_64 --checksum-type=sha1 --file=/home/esabouraud/rpmbuild/RPMS/x86_64/axisk4-libaxcore5-5.2.4-0.1.unstable.x86_64.rpm

+----------------------------------------------------------------------+
                              Unit Upload
+----------------------------------------------------------------------+

Extracting necessary metadata for each request...
[==================================================] 100%
Analyzing: axisk4-libaxcore5-5.2.4-0.1.unstable.x86_64.rpm
... completed

Creating upload requests on the server...
[==================================================] 100%
Initializing: axisk4-libaxcore5-5.2.4-0.1.unstable.x86_64.rpm
... completed

Starting upload of selected units. If this process is stopped through ctrl+c, the uploads will be paused and may be resumed later using the resume command or canceled entirely using the cancel command.

Uploading: axisk4-libaxcore5-5.2.4-0.1.unstable.x86_64.rpm
[==================================================] 100%
474063/474063 bytes
... completed

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

[\]
Running...

Task Succeeded

Deleting the upload request...
... completed

# pulp-admin rpm repo content rpm --repo-id=ingenico-front-dev-el6-x86_64 --match 'filename=^axisk.*unstable' --match 'checksumtype=sha256' | grep Filename
Filename:     axisk4-libaxcore5-5.2.4-0.1.unstable.x86_64.rpm
# pulp-admin rpm repo content rpm --repo-id=ingenico-front-dev-el6-x86_64 --match 'filename=^axisk.*unstable' --match 'checksumtype=sha1' | grep Filename
#

Files

pulp27-uploadsha1rpm.txt (6.18 KB) pulp27-uploadsha1rpm.txt upload with pulp-admin-client-2.7.1-1 esabouraud, 04/06/2016 06:33 PM
pulp28-uploadsha1rpm.txt (6.21 KB) pulp28-uploadsha1rpm.txt upload with pulp-admin-client-2.8.1-1 esabouraud, 04/06/2016 06:34 PM

Related issues

Has duplicate Pulp - Issue #1822: Pulp 2.8 client no longer supports sha1 RPM checksum type (REOPEN #1802)CLOSED - DUPLICATEActions

Also available in: Atom PDF