Issue #2111
closedpulp streamer keep proxy for all repos
Description
after clients downloads rpms from a repository which has "on demand" download policy and also has "proxy" settings, all downloads from other repositories that don't have any proxy setting also go through proxy server until restarting pulp_streamer service!!
Updated by amacdona@redhat.com over 8 years ago
- Priority changed from Normal to High
- Severity changed from 2. Medium to 1. Low
- Triaged changed from No to Yes
Updated by jcline@redhat.com over 8 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to jcline@redhat.com
Updated by jcline@redhat.com over 8 years ago
Updated by jcline@redhat.com over 8 years ago
- Status changed from ASSIGNED to POST
Added by Jeremy Cline over 8 years ago
Updated by Anonymous over 8 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset nectar:4fe7327c4ad1bb2f8c040b75d80306ee047de615.
Updated by jcline@redhat.com over 8 years ago
- Project changed from Pulp to Nectar
Updated by jcline@redhat.com over 8 years ago
I can't find how to add a new target release, but I think the next release could be 1.5.3. I did add a new public method to the HTTPThreadedDownloader, but the behavior should be the same (sans bug).
Updated by jcline@redhat.com over 8 years ago
- Target Release - Nectar set to 1.5.3
Updated by semyers about 8 years ago
External deps need to be updated to include this in a future pulp release.
Added by ipanova@redhat.com about 8 years ago
Revision 5e979c7a | View on GitHub
Update python-nectar external_deps.
Updated by jcline@redhat.com about 8 years ago
Ina kindly took care of adding the new build to the deps yesterday, I've associated the commit
Updated by semyers about 8 years ago
- Status changed from 5 to CLOSED - CURRENTRELEASE
Change how Nectar configures requests to be thread-safe
Previously, Nectar set the configuration at a session level. This didn't cause problems because Nectar is only ever used to download with one set of settings. However, the pulp_streamer has to change the configuration on a request-by-request basis and it needs to use a session to pool connections. This leads to trouble when attempting to update the configuration since Nectar changes it for all requests rather than a specific one.
This patch instead adds a method to translate a Nectar configuration to a set of requests kwargs that work with the
requests.request
API. This allows the streamer to stash its session instance between instances of a Nectar HTTPThreadedDownloader without corruption.fixes #2111