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.
Created attachment 1582158[details]
Proxy pop-up dialog
Verification as the proxy pop-up appears when user fails to provide username and passowrd for auth proxy
[root@kvm-06-guest26 ~]# subscription-manager version
server type: This system is currently not registered.
subscription management server: 2.3.17-1
subscription management rules: 5.35
subscription-manager: 1.24.11-1.el7
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-2019:2008
Description of problem: You cannot start subscription-manager-gui, when rhsm.conf contains incomplete configuration of proxy server. Proxy server and port is configured correctly, but rhsm.conf doesn't include proxy_user and proxy_pass and proxy server requires user authentication. Version-Release number of selected component (if applicable): [root@centos7 vagrant]# subscription-manager version server type: Red Hat Subscription Management subscription management server: Unknown subscription management rules: Unknown subscription-manager: 1.25.5-1.git.1.d3b2ee4.el7 How reproducible: 100% Steps to Reproduce: 1. Edit rhsm.conf to include valid proxy_serverm, proxy_port and proxy_scheme: [root@centos7 vagrant]# grep proxy_ /etc/rhsm/rhsm.conf proxy_hostname =192.168.121.1 proxy_scheme = http proxy_port =3128 proxy_user = proxy_password = 2. Try to start subscription-manager-gui Actual results: subscription-manager-gui is not started (it is expected), but dialog for setting proxy doesn't pop-up Expected results: Dialog for setting proxy pop-ups Additional info: Output from rhsm.log: 2019-05-14 08:28:59,728 [DEBUG] subscription_manager_gui.py:28325:MainThread @https.py:56 - Using standard libs to provide httplib and ssl 2019-05-14 08:28:59,840 [DEBUG] subscription_manager_gui.py:28325:MainThread @dbus_interface.py:39 - self.has_main_loop=True 2019-05-14 08:28:59,862 [DEBUG] subscription_manager_gui.py:28325:MainThread @ga_loader.py:91 - ga_loader GaImporterGtk3 2019-05-14 08:28:59,863 [WARNING] subscription_manager_gui.py:28325:MainThread @logutil.py:142 - logging already initialized 2019-05-14 08:28:59,928 [DEBUG] subscription_manager_gui.py:28325:MainThread @identity.py:138 - Loading consumer info from identity certificates. 2019-05-14 08:28:59,930 [DEBUG] subscription_manager_gui.py:28325:MainThread @connection.py:280 - ContentConnection 2019-05-14 08:28:59,931 [DEBUG] subscription_manager_gui.py:28325:MainThread @connection.py:924 - Connection built: http_proxy=192.168.121.1:3128 host=svice port=8443 handler=/candlepin auth=identity_cert ca_dir=/etc/rhsm/ca/ insecure=True 2019-05-14 08:28:59,932 [DEBUG] subscription_manager_gui.py:28325:MainThread @cache.py:169 - Checking current system info against cache: /var/lib/rhsm/cache/installed_products.json 2019-05-14 08:28:59,932 [DEBUG] subscription_manager_gui.py:28325:MainThread @cache.py:186 - No changes. 2019-05-14 08:28:59,932 [DEBUG] subscription_manager_gui.py:28325:MainThread @certdirectory.py:217 - Installed product IDs: ['37060'] 2019-05-14 08:28:59,933 [DEBUG] subscription_manager_gui.py:28325:MainThread @connection.py:573 - Using proxy: 192.168.121.1:3128 2019-05-14 08:28:59,933 [DEBUG] subscription_manager_gui.py:28325:MainThread @connection.py:591 - Making request: GET /candlepin/consumers/a2878b25-b1f6-4bab-9ef2-dc525e1b4727/compliance 2019-05-14 08:28:59,938 [ERROR] subscription_manager_gui.py:28325:MainThread @cache.py:236 - Tunnel connection failed: 407 Proxy Authentication Required 2019-05-14 08:28:59,938 [WARNING] subscription_manager_gui.py:28325:MainThread @cache.py:242 - Unable to reach server, using cached status. 2019-05-14 08:28:59,939 [DEBUG] subscription_manager_gui.py:28325:MainThread @cert_sorter.py:206 - Product status: valid_products=37060 partial_products= expired_products= unentitled_producs= future_products= valid_until=2019-05-20 14:11:49+00:00 2019-05-14 08:28:59,940 [DEBUG] subscription_manager_gui.py:28325:MainThread @cert_sorter.py:208 - partial stacks: [] 2019-05-14 08:28:59,940 [DEBUG] subscription_manager_gui.py:28325:MainThread @connection.py:573 - Using proxy: 192.168.121.1:3128 2019-05-14 08:28:59,940 [DEBUG] subscription_manager_gui.py:28325:MainThread @connection.py:591 - Making request: GET /candlepin/ 2019-05-14 08:28:59,941 [ERROR] subscription_manager_gui.py:28325:MainThread @subscription_manager_gui.py:231 - Tunnel connection failed: 407 Proxy Authentication Required Traceback (most recent call last): File "/vagrant/src/subscription_manager/scripts/subscription_manager_gui.py", line 214, in main main = managergui.MainWindow(auto_launch_registration=options.register) File "/vagrant/src/subscription_manager/gui/managergui.py", line 220, in __init__ cp.supports_resource("status") File "/vagrant/src/rhsm/connection.py", line 950, in supports_resource self._load_supported_resources() File "/vagrant/src/rhsm/connection.py", line 937, in _load_supported_resources resources_list = self.conn.request_get("/") File "/vagrant/src/rhsm/connection.py", line 746, in request_get return self._request("GET", method, headers=headers) File "/vagrant/src/rhsm/connection.py", line 772, in _request info=info, headers=headers) File "/vagrant/src/rhsm/connection.py", line 623, in _request raise ProxyException(err) ProxyException: Tunnel connection failed: 407 Proxy Authentication Required