Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 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 "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". 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 "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-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.

Bug 1360532

Summary: Failed to install rpm packages of rhel-7.3 from SAT5
Product: Red Hat Enterprise Linux 7 Reporter: yanpliu <yanpliu>
Component: yumAssignee: Michal Domonkos <mdomonko>
Status: CLOSED DUPLICATE QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 7.3CC: ftan, james.antill, jgalipea, liliu, soliu, vmukhame, yanpliu
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-02 12:34:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description yanpliu 2016-07-27 02:32:10 UTC
Description of problem:
Failed to install rpm packages of rhel-7.3 from RHN.

Version-Release number of selected component (if applicable):
RHEL-7.3-20160722.n.0 ComputeNode x86_64

How reproducible:
Steps to Reproduce:
1. Register to SAT5.7
# rhnreg_ks --username=<username> --password=<Password>
2. subscription-manager  identity
# subscription-manager  identity
server type: RHN Classic
3.# rhn-channel  --list --user=admin --password=nimda
rhel-x86_64-hpc-node-7
4. Install the package "abrt-addon-vmcore" from RHN
Error information:

# yum install abrt-addon-vmcore
Loaded plugins: product-id, rhnplugin, search-disabled-repos, subscription-
              : manager
This system is receiving updates from RHN Classic or Red Hat Satellite.
Resolving Dependencies
--> Running transaction check
---> Package abrt-addon-vmcore.x86_64 0:2.1.11-35.el7 will be installed
--> Processing Dependency: abrt-addon-kerneloops for package: abrt-addon-vmcore-2.1.11-35.el7.x86_64
--> Running transaction check
---> Package abrt-addon-kerneloops.x86_64 0:2.1.11-35.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================
 Package                Arch    Version         Repository               Size
==============================================================================
Installing:
 abrt-addon-vmcore      x86_64  2.1.11-35.el7   rhel-x86_64-hpc-node-7  103 k
Installing for dependencies:
 abrt-addon-kerneloops  x86_64  2.1.11-35.el7   rhel-x86_64-hpc-node-7  102 k

Transaction Summary
==============================================================================
Install  1 Package (+1 Dependent package)

Total download size: 205 k
Installed size: 82 k
Is this ok [y/d/N]: y
Downloading packages:
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in <module>
    yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/yummain.py", line 370, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 276, in main
    return_code = base.doTransaction()
  File "/usr/share/yum-cli/cli.py", line 671, in doTransaction
    problems = self.downloadPkgs(downloadpkgs, callback_total=self.download_callback_total_cb) 
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 2580, in downloadPkgs
    **kwargs
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1061, in getPackage
    **kwargs
TypeError: _getFile() got an unexpected keyword argument 'retry_no_cache'
Actual results:


Actual results:
The package "abrt-addon-vmcore" failed to be installed.

Expected results:
The package "abrt-addon-vmcore" should be installed successfully.

Comment 1 yanpliu 2016-07-27 03:48:49 UTC
Additional information:
1. These rpm packages can be installed successfully from a rhel7.2 which is registered the same Satellite5,7 sever.
2. And also these rpm packages can be installed successfully from a rhel7.3 
which is registered to Stage candlepin and Production CDN.

Comment 2 Valentina Mukhamedzhanova 2016-07-27 08:11:32 UTC
Could you please list the versions of yum and python-urlgrabber packages?

Comment 3 Michal Domonkos 2016-07-27 08:53:52 UTC
Also, could you please post the output of
  rpm -qV yum

Then, could you reinstall the yum package and try to reproduce again?

Thanks!

Comment 4 yanpliu 2016-07-27 09:24:56 UTC
# yum list python-urlgrabber
Loaded plugins: product-id, rhnplugin, search-disabled-repos, subscription-manager
This system is receiving updates from RHN Classic or Red Hat Satellite.
Installed Packages
python-urlgrabber.noarch                                            3.10-8.el7                                             @beaker-ComputeNode/7.3
[root@cloud-qe-16-vm-08 ~]# rpm -qV yum
# rpm -qa yum
yum-3.4.3-147.el7.noarch

Comment 5 yanpliu 2016-07-27 09:43:32 UTC
I have already reinstall yum, but this issue still can reproduce.

Comment 10 yanpliu 2016-08-02 08:18:41 UTC
This machine was reimaged by beaker.
I will prepare another machine and synchronize the channels to check this issue.

Comment 12 yanpliu 2016-08-02 09:00:28 UTC
Thanks very much Michal for your work.
I will use the available builg to verify it.

Comment 14 yanpliu 2016-09-09 03:04:36 UTC
Have been verified in RHN Beta.this issue has been fixed.