Error while synchronizing a custom repository signed with checksum type SHA-512 on the Red Hat Satellite server.

Solution Verified - Updated -

Issue

  • When synchronizing a custom repository signed with checksum type SHA-512 on the Satellite server following error was observed:

    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'
    

Environment

  • Red Hat Satellite 6.7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content