Bug #18484

Katello is not able to sync OSTree contents using proxy

Added by Thomas McKay 3 months ago. Updated 3 months ago.

Status:Closed
Priority:High
Assigned To:Partha Aji
Category:Installer
Target version:Team Tom - iteration 11
Difficulty: Pull request:https://github.com/Katello/puppet-pulp/pull/194
Bugzilla link:1366134
Story points-
Velocity based estimate-
Release3.4.0Release relationshipAuto

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1366134

Description of problem:

Issue came up during testing.

Satellite already has proxy set in /etc/pulp/server/plugins.conf.d/yum_importer.json etc. Everything else works perfectly fine

problem appears when we try to sync atomic host tree contents

Our documentation does not discuss the possibility of the proxy
https://access.redhat.com/documentation/en/red-hat-satellite/6.2/paged/content-management-guide/chapter-11-managing-ostree-content

Command provided is
satellite-installer --katello-enable-ostree=true

We end up having a blank "ostree_distributor.json" and "ostree_importer.json" . Ostree sync request does not got via the proxy

I tried to execute the command with the proxy information in it

satellite-installer --katello-enable-ostree=true --katello-proxy-url http://10.65.228.7 --katello-proxy-port 3128

It still does not update the file "ostree_distributor.json" and "ostree_importer.json"

Workaround

1. cd /etc/pulp/server/plugins.conf.d/
2. cp yum_importer.json ostree_importer.json
3. katello-service restart

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

How reproducible:
Always

Steps to Reproduce:
1. Configure Satellite to use a proxy (Server should not have direct internet connection)
2. Configure Satellite to enable OSTree(satellite-installer --katello-enable-ostree=true)
3. Try to sync the contents and verify whether the request are going via the proxy

Actual results:

OStree sync fails as the request goes directly to the internet instead of via the proxy

Expected results:
Satellite should be able to sync via the proxy details. Fetch the details from the command line or import it from other *importer file

Additional info:

History

#1 Updated by Partha Aji 3 months ago

  • Subject changed from Satellite 6.2 is not able to sync OSTree contents using proxy to Satellite 6.2 is not able to sync OSTree contents using proxy
  • Category changed from 91 to Installer
  • Assigned To set to Partha Aji
  • Target version set to Team Tom - iteration 11

#2 Updated by Partha Aji 3 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/puppet-pulp/pull/194 added

#3 Updated by Partha Aji 3 months ago

  • Status changed from Ready For Testing to Closed

#4 Updated by Eric Helms 3 months ago

  • Subject changed from Satellite 6.2 is not able to sync OSTree contents using proxy to Katello is not able to sync OSTree contents using proxy
  • Release set to 3.4.0

Also available in: Atom PDF