Hide Forgot
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
(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
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.
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