Red Hat Satellite engineering is moving the tracking of its product development work on Satellite 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 "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. 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 "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-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 1827387 - http-proxy 'test connection' claiming authentication required when it shouldn't be
Summary: http-proxy 'test connection' claiming authentication required when it shouldn...
Keywords:
Status: CLOSED DUPLICATE of bug 1928194
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Networking
Version: 6.7.0
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Radovan Drazny
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-04-23 19:17 UTC by Amar Ganbat
Modified: 2023-09-07 22:56 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-19 14:29:48 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Amar Ganbat 2020-04-23 19:17:53 UTC
Description of problem:

http-proxy not working as expected on the Satellite 6.7 

How reproducible:

Configure http proxy and try to enable RH repos and refresh the manifest

// When doing the test via webUI - Infrastructure - HTTP Proxy

# foreman-tail | grep -E '(proxy ip|proxy hostname)'
---
2020-04-23T13:52:22 [I|app|f4a7d3d0]   Parameters: {"utf8"=>"✓", "authenticity_token"=>"XZ621hBE5zbuH7ZU/UT3Cm8hL05iwtU4vlHbX8wd+6y0FuDrtzIFAtaMPA0ZuIUUDlR4lFNs5W7Z2kaRlWsaEA==", "http_proxy"=>{"name"=>"proxy", "url"=>"http://proxyname:80", "username"=>"", "password"=>"[FILTERED]", "location_ids"=>["", "2"], "organization_ids"=>["", "1"]}, "fakepassword"=>"[FILTERED]", "test_url"=>"https://aws.amazon.com"}

// When expanding the repositories list
---
---
 Note. Nothing on log


The same proxy server was set on the rhsm.conf

# grep proxy /etc/rhsm/rhsm.conf | grep -v ^#
proxy_hostname = proxy name
proxy_scheme = http
proxy_port = 80
proxy_user =
proxy_password =
no_proxy =

And proxy server itself is working correctly and server pull packages with yum.

yum clean all
Loaded plugins: product-id, search-disabled-repos, subscription-manager
Cleaning repos: rh7 rhel-7-server-ansible-2.8-rpms rhel-7-server-rpms rhel-7-server-satellite-6.7-rpms rhel-7-server-satellite-maintenance-6-rpms
              : rhel-server-rhscl-7-rpms
# yum repolist -v
Not loading "rhnplugin" plugin, as it is disabled
Not loading "foreman-protector" plugin, as it is disabled
Loading "product-id" plugin
Loading "search-disabled-repos" plugin
Loading "subscription-manager" plugin
Updating Subscription Management repositories.
Config time: 2.874
Yum version: 3.4.3
rh7                                                                                                                                   | 2.8 kB  00:00:00
rhel-7-server-ansible-2.8-rpms                                                                                                        | 4.0 kB  00:00:00
rhel-7-server-rpms                                                                                                                    | 3.5 kB  00:00:00
rhel-7-server-satellite-6.7-rpms                                                                                                      | 4.0 kB  00:00:00
rhel-7-server-satellite-maintenance-6-rpms                                                                                            | 3.8 kB  00:00:00
rhel-server-rhscl-7-rpms                                                                                                              | 3.4 kB  00:00:00
(1/17): rh7/group_gz                                                                                                                  | 103 kB  00:00:00
(2/17): rh7/primary                                                                                                                   | 2.0 MB  00:00:00
(3/17): rhel-7-server-ansible-2.8-rpms/x86_64/group                                                                                   |  124 B  00:00:00
(4/17): rhel-7-server-ansible-2.8-rpms/x86_64/updateinfo                                                                              | 4.6 kB  00:00:00
(5/17): rhel-7-server-ansible-2.8-rpms/x86_64/primary_db                                                                              |  14 kB  00:00:00
(6/17): rhel-7-server-rpms/7Server/x86_64/group                                                                                       | 631 kB  00:00:00
(7/17): rhel-7-server-rpms/7Server/x86_64/updateinfo                                                                                  | 3.7 MB  00:00:01
(8/17): rhel-7-server-satellite-6.7-rpms/x86_64/group                                                                                 | 5.9 kB  00:00:00
(9/17): rhel-7-server-satellite-6.7-rpms/x86_64/updateinfo                                                                            |  46 kB  00:00:00
(10/17): rhel-7-server-satellite-6.7-rpms/x86_64/primary_db                                                                           | 224 kB  00:00:00
(11/17): rhel-7-server-satellite-maintenance-6-rpms/x86_64/group                                                                      |  124 B  00:00:00
(12/17): rhel-7-server-satellite-maintenance-6-rpms/x86_64/updateinfo                                                                 |  11 kB  00:00:00
(13/17): rhel-7-server-satellite-maintenance-6-rpms/x86_64/primary_db                                                                 |  21 kB  00:00:00
(14/17): rhel-server-rhscl-7-rpms/7Server/x86_64/group                                                                                |  124 B  00:00:00
(15/17): rhel-server-rhscl-7-rpms/7Server/x86_64/updateinfo                                                                           | 1.1 MB  00:00:01
(16/17): rhel-server-rhscl-7-rpms/7Server/x86_64/primary_db                                                                           | 5.8 MB  00:00:02
(17/17): rhel-7-server-rpms/7Server/x86_64/primary_db                                                                                 |  69 MB  00:00:12
rh7               

All accesses to cdn.redhat.com were enabled, and firewalld was disabled.  The satellite server can reach the proxy server. It's not a networking issue. 

2.  WebGUI is producing '407 proxy authentification required' error when trying to test the connection.  The customer's proxy server doesn't use any credentials.   So authentification required error needs to removed.   Maybe this error is somehow connected with the first issue.

Comment 9 Justin Sherrill 2020-05-07 15:42:05 UTC
i adjusted the title to better reflect the state of the bug

Comment 10 Tomer Brisker 2021-10-19 14:29:48 UTC
Looks like the remaining issue with the incorrect message is a duplicate of BZ1928194. Reducing severity as original problem was resolved and closing as duplicate.

*** This bug has been marked as a duplicate of bug 1928194 ***


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