Bug 1892752

Summary: Scheduled job "Create RSS notifications" does not use proxy
Product: Red Hat Satellite Reporter: Joniel Pasqualetto <jpasqual>
Component: NotificationsAssignee: Adam Ruzicka <aruzicka>
Status: CLOSED ERRATA QA Contact: Ladislav Vasina <lvasina>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.7.0CC: aruzicka, bbuckingham, lvasina, mkalyat, zhunting
Target Milestone: 6.12.0Keywords: Triaged
Target Release: Unused   
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: 2022-11-16 13:32:23 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 Joniel Pasqualetto 2020-10-29 15:16:10 UTC
Description of problem:

Satellite without direct access to internet is unable to get rss notifications because the job ignores any proxy configurations.

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


How reproducible:  Always

Steps to Reproduce:
1. Configure a default proxy on Satellite
2. Configure http_proxy

~~~
# hammer settings set --name http_proxy --value http://myproxy:3128
~~~
3. Wait for the next execution and monitor the network traffic.
Optionally, run the task manually:

~~~
foreman-rake rss:create_notifications
~~~

Actual results:
Foreman tries to go directly to the URL configured, ignoring proxy.


Expected results:
Foreman should use one of the defined proxies.

Additional info:

Comment 2 Adam Ruzicka 2022-06-03 11:05:15 UTC
Created redmine issue https://projects.theforeman.org/issues/35015 from this bug

Comment 3 Bryan Kearney 2022-06-27 16:02:40 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/35015 has been resolved.

Comment 4 Ladislav Vasina 2022-09-20 14:29:29 UTC
VERIFIED
satellite-6.12.0-3.el8sat.noarch
foreman-3.3.0.8-1.el8sat.noarch
I have followed the steps in Comment0 and while creating RSS notification and I have checked that traffic is truly going through a set proxy as it should.

Comment 8 errata-xmlrpc 2022-11-16 13:32:23 UTC
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 (Important: Satellite 6.12 Release), 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/RHSA-2022:8506

Comment 9 Edward357Johnson 2025-01-17 08:28:37 UTC Comment hidden (spam)