| Summary: | katello-disconnected does not function behind a http proxy | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Mike McCune <mmccune> | ||||||
| Component: | Content Management | Assignee: | Mike McCune <mmccune> | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Corey Welton <cwelton> | ||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 6.0.3 | CC: | bkearney, cpatters, cphoffma, cwelton, jmontleo, omaciel, vmarceloe | ||||||
| Target Milestone: | Unspecified | Keywords: | Triaged | ||||||
| Target Release: | Unused | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| URL: | http://projects.theforeman.org/issues/7252 | ||||||||
| Whiteboard: | |||||||||
| 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.
|
Story Points: | --- | ||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2014-09-11 12:22:03 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Attachments: |
|
||||||||
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. Additional option that needs http proxy support: import Created attachment 844685 [details]
/usr/bin/katello-disconnected proposed patch
Created attachment 844686 [details]
/usr/share/katello-disconnected/lib/manifest_reader.rb proposed patch
Possibly related: https://bugzilla.redhat.com/show_bug.cgi?id=1025890 It might be only one proxy auth method. The patch provided by cphoffma work as expected. Created redmine issue http://projects.theforeman.org/issues/7252 from this bug TO: cphoffma vmarceloe Thanks for the patches and testing! Used them to get proxy support in katello-disconnected 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 This was delivered with Satellite 6.0 which was released on 10 September 2014. 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? |
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