Bug 1820193 - Deleted Global Http Proxy is still being used during repository sync.
Summary: Deleted Global Http Proxy is still being used during repository sync.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Repositories
Version: 6.7.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: 6.8.0
Assignee: satellite6-bugs
QA Contact: Jameer Pathan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-04-02 13:46 UTC by Jameer Pathan
Modified: 2020-10-27 13:01 UTC (History)
2 users (show)

Fixed In Version: tfm-rubygem-katello-3.16.0-0.14.rc3.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-27 13:01:14 UTC
Target Upstream Version:
Embargoed:
jjeffers: needinfo-


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 30100 0 Normal Closed Deleting global default HTTP proxy does not reset repositories or settings using the global default HTTP proxy 2021-02-04 12:08:07 UTC
Red Hat Product Errata RHSA-2020:4366 0 None None None 2020-10-27 13:01:57 UTC

Description Jameer Pathan 2020-04-02 13:46:38 UTC
Description of problem:
Deleted Global Http Proxy is still being used during repository sync.

Version-Release number of selected component (if applicable):
- Satellite 6.7.0 snap 17

How reproducible:
Always

Steps to Reproduce:
1. Create Http Proxy (Go to Infrastructure > Http Proxies > New Http Proxy)
2. Set the created proxy as Default Http Proxy( Go to Administer > content > Default HTTP Proxy)
3. Create repository with Global Default Http Proxy.
4. Delete the Http Proxy

Actual results:
- Repository details page still shows the deleted global default Http Proxy.
- Default Http Proxy field on settings page is Empty.
- While creating new proxy, it still shows old deleted Http proxy as Global Default proxy.

Expected results:
- Repository details page shouldn't shows the deleted global default Http Proxy.
- Default Http Proxy field on settings page should be set to no global defult.
- While creating new proxy, it shouldn't shows old deleted Http proxy as Global Default proxy.


Additional info:
- Workaround for this issue:
Edit Default Http proxy field in settings, assign a Http proxy or set it as no global default.

Comment 4 James Jeffers 2020-06-15 11:50:56 UTC
Connecting redmine issue https://projects.theforeman.org/issues/30100 from this bug

Comment 5 Bryan Kearney 2020-06-19 16:02:33 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/30100 has been resolved.

Comment 9 James Jeffers 2020-07-20 13:44:03 UTC
I believe the decision to default to "Global Default (none)" instead of "no proxy" was made because creating a new repository also uses the default value of "use the global proxy" even when there is no global HTTP Proxy set.

In that case, the upstream description is incorrect/misleading, and I apologize for the confusion.

I'm still going to check with Justin and see if thinks this is still the best option.

Comment 11 James Jeffers 2020-07-21 14:23:27 UTC
Jameer,

Justin is out today, I won't be able to query him. I would say, go ahead and mark as verified. I will bring up your observation to the team, and we'll likely add a tracker for discussion about it on our backlog.

Thanks!

Comment 12 Bryan Kearney 2020-07-21 16:02:47 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/30100 has been resolved.

Comment 14 Jameer Pathan 2020-07-22 11:57:38 UTC
Verified:

Verified with:
- Satellite 6.8.0 snap 9

Test steps:
1. Create Http Proxy (Go to Infrastructure > Http Proxies > New Http Proxy)
2. Set the created proxy as Default Http Proxy( Go to Administer > content > Default HTTP Proxy)
3. Create repository with Global Default Http Proxy.
4. Delete the Http Proxy

Observation:
- after deleting global Http proxy, the global default setting value changes to "no global default" and
 repositories those were set to use the global default http proxy reset to "Global Default (None)"

Comment 17 errata-xmlrpc 2020-10-27 13:01:14 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.