Bug 755541

Summary: 'yum repolist' echo 'Unable to find consumer: ****'
Product: Red Hat Enterprise Linux 5 Reporter: Suyuan Li <suli>
Component: subscription-managerAssignee: Bryan Kearney <bkearney>
Status: CLOSED ERRATA QA Contact: IDM QE LIST <seceng-idm-qe-list>
Severity: low Docs Contact:
Priority: unspecified    
Version: 5.8CC: bkearney, cduryee, jsefler, khong, skallesh, wpoteat
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 0.98.5-1.el5 Doc Type: Bug Fix
Doc Text:
No description necessary
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-21 06:43:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 715031, 769266    

Description Suyuan Li 2011-11-21 12:37:27 UTC
Description of problem:
'yum repolist' echo 'Unable to find consumer: ****' but the consumer actually exist 

Version-Release number of selected component (if applicable):
subscription-manager-firstboot-0.98.3-1.el5
subscription-manager-gnome-0.98.3-1.el5
subscription-manager-0.98.3-1.el5
python-rhsm-0.98.3-1.el5

How reproducible:
always

Steps to Reproduce:
1. register to stage env via CLI 
2. subscribe one subscription 
3. #yum repolist
  
Actual results:
Loaded plugins: katello, product-id, security, subscription-manager
Updating certificate-based repositories.
Unable to find consumer: 59686e5b-4038-4672-a732-f87d396aa70b
rhel-5-server-rpms                                       | 2.4 kB     00:00     
repo id                   repo name                                       status
rhel-5-server-rpms        Red Hat Enterprise Linux 5 Server (RPMs)        9,318
repolist: 9,318


Expected results:
should not display this sentence, for actually the consumer existed

Additional info:
# subscription-manager identity
Current identity is: 59686e5b-4038-4672-a732-f87d396aa70b
name: localhost.localdomain
org name: 6445999
org id: 8a99f981335b908601336a13524b51fe

Comment 2 Shwetha Kallesh 2011-11-29 10:00:29 UTC
Moving the bug to verified.


RPM used:
[root@tiger ~]# rpm -qa| grep subscription-manager
subscription-manager-firstboot-0.98.3-1.git.16.14460bc.el5_7
subscription-manager-migration-data-1.4-1.el5
subscription-manager-migration-0.98.3-1.git.16.14460bc.el5_7
subscription-manager-debuginfo-0.98.3-1.el5
subscription-manager-0.98.3-1.git.16.14460bc.el5_7
subscription-manager-gnome-0.98.3-1.git.16.14460bc.el5_7




[root@tiger ~]# yum repolist
Loaded plugins: katello, product-id, rhnplugin, security, subscription-manager
Updating certificate-based repositories.
repo id                                                              repo name                                                                                    status
beaker-Cluster                                                       beaker-Cluster                                                                                  32
beaker-ClusterStorage                                                beaker-ClusterStorage                                                                           39
beaker-Server                                                        beaker-Server                                                                                3,279
beaker-VT                                                            beaker-VT                                                                                       57
rhel-x86_64-server-5                                                 Red Hat Enterprise Linux (v. 5 for 64-bit x86_64)                                                0
rhel-x86_64-server-fastrack-5                                        RHEL FasTrack (v. 5 for 64-bit x86_64)                                                           0
rhel-x86_64-server-productivity-5                                    RHEL Optional Productivity Apps (v. 5 for 64-bit x86_64)                                         0
rhel-x86_64-server-supplementary-5                                   RHEL Supplementary (v. 5 for 64-bit x86_64)                                                      0
rhel-x86_64-server-vt-5                                              RHEL Virtualization (v. 5 for 64-bit x86_64)                                                     0
rhn-tools-rhel-x86_64-server-5                                       Red Hat Network Tools for RHEL Server (v.5 64-bit x86_64)                                        0
repolist: 3,407

Comment 3 William Poteat 2012-01-23 15:14:55 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
No description necessary

Comment 4 errata-xmlrpc 2012-02-21 06:43:06 UTC
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-2012-0154.html