Bug 694877

Summary: yum plugins for product-id and subscription-manager are not loading
Product: Red Hat Enterprise Linux 5 Reporter: John Sefler <jsefler>
Component: subscription-managerAssignee: Chris Duryee <cduryee>
Status: CLOSED ERRATA QA Contact: John Sefler <jsefler>
Severity: high Docs Contact:
Priority: unspecified    
Version: 5.7CC: alikins, spandey
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-21 08:45:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 675214    

Description John Sefler 2011-04-08 17:25:39 UTC
Description of problem:
yum plugins for product-id and subscription-manager are not loading

Version-Release number of selected component (if applicable):
[root@jsefler-onprem-5server ~]# rpm -q subscription-manager
subscription-manager-0.95.5.5-1.git.17.0109842.el5


How reproducible:


Steps to Reproduce:
[root@jsefler-onprem-5server ~]# yum repolist
Plugin "product-id" can't be imported
Plugin "subscription-manager" can't be imported
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN Satellite or RHN Classic support will be disabled.
file://var/cache/yum/rhel-x86_64-server-5/repodata/repomd.xml: [Errno 5] OSError: [Errno 2] No such file or directory: '/cache/yum/rhel-x86_64-server-5/repodata/repomd.xml'
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: rhel-x86_64-server-5. Please verify its path and try again
[root@jsefler-onprem-5server ~]# 

^^^ Expected these plugins to load:
Plugin "product-id" can't be imported
Plugin "subscription-manager" can't be imported

Comment 1 Adrian Likins 2011-04-08 20:13:16 UTC
(master)
commit b0b83a89b771991aeaea1a3e1b25821c64c8d35e
Author: Adrian Likins <alikins>
Date:   Fri Apr 8 14:09:32 2011 -0400

    694877: Fix wrong module imports in yum plugins and wrong path for certmgr.py


(RHEL5.7)
commit d9d6b63add5d1f1fecfd8cdd9725de3a7deec413
Author: Adrian Likins <alikins>
Date:   Fri Apr 8 13:03:39 2011 -0400

    694877: Fix wrong module imports in yum plugins and wrong path for certmgr.py

Comment 2 John Sefler 2011-05-20 20:55:07 UTC
Verifying Version...

[root@jsefler-RHEL57ServerBeta12 ~]# rpm -q subscription-manager
subscription-manager-0.95.5.18-1.el5

[root@jsefler-RHEL57ServerBeta12 ~]# yum repolist --disablerepo=* --enableplugin=*
Loaded plugins: product-id, rhnplugin, security, subscription-manager
Updating Red Hat repositories.
This system is not registered with RHN.
RHN Satellite or RHN Classic support will be disabled.
repolist: 0


^^^ Expected sm plugins product-id and subscription-manager are now loading.

Comment 3 errata-xmlrpc 2011-07-21 08:45:42 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2011-1078.html

Comment 4 errata-xmlrpc 2011-07-21 12:30:00 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2011-1078.html