Bug 1570558
Summary: | traceback on console when tried to run disable auto-attach with invalid proxy | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Shwetha Kallesh <skallesh> |
Component: | subscription-manager | Assignee: | Jiri Hnidek <jhnidek> |
Status: | CLOSED WONTFIX | QA Contact: | Red Hat subscription-manager QE Team <rhsm-qe> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 7.6 | CC: | jhnidek, jsefler, khowell, redakkan |
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: | 2021-02-09 15:09:51 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: |
Description
Shwetha Kallesh
2018-04-23 08:48:17 UTC
Triaging low, low since it's an ugly error, but otherwise no harm. Dev, we suggest a git bisect to determine where this change was introduced. Still see the failure [root@hpe-dl380pgen8-02-vm-2 ~]# subscription-manager version 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 =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 =redhatiq # 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 auto-attach --disable Traceback (most recent call last): File "/usr/lib64/python3.6/site-packages/rhsm/connection.py", line 704, in _request conn.request(request_type, handler, body=body, headers=final_headers) File "/usr/lib64/python3.6/http/client.py", line 1254, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib64/python3.6/http/client.py", line 1300, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib64/python3.6/http/client.py", line 1249, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib64/python3.6/http/client.py", line 1036, in _send_output self.send(msg) File "/usr/lib64/python3.6/http/client.py", line 974, in send self.connect() File "/usr/lib64/python3.6/http/client.py", line 1414, in connect super().connect() File "/usr/lib64/python3.6/http/client.py", line 950, in connect self._tunnel() File "/usr/lib64/python3.6/http/client.py", line 929, in _tunnel message.strip())) OSError: Tunnel connection failed: 407 Proxy Authentication Required During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/sbin/subscription-manager", line 11, in <module> load_entry_point('subscription-manager==1.27.11', 'console_scripts', 'subscription-manager')() File "/usr/lib64/python3.6/site-packages/subscription_manager/scripts/subscription_manager.py", line 87, in main return managercli.ManagerCLI().main() File "/usr/lib64/python3.6/site-packages/subscription_manager/managercli.py", line 3253, in main ret = CLI.main(self) File "/usr/lib64/python3.6/site-packages/subscription_manager/cli.py", line 183, in main return cmd.main() File "/usr/lib64/python3.6/site-packages/subscription_manager/managercli.py", line 546, in main return_code = self._do_command() File "/usr/lib64/python3.6/site-packages/subscription_manager/managercli.py", line 1268, in _do_command self._toggle(self.options.enable or False) File "/usr/lib64/python3.6/site-packages/subscription_manager/managercli.py", line 1249, in _toggle self.cp.updateConsumer(self.uuid, autoheal=autoheal) File "/usr/lib64/python3.6/site-packages/rhsm/connection.py", line 1163, in updateConsumer ret = self.conn.request_put(method, params) File "/usr/lib64/python3.6/site-packages/rhsm/connection.py", line 889, in request_put return self._request("PUT", method, params, headers=headers) File "/usr/lib64/python3.6/site-packages/rhsm/connection.py", line 906, in _request info=info, headers=headers, cert_key_pairs=cert_key_pairs) File "/usr/lib64/python3.6/site-packages/rhsm/connection.py", line 740, in _request raise ProxyException(err) rhsm.connection.ProxyException: Tunnel connection failed: 407 Proxy Authentication Required We have improved the experience in RHEL 8 https://bugzilla.redhat.com/show_bug.cgi?id=1861255 , bringing those change to RHEL 7 might not be possible due to its current release cycle. Hence closing the bug as wont fix in RHEL 7. thanks, Rehana |