Bug 690221

Summary: Proxy configuration doesn't take effect
Product: [Retired] Pulp Reporter: Stefan Kirrmann <stefan.kirrmann>
Component: user-experienceAssignee: Pradeep Kilambi <pkilambi>
Status: CLOSED CURRENTRELEASE QA Contact: Preethi Thomas <pthomas>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: skarmark
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-21 13:19:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Patch for repo_sync.py none

Description Stefan Kirrmann 2011-03-23 16:08:42 UTC
Created attachment 487083 [details]
Patch for repo_sync.py

Description of problem:
Pulp proxy configuration doesn't take effect.


Version-Release number of selected component (if applicable):
pulp-0.0.151-1.fc14 up to version 156

How reproducible:
Fresh install, configure proxy settings and try to sync.

Steps to Reproduce:
1. Configure settings in /etc/pulp/pulp.conf for proxy usage
2. Start sync
  
Actual results:
Sync fails, because grinder isn't able to download repository metadata.

Expected results:
Sync works by using configured proxy.

Additional info:
Seems like the code in repo_sync.py isn't setting the proxy variables for grinder correctly. I guess it's a variable scope bug.
Attaching patch for possible solution that worked for my installation.

Comment 1 Sayli Karmarkar 2011-07-15 21:53:39 UTC
Verified by prad today morning.