Bug 1129901 - RHEL5 system without python-hashlib package can not consume Satellite6 generated repodata with sha256 checksums
Summary: RHEL5 system without python-hashlib package can not consume Satellite6 genera...
Keywords:
Status: CLOSED DUPLICATE of bug 1127402
Alias: None
Product: Red Hat Satellite 6
Classification: Red Hat
Component: katello-agent
Version: 6.0.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified vote
Target Milestone: Unspecified
Assignee: Katello Bug Bin
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-08-13 22:16 UTC by Jan Hutař
Modified: 2014-08-14 13:33 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-14 13:33:03 UTC


Attachments (Terms of Use)

Description Jan Hutař 2014-08-13 22:16:58 UTC
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.

Comment 1 Jan Hutař 2014-08-13 22:18:26 UTC
Note this was discussed in bug 1080373.

Comment 3 Mike McCune 2014-08-14 13:33:03 UTC

*** This bug has been marked as a duplicate of bug 1127402 ***


Note You need to log in before you can comment on or make changes to this bug.