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.
Connecting redmine issue https://projects.theforeman.org/issues/30100 from this bug
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/30100 has been resolved.
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.
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!
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)"
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