Project

Profile

Help

Issue #2038

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

Added by jcline@redhat.com about 5 years ago. Updated over 2 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

Associated revisions

Revision 118c8491 View on GitHub
Added by Jeremy Cline about 5 years ago

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

Revision 118c8491 View on GitHub
Added by Jeremy Cline about 5 years ago

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

History

#1 Updated by amacdona@redhat.com about 5 years ago

  • Triaged changed from No to Yes

#2 Updated by mhrivnak about 5 years ago

  • Sprint/Milestone set to 23

Adding to the sprint in consultation with @jalberts

#3 Updated by jcline@redhat.com about 5 years ago

  • Assignee set to jcline@redhat.com

#4 Updated by jcline@redhat.com about 5 years ago

  • Status changed from NEW to ASSIGNED

#6 Updated by mhrivnak about 5 years ago

  • Sprint Candidate changed from No to Yes

#7 Updated by Anonymous about 5 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

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

  • Platform Release set to 2.8.7

#9 Updated by semyers about 5 years ago

  • Status changed from MODIFIED to 5

#10 Updated by pthomas@redhat.com about 5 years ago

  • Status changed from 5 to 6

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

#11 Updated by semyers about 5 years ago

  • Status changed from 6 to CLOSED - CURRENTRELEASE

#13 Updated by bmbouter over 3 years ago

  • Sprint set to Sprint 5

#14 Updated by bmbouter over 3 years ago

  • Sprint/Milestone deleted (23)

#15 Updated by bmbouter over 2 years ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF