Bug 517595

Summary: spacewalk-backend-tools should require python-hashlib
Product: [Community] Spacewalk Reporter: Justin Sherrill <jsherril>
Component: ServerAssignee: Michael Mráka <mmraka>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: low    
Version: 0.5CC: mmraka
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-12-09 10:47:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 543511    

Description Justin Sherrill 2009-08-14 21:25:21 UTC
In order for spacewalk-repo-sync to work with f11 repos, it needs to have python-hashlib installed.  We should require this in spacewalk-backend-tools

Comment 1 Michael Mráka 2009-12-09 10:46:07 UTC
fixed in spacewalk.git:

commit ff7563fac0681621fbca33478d3306dbda5fb363
    added python-hashlib
    
            fixes failure of spacewalk-repo-sync of sha256'ish channel on RHEL5
    
            # spacewalk-repo-sync -c fedora11 --url http://ftp.linux.cz/pub/linux/fedora/linux/releases/11/Fedora/i386/os/ --type=yum --label fedora11
            Traceback (most recent call last):
              File "/usr/bin/spacewalk-repo-sync", line 71, in ?
                sys.exit(abs(main() or 0))
              File "/usr/bin/spacewalk-repo-sync", line 65, in main
                sync.main()
              File "/usr/share/rhn/satellite_tools/reposync.py", line 94, in main
                self.import_packages(self.plugin.list_packages())
              File "/usr/share/rhn/satellite_tools/repo_plugins/yum_src.py", line 47, in list_packages
                sack.populate(repo, 'metadata', None, 0)
              File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 176, in populate
                db_fn = repo._retrieveMD(mydbtype)
              File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 1524, in _retrieveMD
                cache=self.http_caching == 'all')
              File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 827, in _getFile
                raise Errors.NoMoreMirrorsRepoError, errstr
            yum.Errors.NoMoreMirrorsRepoError: failure: repodata/d8d34dabbba6003a7d8742aa95d5463f8c32cf744830641a5bb016a654b28cdc-primary.sqlite.bz2 from fedora11-fedora11: [Errno 256] No more mirrors to try.

fixed package: 
spacewalk-backend-0.7.6-1

Comment 2 Michael Mráka 2009-12-09 10:47:59 UTC
Fixed in Spacewalk 0.7

Comment 3 Michael Mráka 2010-02-16 12:59:14 UTC
Spacewalk 0.8 has been released