Bug 517595 - spacewalk-backend-tools should require python-hashlib
Summary: spacewalk-backend-tools should require python-hashlib
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: Server
Version: 0.5
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Michael Mráka
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space08
TreeView+ depends on / blocked
 
Reported: 2009-08-14 21:25 UTC by Justin Sherrill
Modified: 2010-02-16 12:59 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-12-09 10:47:59 UTC
Embargoed:


Attachments (Terms of Use)

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


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