Hide Forgot
Description of problem: yum repolist does not inform "This system is not yet registered" when the system is unregistered. Version-Release number of selected component (if applicable): subscription-manager: 1.12.4-1.el6 python-rhsm: 1.12.4-1.el6 How reproducible: always Steps to Reproduce: 1. Make sure the system is not registered. [root@dhcp-14-238 ~]# subscription-manager identity This system is not yet registered. Try 'subscription-manager register --help' for more information. 2. yum repolist. [root@dhcp-14-238 ~]# yum repolist Loaded plugins: product-id, refresh-packagekit, security, subscription-manager repolist: 0 Actual results: As step 2, the result of yum repolist is 0, but no explanation for the result. Expected results: An explanation, like "This system is not yet registered. Try 'subscription-manager register --help' for more information", should be displayed for why yum repolist is 0. Additional info:
Should be in master as of commit: 384208585272a25eea06a7c3db538bc84194c17d
Verifying version: RHEL-6.6-20140812.1 [root@dhcp-14-148 ~]# subscription-manager version server type: This system is currently not registered. subscription management server: Unknown subscription management rules: Unknown subscription-manager: 1.12.10-1.el6 python-rhsm: 1.12.5-1.el6 Verification: [root@dhcp-14-148 ~]# subscription-manager identity This system is not yet registered. Try 'subscription-manager register --help' for more information. [root@dhcp-14-148 ~]# yum repolist Loaded plugins: product-id, refresh-packagekit, security, subscription-manager repolist: 0 [root@dhcp-14-148 ~]# The bug still exists in build RHEL-6.6-20140812.1, so move it form "ON_QA" to "ASSIGNED"
The fix (In reply to qianzhan from comment #4) > Verifying version: RHEL-6.6-20140812.1 > > [root@dhcp-14-148 ~]# subscription-manager version > server type: This system is currently not registered. > subscription management server: Unknown > subscription management rules: Unknown > subscription-manager: 1.12.10-1.el6 > python-rhsm: 1.12.5-1.el6 > > The bug still exists in build RHEL-6.6-20140812.1, so move it form "ON_QA" > to "ASSIGNED" The fix applied in comment 2 will appear in subscription-manager-1.12.11-1
Note that this bug is actually reverting the removal of some "This system is not registered to..." messages from bug 1058380 thrown by the subscription-manager yum plugin.
Marking verified!! I see an explaination that system ins not registered. [root@shwetha-ws ~]# subscription-manager version server type: This system is currently not registered. subscription management server: 0.9.21-1 subscription management rules: 5.11 subscription-manager: 1.12.13-1.el6 python-rhsm: 1.12.5-1.el6 [root@shwetha-ws ~]# subscription-manager identity This system is not yet registered. Try 'subscription-manager register --help' for more information. [root@shwetha-ws ~]# yum repolist Loaded plugins: product-id, refresh-packagekit, security, subscription-manager This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. repo id repo name status rhel-6.6-blr RHEL 6.6 BLR repo 3,783 rhel-6.6-blr-optional RHEL 6.6 BLR repo Optional
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2014-1384.html