Bug 895462 - Message for subscription-manager repos --list for disabled repo needs to be modified
Summary: Message for subscription-manager repos --list for disabled repo needs to be m...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: subscription-manager
Version: 5.10
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: beta
: 5.10
Assignee: candlepin-bugs
QA Contact: IDM QE LIST
URL:
Whiteboard:
Depends On:
Blocks: rhsm-rhel510 rhsm-2013
TreeView+ depends on / blocked
 
Reported: 2013-01-15 09:27 UTC by Shwetha Kallesh
Modified: 2013-09-30 22:54 UTC (History)
7 users (show)

Fixed In Version: 1.8.2
Doc Type: Bug Fix
Doc Text:
No description necessary
Clone Of:
Environment:
Last Closed: 2013-09-30 22:54:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:1332 0 normal SHIPPED_LIVE subscription-manager bug fix and enhancement update 2013-09-30 22:49:24 UTC

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


Note You need to log in before you can comment on or make changes to this bug.