Actions
Issue #6453
closedsha512 checksum validation fail
Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
2.21.2
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Sprint 71
Quarter:
Description
Steps to Reproduce:
- create a repository with url "https://repos.fedorapeople.org/pulp/pulp/fixtures/rpm-with-sha-512/" and immediate download policy
- sync the repository with --validate set to tue
- check the rpm count in the repo
Download succeeded: https://repos.fedorapeople.org/pulp/pulp/fixtures/rpm-with-sha-512/zebra-0.1-2.noarch.rpm.
ERROR: (8377-95616) Listener error on event: succeeded
ERROR: (8377-95616) Traceback (most recent call last):
ERROR: (8377-95616) File "/usr/lib/python2.7/site-packages/pulp/server/content/sources/event.py", line 39, in __call__
ERROR: (8377-95616) listener.on_event(self)
ERROR: (8377-95616) File "/usr/lib/python2.7/site-packages/pulp/server/content/sources/event.py", line 135, in on_event
ERROR: (8377-95616) method(event.request)
ERROR: (8377-95616) File "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/importers/yum/repomd/alternate.py", line 119, in on_succeeded
ERROR: (8377-95616) self.content_listener.download_succeeded(report)
ERROR: (8377-95616) File "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/importers/yum/listener.py", line 195, in download_succeeded
ERROR: (8377-95616) super(RPMListener, self).download_succeeded(report)
ERROR: (8377-95616) File "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/importers/yum/listener.py", line 86, in download_succeeded
ERROR: (8377-95616) self._verify_checksum(unit, report.destination)
ERROR: (8377-95616) File "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/importers/yum/listener.py", line 150, in _verify_checksum
ERROR: (8377-95616) if sums[unit.checksumtype] != unit.checksum:
ERROR: (8377-95616) KeyError: u'sha512'
Added by ttereshc over 4 years ago
Updated by pulpbot over 4 years ago
- Status changed from NEW to POST
Updated by ttereshc over 4 years ago
- Triaged changed from No to Yes
- Sprint set to Sprint 70
Updated by ttereshc over 4 years ago
- Status changed from POST to MODIFIED
Applied in changeset 702955fc4e05e6eacfb543c3eedc269b127ab9a1.
Updated by dalley over 4 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Updated by ipanova@redhat.com over 4 years ago
- Status changed from CLOSED - CURRENTRELEASE to MODIFIED
- Sprint/Milestone deleted (
Pulp RPM 3.3.0)
Added by ttereshc over 4 years ago
Revision c6d10953 | View on GitHub
Add sha512 support for verification upon package download
closes #6453 https://pulp.plan.io/issues/6453
(cherry picked from commit 702955fc4e05e6eacfb543c3eedc269b127ab9a1)
Updated by pulpbot over 4 years ago
Updated by ttereshc over 4 years ago
Applied in changeset c6d10953cb29499fd07cde3c1d074d063215d6fd.
Updated by dalley over 4 years ago
- Status changed from 5 to CLOSED - CURRENTRELEASE
Actions
Add sha512 support for verification upon package download
closes #6453 https://pulp.plan.io/issues/6453