Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
RHEL5 system without python-hashlib package installed can not consume Satellite 6 generated repodata (which have sha256 checksums)
Version-Release number of selected component (if applicable):
Client: python-rhsm-1.8.17-1.el5, subscription-manager-1.8.22-1.el5
Server: GA Snapshot 4 (jmontelo's stable system)
How reproducible:
always
Steps to Reproduce:
1. Take clean RHEL5 system with no python-hashlib package installed
2. Use subscription-manager to register and attach to RHEL and some custom repo
3. # yum repolist
Actual results:
# yum repolist
Loaded plugins: product-id, security, subscription-manager
This system is receiving updates from Red Hat Subscription Management.
jhutar2_Sat_6_Tools_Sat_6_Tools_x86_64_RHEL5 | 2.1 kB 00:00
jhutar2_Sat_6_Tools_Sat_6_Tools_x86_64_RHEL5/primary | 6.5 kB 00:00
https://<fqdn>/pulp/repos/jhutar2/Library/custom/Sat_6_Tools/Sat_6_Tools_x86_64_RHEL5/repodata/37798bbedb947bbb270512b5e22b06f5c40ece29251d92247580b2b66a004b98-primary.xml.gz: [Errno -3] Error performing checksum
Trying other mirror.
jhutar2_Sat_6_Tools_Sat_6_Tools_x86_64_RHEL5/primary | 6.5 kB 00:00
https://<fqdn>/pulp/repos/jhutar2/Library/custom/Sat_6_Tools/Sat_6_Tools_x86_64_RHEL5/repodata/37798bbedb947bbb270512b5e22b06f5c40ece29251d92247580b2b66a004b98-primary.xml.gz: [Errno -3] Error performing checksum
Trying other mirror.
repo id repo name status
[...]
jhutar2_Sat_6_Tools_Sat_6_Tools_x86_64_RHEL5 Sat 6 Tools x86_64 RHEL5 0
rhel-5-server-rpms Red Hat Enterprise Linux 5 Server (RPMs) 0
repolist: 21,578
Note all the repos from Satellite have 0 packages (although they are synced on Satellite 6) and some produced error when downloading repodata (I do not know why only custom ones produced that error).
Expected results:
As with python-hashlib installed:
# rpm -q python-hashlib
python-hashlib-20081119-4.el5
python-hashlib-20081119-4.el5
# yum repolist
Loaded plugins: product-id, security, subscription-manager
This system is receiving updates from Red Hat Subscription Management.
jhutar2_Sat_6_Tools_Sat_6_Tools_x86_64_RHEL5 | 2.1 kB 00:00
rhel-5-server-rh-common-rpms | 2.1 kB 00:00
rhel-5-server-rpms | 2.5 kB 00:00
repo id repo name status
jhutar2_Sat_6_Tools_Sat_6_Tools_x86_64_RHEL5 Sat 6 Tools x86_64 RHEL5 21
rhel-5-server-rpms Red Hat Enterprise Linux 5 Server (RPMs) 16,128
repolist: 37,727
Additional info:
Either repodata for RHEL5 should have sha1 checksums, or there should be some workarounds or requirements to install python-hashlib.