Bug 724809 - subscription-manager repos --list probably need not require registration
Summary: subscription-manager repos --list probably need not require registration
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: subscription-manager
Version: 6.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Bryan Kearney
QA Contact: John Sefler
URL:
Whiteboard:
Depends On:
Blocks: rhsm-rhel62
TreeView+ depends on / blocked
 
Reported: 2011-07-21 20:57 UTC by John Sefler
Modified: 2011-12-06 17:22 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-06 17:22:39 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:1695 0 normal SHIPPED_LIVE subscription-manager bug fix and enhancement update 2011-12-06 01:23:29 UTC

Description John Sefler 2011-07-21 20:57:57 UTC
Description of problem:
Currently, subscription-manager repos --list requires that you be registered before it can be called.

I suspect that this requirement is not necessary.


Version-Release number of selected component (if applicable):
[root@jsefler-onprem-62server ~]# rpm -q subscription-manager
subscription-manager-0.96.4-1.git.47.e65faae.el6.x86_64


How reproducible:


Steps to Reproduce:
# subscription-manager unregister
This system is currently not registered.
# subscription-manager repos --list
Consumer not registered. Please register using --username and --password

^^^^
If this restriction is removed, then the expected output would be:
The system is not entitled to use any repositories.

Comment 1 Bryan Kearney 2011-07-22 14:00:32 UTC
Fixed in master at be369b5fdb9683a7fa93637794b5990eb9bb768f.

Comment 3 John Sefler 2011-07-25 21:05:48 UTC
Verifying Version...
[root@jsefler-onprem-62server ~]# rpm -q subscription-manager
subscription-manager-0.96.4-1.git.54.5de26be.el6.x86_64

[root@jsefler-onprem-62server ~]# subscription-manager unregister
This system is currently not registered.
[root@jsefler-onprem-62server ~]# subscription-manager repos --list
The system is not entitled to use any repositories.

[root@jsefler-onprem-62server ~]# yum repolist
Loaded plugins: product-id, refresh-packagekit, subscription-manager
Updating certificate-based repositories.
repolist: 0

^^^^ Verified.  The system is not entitled to use any repositories, and in fact, the system has no enabled repos.

Comment 4 errata-xmlrpc 2011-12-06 17:22:39 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-2011-1695.html


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