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 2162458 - use-http-proxy switch does not work properly
Summary: use-http-proxy switch does not work properly
Keywords:
Status: CLOSED COMPLETED
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Alternate Content Sources
Version: 6.13.0
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: 6.14.0
Assignee: Quinn James
QA Contact: Vladimír Sedmík
Brian Angelica
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-01-19 16:17 UTC by Vladimír Sedmík
Modified: 2023-11-21 13:07 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Known Issue
Doc Text:
.Alternate Content Sources that use HTTP proxies cannot have the HTTP proxy removed If the *Use HTTP Proxy* flag is unset on the Alternate Content Source, traffic continues to go through the HTTP proxy. The workaround is to destroy the Alternate Content Source and recreate it.
Clone Of:
Environment:
Last Closed: 2023-11-21 13:07:56 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 36102 0 Normal Closed use-http-proxy switch does not work properly 2023-03-27 09:56:35 UTC
Red Hat Issue Tracker SAT-15012 0 None None None 2023-01-23 14:24:51 UTC

Description Vladimír Sedmík 2023-01-19 16:17:23 UTC
Description of problem:
We have an ACS with assigned capsules which are set with HTTP Proxy, so the traffic is proxied through it on ACS refresh. The thing is it is proxied even when we set 'Use HTTP Proxies' on that ACS to 'false'.


Version-Release number of selected component (if applicable):
6.13.0 snap 5


How reproducible:
always


Steps to Reproduce:
1. Have an HTTP proxy assigned to a Capsule.
2. Have an ACS with the Capsule assigned and 'Use HTTP Proxies' set to 'true'.
3. Trigger ACS refresh and check /var/log/squid/access.log on the HTTP Proxy - you should see the traffic from the Capsule.
4. Set 'Use HTTP Proxies' on the ACS to 'false', trigger refresh and check the access.log.


Actual results:
The traffic still goes through the HTTP Proxy.


Expected results:
It should not go through HTTP Proxy.

Comment 1 Quinn James 2023-02-14 20:48:53 UTC
Created redmine issue https://projects.theforeman.org/issues/36102 from this bug

Comment 2 Quinn James 2023-02-21 18:11:40 UTC
Behavior is only exhibited for custom and rhui ACS types.

Comment 4 Bryan Kearney 2023-03-15 16:03:30 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/36102 has been resolved.

Comment 5 Vladimír Sedmík 2023-06-06 09:26:56 UTC
Verified in 6.14.0 snap 2.

The 'Use HTTP Proxies' switch toggles now properly and it's functionality can be observed in the proxy.log. Tested with both, authenticated and unauthenticated, proxies and all ACS types.


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