Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 895462

Summary: Message for subscription-manager repos --list for disabled repo needs to be modified
Product: Red Hat Enterprise Linux 5 Reporter: Shwetha Kallesh <skallesh>
Component: subscription-managerAssignee: candlepin-bugs
Status: CLOSED ERRATA QA Contact: IDM QE LIST <seceng-idm-qe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.10CC: bkearney, jgalipea, jmolet, jsefler, skallesh, spandey, wpoteat
Target Milestone: beta   
Target Release: 5.10   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 1.8.2 Doc Type: Bug Fix
Doc Text:
No description necessary
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-30 22:54:41 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:
Bug Depends On:    
Bug Blocks: 840995, 920191    

Description Shwetha Kallesh 2013-01-15 09:27:48 UTC
Description of problem:

Message for subscription-manager repos --list for disabled repo needs to be modified

Version-Release number of selected component (if applicable):
[root@rhel6 ~]# subscription-manager version
server type: This system is currently not registered.
subscription management server: 0.7.23-1
subscription-manager: 1.8.0-1.git.118.3f0cf12.el6
python-rhsm: 1.8.0-1.git.17.030d4a7.el6


How reproducible:


Steps to Reproduce:
1.[root@rhel6 ~]# cat /etc/rhsm/rhsm.conf | grep 'manage_repos'
manage_repos = 1
[root@rhel6 ~]# subscription-manager repos --list

+----------------------------------------------------------+
    Available Repositories in /etc/yum.repos.d/redhat.repo
+----------------------------------------------------------+
Repo ID:              	awesomeos-modifier
Repo Name:            	awesomeos-modifier
Repo URL:             	http://example.com/awesomeos-modifier
Enabled:              	1

2.[root@rhel6 ~]# cat /etc/rhsm/rhsm.conf | grep 'manage_repos'
manage_repos = 0
[root@rhel6 ~]# subscription-manager repos --list

Repositories disabled by configuration.
This system has no repositories available through subscriptions.

3.
  
Actual results:


Expected results:
Repositories disabled by configuration. 

"This system has no repositories available through subscriptions." should not be displayed as there are repositories available through subscriptions.

Additional info:

Comment 2 RHEL Program Management 2013-01-19 06:47:33 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 4 Bryan Kearney 2013-01-25 18:52:49 UTC
commit 52f7969bf6302ca7777adf4d710909b47c4cd2c8
Author: William Poteat <wpoteat>
Date:   Mon Jan 21 12:00:28 2013 -0500

    895462: Message for subscription-manager repos --list for disabled repo needs to be modified

Comment 5 Bryan Kearney 2013-02-08 17:18:34 UTC
Fixed in the 1.8.2 version of subscription-manager or python-rhsm

Comment 6 Shwetha Kallesh 2013-02-11 09:06:13 UTC
Verifying version:
[root@rhel7 entitlement]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 0.7.24-1
subscription-manager: 1.8.2-1.el7
python-rhsm: 1.8.2-1.el7


[root@rhel7 entitlement]# cat /etc/rhsm/rhsm.conf | grep 'manage_repos'
manage_repos = 0
[root@rhel7 entitlement]# subscription-manager repos --list
Repositories disabled by configuration.

Comment 7 RHEL Program Management 2013-04-09 20:51:01 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release.  Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products.  This request is not yet committed for inclusion in
a release.

Comment 9 errata-xmlrpc 2013-09-30 22:54:41 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-2013-1332.html