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 1694811 - traceback encountered by subscription-manager service-level --list when bad proxy is configured in rhsm.conf
Summary: traceback encountered by subscription-manager service-level --list when bad p...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: subscription-manager
Version: 8.0
Hardware: Unspecified
OS: Unspecified
high
low
Target Milestone: rc
: ---
Assignee: Jiri Hnidek
QA Contact: Red Hat subscription-manager QE Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-04-01 18:28 UTC by John Sefler
Modified: 2020-11-04 01:39 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-04 01:38:37 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github candlepin subscription-manager pull 2300 0 None closed 1859532: No traceback, when wrong proxy conf is used; ENT-2654 2020-07-28 13:14:01 UTC
Red Hat Product Errata RHBA-2020:4460 0 None None None 2020-11-04 01:38:57 UTC

Comment 1 John Sefler 2020-07-23 14:04:38 UTC
Bug 1859532 is likely a dup of this.

Comment 4 Shwetha Kallesh 2020-07-29 10:59:57 UTC
Verification:

Since there is no traceback and appropriate error is thrown , moving the bug to verified

[root@hpe-dl380pgen8-02-vm-2 ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: Unknown
subscription management rules: Unknown
subscription-manager: 1.27.11-1.el8


[root@hpe-dl380pgen8-02-vm-2 ~]# cat /etc/rhsm/rhsm.conf | grep proxy
# an http proxy server to use
proxy_hostname =BAD-auto-services.usersys.redhat.com
# The scheme to use for the proxy when updating repo definitions, if needed
proxy_scheme = http
# port for http proxy server
proxy_port = 3127
# user name for authenticating to an http proxy, if needed
proxy_user =redhat
# password for basic http proxy auth, if needed
proxy_password =redhat
# host/domain suffix blacklist for proxy, if needed
no_proxy = 

On unregistered system:

[root@hpe-dl380pgen8-02-vm-2 ~]# subscription-manager config --server.proxy_hostname=BAD-auto-services.usersys.redhat.com
[root@hpe-dl380pgen8-02-vm-2 ~]# subscription-manager service-level --list --username=stage_auto_syspurpose001 --password=redhat 
Organization: 12814047
Proxy connection failed, please check your settings.
[root@hpe-dl380pgen8-02-vm-2 ~]# subscription-manager config --server.proxy_hostname=
[root@hpe-dl380pgen8-02-vm-2 ~]# subscription-manager service-level --list --username=stage_auto_testuser --password=redhat --org=13289264 --proxy=BAD-auto-services.usersys.redhat.com
Proxy connection failed, please check your settings.

On registered system:

[root@hpe-dl380pgen8-02-vm-2 ~]# subscription-manager register
Registering to: subscription.rhsm.stage.redhat.com:443/subscription
Username: stage_auto_syspurpose001
Password: 
CACHED_SYSPURPOSE: /var/lib/rhsm/cache/syspurpose.json
The system has been registered with ID: a1d44bce-8d0f-4148-a02b-a73fe677402f
The registered system name is: hpe-dl380pgen8-02-vm-2.hpe2.lab.eng.bos.redhat.com
[root@hpe-dl380pgen8-02-vm-2 ~]# subscription-manager config --server.proxy_hostname=BAD-auto-services.usersys.redhat.com


[root@hpe-dl380pgen8-02-vm-2 ~]# cat /etc/rhsm/rhsm.conf | grep proxy
# an http proxy server to use
proxy_hostname =BAD-auto-services.usersys.redhat.com
# The scheme to use for the proxy when updating repo definitions, if needed
proxy_scheme = http
# port for http proxy server
proxy_port = 3127
# user name for authenticating to an http proxy, if needed
proxy_user =redhat
# password for basic http proxy auth, if needed
proxy_password =redhat
# host/domain suffix blacklist for proxy, if needed
no_proxy = 

[root@hpe-dl380pgen8-02-vm-2 ~]# subscription-manager service-level --list --username=stage_auto_syspurpose001 --password=redhat
Proxy connection failed, please check your settings.

Comment 7 errata-xmlrpc 2020-11-04 01:38:37 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 (subscription-manager bug fix and enhancement update), 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-2020:4460


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