Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1306005

Summary: subscription-manager repos --list with bad proxy options is silently using cache
Product: Red Hat Enterprise Linux 7 Reporter: John Sefler <jsefler>
Component: subscription-managerAssignee: Kevin Howell <khowell>
Status: CLOSED ERRATA QA Contact: John Sefler <jsefler>
Severity: medium Docs Contact:
Priority: low    
Version: 7.3CC: alikins, bcourt, candlepin-bugs, crog, csnyder, dgoodwin, khowell, qianzhan, skallesh, vrjain
Target Milestone: rcKeywords: Reopened, Triaged
Target Release: 7.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1176219 Environment:
Last Closed: 2017-08-01 19:18:42 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: 1176219, 1298327    
Bug Blocks:    

Comment 1 vritant 2016-07-11 19:50:38 UTC
*** Bug 1353821 has been marked as a duplicate of this bug. ***

Comment 2 RHEL Program Management 2016-07-12 23:15:45 UTC
Development Management has reviewed and declined this request.
You may appeal this decision by reopening this request.

Comment 4 Shwetha Kallesh 2017-04-11 06:34:17 UTC
[root@dhcp35-160 ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 0.9.51.21-1
subscription management rules: 5.15.1
subscription-manager: 1.19.4-1.el7
python-rhsm: 1.19.2-1.el7

[root@dhcp35-160 ~]# subscription-manager repos --list
+----------------------------------------------------------+
    Available Repositories in /etc/yum.repos.d/redhat.repo
+----------------------------------------------------------+
Repo ID:   rhel-7-server-openstack-11-devtools-debug-rpms
Repo Name: Red Hat OpenStack Platform 11 Developer Tools for RHEL 7 (Debug RPMs)
Repo URL:  https://cdn.redhat.com/content/dist/rhel/server/7/7Server/$basearch/openstack-devtools/11/debug
Enabled:   0

Repo ID:   rhel-7-server-v2vwin-1-debug-rpms
Repo Name: Red Hat Virt V2V Tool for RHEL 7 (Debug RPMs)
Repo URL:  https://cdn.redhat.com/content/dist/rhel/server/7/$releasever/$basearch/v2vwin/debug
Enabled:   0

Repo ID:   rhel-7-server-openstack-12-devtools-debug-rpms
Repo Name: Red Hat OpenStack Platform 12 Developer Tools for RHEL 7 (Debug RPMs)
Repo URL:  https://cdn.redhat.com/content/dist/rhel/server/7/7Server/$basearch/openstack-devtools/12/debug
Enabled:   0

Repo ID:   rhel-7-server-aus-rhui-satellite-tools-6.3-rpms
Repo Name: Red Hat Satellite Tools 6.3 (for RHEL 7 Server - AUS) (RPMs) from RHUI
Repo URL:  https://cdn.redhat.com/content/aus/rhel/rhui/server/7/$releasever/$basearch/sat-tools/6.3/os
Enabled:   0

Repo ID:   rhel-7-server-openstack-6.0-debug-rpms
Repo Name: Red Hat OpenStack 6.0 for RHEL 7 (Debug RPMs)
Repo URL:  https://cdn.redhat.com/content/dist/rhel/server/7/$releasever/$basearch/openstack/6.0/debug
Enabled:   0

Repo ID:   rhel-7-server-rhscon-2-main-source-rpms
Repo Name: Red Hat Storage Console Main for Red Hat Enterprise Linux 7 Server (Source RPMs)
Repo URL:  https://cdn.redhat.com/content/dist/rhel/server/7/$releasever/$basearch/rhscon-main/2/source/SRPMS
Enabled:   0

Repo ID:   rhel-ha-for-rhel-7-server-source-rpms
Repo Name: Red Hat Enterprise Linux High Availability (for RHEL 7 Server) (Source RPMs)
Repo URL:  https://cdn.redhat.com/content/dist/rhel/server/7/$releasever/$basearch/highavailability/source/SRPMS
Enabled:   0



[root@dhcp35-160 ~]# subscription-manager repos --list --proxy=auto-services.usersys.redhat.com:3128 --proxyuser=bad-username --proxypassword=bad-password
Unable to reach the server at subscription.rhsm.stage.redhat.com:443/subscription
[root@dhcp35-160 ~]#

Comment 5 errata-xmlrpc 2017-08-01 19:18:42 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.

https://access.redhat.com/errata/RHBA-2017:2083