Bug 1694811
Summary: | traceback encountered by subscription-manager service-level --list when bad proxy is configured in rhsm.conf | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | John Sefler <jsefler> |
Component: | subscription-manager | Assignee: | Jiri Hnidek <jhnidek> |
Status: | CLOSED ERRATA | QA Contact: | Red Hat subscription-manager QE Team <rhsm-qe> |
Severity: | low | Docs Contact: | |
Priority: | high | ||
Version: | 8.0 | CC: | csnyder, jhnidek, redakkan, skallesh, wpoteat |
Target Milestone: | rc | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-11-04 01:38:37 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: |
Comment 1
John Sefler
2020-07-23 14:04:38 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. 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 |