Bug 709984

Summary: beaker : yum install error on RHEL 5.7
Product: Red Hat Enterprise Linux 5 Reporter: Weiping Pan <wpan>
Component: yumAssignee: James Antill <james.antill>
Status: CLOSED DUPLICATE QA Contact: Red Hat Satellite QA List <satellite-qa-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 5.7CC: bpeck, dcallagh, mcsontos, rmancy, ruyang, stl
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-02 13:07:27 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Weiping Pan 2011-06-02 03:36:36 EDT
Description of problem:
yum install error
[root@hp-magnycours-01 ~]# yum -y install rh-tests-kernel-networking-bonding-bz672731-bonding_multicast.noarch
Loaded plugins: product-id, security, subscription-manager
Updating Red Hat repositories.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package rh-tests-kernel-networking-bonding-bz672731-bonding_multicast.noarch 0:1.1-18 set to be updated
--> Processing Dependency: rh-tests-kernel-networking-bonding-bz672731-common_functions for package: rh-tests-kernel-networking-bonding-bz672731-bonding_multicast
--> Running transaction check
---> Package rh-tests-kernel-networking-bonding-bz672731-common_functions.noarch 0:1.1-106 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

 Package         Arch                 Version                Repository                  Size
                 noarch               1.1-18                 beaker-tasks               7.2 k
Installing for dependencies:
                 noarch               1.1-106                beaker-tasks                22 k

Transaction Summary
Install       2 Package(s)
Upgrade       0 Package(s)

Total download size: 29 k
Downloading Packages:
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in ?
    yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/yummain.py", line 309, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 261, in main
    return_code = base.doTransaction()
  File "/usr/share/yum-cli/cli.py", line 398, in doTransaction
    problems = self.downloadPkgs(downloadpkgs, callback_total=self.download_callback_total_cb) 
  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 1355, in downloadPkgs
    cache=po.repo.http_caching != 'none',
  File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 838, in getPackage
  File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 784, in _getFile
NameError: global name 'size' is not defined

Version-Release number of selected component (if applicable):
[root@hp-magnycours-01 ~]# uname -a
Linux hp-magnycours-01.rhts.eng.bos.redhat.com 2.6.18-264.el5PAE #1 SMP Tue May 24 15:19:58 EDT 2011 i686 athlon i386 GNU/Linux

[root@hp-magnycours-01 ~]# rpm -qa|grep beaker
[root@hp-magnycours-01 ~]# cat /etc/yum.repos.d/beaker-tasks.repo 

How reproducible:
please clone this job.

Steps to Reproduce:
Actual results:

Expected results:

Additional info:
Comment 1 Marian Csontos 2011-06-02 07:49:14 EDT
I have seen it as well. IMO yum bug. Reassigning.
Comment 2 Marian Csontos 2011-06-02 08:44:29 EDT
FYI, looks like related to Bug 647134.
Comment 3 James Antill 2011-06-02 13:07:27 EDT
Should be fixed with today's compose.

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