Bug 1040112 - katello-disconnected does not function behind a http proxy
Summary: katello-disconnected does not function behind a http proxy
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Management
Version: 6.0.3
Hardware: Unspecified
OS: Unspecified
unspecified
high vote
Target Milestone: Unspecified
Assignee: Mike McCune
QA Contact: Corey Welton
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-10 18:33 UTC by Mike McCune
Modified: 2019-09-25 20:46 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Release Note
Doc Text:
Disconnected users will not be able to access the CDN via a proxy. They will need to use a direct internet connection.
Clone Of:
Environment:
Last Closed: 2014-09-11 12:22:03 UTC
Target Upstream Version:


Attachments (Terms of Use)
/usr/bin/katello-disconnected proposed patch (1.31 KB, patch)
2014-01-02 19:34 UTC, cphoffma
no flags Details | Diff
/usr/share/katello-disconnected/lib/manifest_reader.rb proposed patch (1.54 KB, patch)
2014-01-02 19:35 UTC, cphoffma
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 7252 0 None None None 2016-04-22 15:14:38 UTC

Description Mike McCune 2013-12-10 18:33:49 UTC
There are various places in the katello-disconnected codebase that do not properly include configuration options to support running behind an http proxy.

This means that anyone using katello-disconnected to sync and setup content will not be able to utilize the tool until this bug is resolved.

We need the following:

1) Configuration options for the 'katello-disconnected setup' command.  It will need:

# katello-disconnected setup --help
Usage: setup [--option VALUE]
        --host PULP_HOSTNAME         Pulp host (default "localhost")
        ...
      --proxy-url=PROXY_URL
      --proxy-port=PROXY_PORT
      --proxy-user=PROXY_USER
           HTTP Proxy user (proxy username, if auth is required)
      --proxy-pass=PROXY_PASS
           HTTP Proxy pass (proxy password, if auth is required)

2) Update any network access calls to pass in the configuration options

Comment 1 RHEL Program Management 2013-12-10 18:35:06 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 3 cphoffma 2013-12-11 14:18:35 UTC
Additional option that needs http proxy support: import

Comment 4 cphoffma 2014-01-02 19:34:39 UTC
Created attachment 844685 [details]
/usr/bin/katello-disconnected proposed patch

Comment 5 cphoffma 2014-01-02 19:35:46 UTC
Created attachment 844686 [details]
/usr/share/katello-disconnected/lib/manifest_reader.rb proposed patch

Comment 7 Corey Welton 2014-06-16 18:34:06 UTC
Possibly related: https://bugzilla.redhat.com/show_bug.cgi?id=1025890

It might be only one proxy auth method.

Comment 8 vmarceloe 2014-07-24 17:25:16 UTC
The patch provided by cphoffma work as expected.

Comment 9 Partha Aji 2014-08-25 18:00:27 UTC
Created redmine issue http://projects.theforeman.org/issues/7252 from this bug

Comment 12 Mike McCune 2014-09-03 01:32:39 UTC
TO: cphoffma
 vmarceloe 

Thanks for the patches and testing!  Used them to get proxy support in katello-disconnected

Comment 13 Corey Welton 2014-09-03 02:19:52 UTC
Provisionally verifying this issue/feature.  A variety of other validation errors have cropped up in testing this.  A general docs request and a list of other issues found while testing this feature can be found at 

https://bugzilla.redhat.com/show_bug.cgi?id=1136601

Please note: This list is possibly non-exhaustive, as other issues may be found. 

In short: the core functionality now exists, but there are a few caveats along the way.

Marking this verified, but this feature may need some considerable cleanup later on.

Tested against Satellite-6.0.4-RHEL-6-20140829.0

Comment 14 Bryan Kearney 2014-09-11 12:22:03 UTC
This was delivered with Satellite 6.0 which was released on 10 September 2014.

Comment 15 cpatters 2015-09-02 22:44:42 UTC
I attempted to include the flags in the katello-disconnected setup 

# katello-disconnected setup --proxy-url=proxy.example.com --proxy-port=8080      

I received the following error: 
invalid option: --proxy-url.

I am using Satellite 6.1.1 with Katello 2.2.0.15-1 on RHEL 7

Has this since been removed from Katello?


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