Project

Profile

Help

Issue #2038

closed

The nectar config pulp_streamer gets doesn't seem to include plugin-level settings

Added by jcline@redhat.com almost 8 years ago. Updated about 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
High
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
3. High
Version:
Platform Release:
2.8.7
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
Yes
Tags:
Pulp 2
Sprint:
Sprint 5
Quarter:

Description

pulp_streamer gets its nectar config (which ultimately is mapped to a requests config) from the platform. However, the platform does not appear to load the plugin-level configuration from /etc/pulp/server/plugins.conf.d/ and thus any configuration applied there won't get used when performing requests.

All of the above is pure conjecture based on the downstream bug and my chat with the reporter in freenode.

A good way to confirm this would be to:

1. Set up a proxy and make sure traffic goes through that proxy
2. Configure Pulp to use the proxy in the plugin configuration
3. Perform an on-demand sync
4. Try to download an RPM

Actions #1

Updated by amacdona@redhat.com almost 8 years ago

  • Triaged changed from No to Yes
Actions #2

Updated by mhrivnak almost 8 years ago

  • Sprint/Milestone set to 23

Adding to the sprint in consultation with @jalberts

Actions #3

Updated by jcline@redhat.com almost 8 years ago

  • Assignee set to jcline@redhat.com
Actions #4

Updated by jcline@redhat.com almost 8 years ago

  • Status changed from NEW to ASSIGNED

Added by Jeremy Cline almost 8 years ago

Revision 118c8491 | View on GitHub

The pulp_streamer now uses the plugin-wide proxy config

An importer has a configuration file in /etc/pulp/server/plugins.conf.d/ that can, among other things, configure the proxy used for the plugin. Previously, the streamer was only using the importer configuration that is present on the Importer module.

Although the most sensible thing to do is have the importer configuration available on the Importer model object, this would require a great deal of cleanup since importer/distributor models and configuration are a mess of old and new, with the configuration spread all over the place. This should be cleaned up as part plugin API work we do for Pulp.

closes #2038

Added by Jeremy Cline almost 8 years ago

Revision 118c8491 | View on GitHub

The pulp_streamer now uses the plugin-wide proxy config

An importer has a configuration file in /etc/pulp/server/plugins.conf.d/ that can, among other things, configure the proxy used for the plugin. Previously, the streamer was only using the importer configuration that is present on the Importer module.

Although the most sensible thing to do is have the importer configuration available on the Importer model object, this would require a great deal of cleanup since importer/distributor models and configuration are a mess of old and new, with the configuration spread all over the place. This should be cleaned up as part plugin API work we do for Pulp.

closes #2038

Actions #6

Updated by mhrivnak almost 8 years ago

  • Sprint Candidate changed from No to Yes
Actions #7

Updated by Anonymous almost 8 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100
Actions #8

Updated by jcline@redhat.com almost 8 years ago

  • Platform Release set to 2.8.7
Actions #9

Updated by semyers over 7 years ago

  • Status changed from MODIFIED to 5
Actions #10

Updated by pthomas@redhat.com over 7 years ago

  • Status changed from 5 to 6

verified
tested with authenticated proxy for repo sync with on_demand and regular.

Actions #11

Updated by semyers over 7 years ago

  • Status changed from 6 to CLOSED - CURRENTRELEASE
Actions #13

Updated by bmbouter about 6 years ago

  • Sprint set to Sprint 5
Actions #14

Updated by bmbouter about 6 years ago

  • Sprint/Milestone deleted (23)
Actions #15

Updated by bmbouter about 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF