Bug 1874422 - Hits Sync uses only old proxy setting
Summary: Hits Sync uses only old proxy setting
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: RH Cloud - Inventory
Version: 6.8.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: 6.8.0
Assignee: Shimon Shtein
QA Contact: Mirek Długosz
URL:
Whiteboard:
: 1874417 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-09-01 10:26 UTC by Mirek Długosz
Modified: 2020-10-27 13:08 UTC (History)
3 users (show)

Fixed In Version: tfm-rubygem-foreman_rh_cloud-2.0.12
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1884006 (view as bug list)
Environment:
Last Closed: 2020-10-27 13:06:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:4366 0 None None None 2020-10-27 13:08:13 UTC

Description Mirek Długosz 2020-09-01 10:26:31 UTC
Inventory upload uses new proxy setting (Settings -> Content -> Default HTTP Proxy) by default; if it's not present, it will fall back to old setting (Settings -> General -> HTTP(S) proxy).

Insights hits sync (Configure -> Insights) uses only old setting. New proxy setting is ignored.

All network-related functionality in plugin should use the same algorithm for picking proxy - try new setting by default, and fall back to old if it's not present.


Found on:
pulp-server-2.21.2-1.el7sat.noarch
foreman-2.1.2.1-1.el7sat.noarch
katello-3.16.0-0.4.rc4.el7sat.noarch
satellite-6.8.0-1.el7sat.noarch
tfm-rubygem-foreman_rh_cloud-2.0.10-1.el7sat.noarch

Comment 1 Mirek Długosz 2020-09-01 15:01:11 UTC
Same problem in "Sync inventory status" (Configure -> Inventory upload). It only uses old setting, new proxy setting is ignored by this action.

Comment 2 Brad Buckingham 2020-09-03 12:37:26 UTC
*** Bug 1874417 has been marked as a duplicate of this bug. ***

Comment 3 Mirek Długosz 2020-10-02 12:38:21 UTC
All network-related operations (Inventory upload, Hits sync and Inventory status sync) try to use new proxy setting first (Settings -> Content -> Default HTTP Proxy). If it is not set, old setting will be used as fallback (Settings -> General -> HTTP(S) proxy). If that is not set either, proxy will not be used.


Tested on:
Satellite 6.8 snap 17
satellite-6.8.0-1.el7sat.noarch
katello-3.16.0-1.el7sat.noarch
foreman-2.1.2.17-1.el7sat.noarch
pulp-server-2.21.3-1.el7sat.noarch
tfm-rubygem-foreman_rh_cloud-2.0.12-1.el7sat.noarch

Comment 6 errata-xmlrpc 2020-10-27 13:06:41 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.8 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-2020:4366


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