Bug 1827387
| Summary: | http-proxy 'test connection' claiming authentication required when it shouldn't be | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Amar Ganbat <aganbat> |
| Component: | Networking | Assignee: | satellite6-bugs <satellite6-bugs> |
| Status: | CLOSED DUPLICATE | QA Contact: | Radovan Drazny <rdrazny> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.7.0 | CC: | apatel, jjeffers, jsherril, mhulan, tbrisker, wpinheir |
| Target Milestone: | Unspecified | Keywords: | Triaged |
| Target Release: | Unused | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-10-19 14:29:48 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: | |||
i adjusted the title to better reflect the state of the bug 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 *** |
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.