Bug 671468 - Add proxy configuration information to pulp's config for grinder usage
Summary: Add proxy configuration information to pulp's config for grinder usage
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: z_other
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: Sprint 20
Assignee: Pradeep Kilambi
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks: verified-to-close
TreeView+ depends on / blocked
 
Reported: 2011-01-21 15:38 UTC by John Matthews
Modified: 2011-08-16 12:20 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-08-16 12:06:45 UTC
Embargoed:


Attachments (Terms of Use)

Description John Matthews 2011-01-21 15:38:43 UTC
Description of problem:

Assuming that pulp is behind a proxy, we need to allow proxy information to be specified so grinder is able to download packages.

Possibly something like below in pulp.conf

[yum]
# using less than 5 threads can cause issues with progress feed back
threads: 15
# True/False to flag if we should remove older rpms
remove_old_packages: false
# Integer to specify how many old packages to keep.
# Only used if 'removeold' is set to True
num_old_pkgs_keep: 2
proxy_url: http://example.com
proxy_port: 8080
proxy_user: user1
proxy_pass: password1

Comment 1 John Matthews 2011-01-28 12:12:34 UTC
Pradeep applied a patch from Christian Maspust which addresses this issue.
Commit is below:
http://git.fedorahosted.org/git/?p=pulp.git;a=commitdiff;h=23b038905e46ec8357543c4ff47b726869f4bdbb

"Proxy support: Made some improvements and applying the patch contributed by Christian Maspust<christian.masopust>"

Comment 2 Jay Dobies 2011-02-02 20:07:10 UTC
Fixed in 0.134.

Comment 3 Preethi Thomas 2011-02-08 15:27:33 UTC
verified

this has been added to the pulp.conf


[yum]
# using less than 5 threads can cause issues with progress feed back
threads: 15
# True/False to flag if we should remove older rpms
remove_old_packages: false
# Integer to specify how many old packages to keep.
# Only used if 'removeold' is set to True
num_old_pkgs_keep: 2
# Uncomment the below section with appropriate values for proxy configuration
# proxy_url:
# proxy_port:
# proxy_user:
# proxy_pass:

Comment 4 Preethi Thomas 2011-05-27 13:19:19 UTC
verified
[root@preethi ~]# rpm -q pulp
pulp-0.0.181-1.fc14.noarch


[yum]
threads: 15
# True/False to flag if we should remove older rpms
remove_old_packages: false
# Integer to specify how many old packages to keep.
# Only used if 'removeold' is set to True
num_old_pkgs_keep: 2
# Uncomment below to set a bandwidth limit in KB/sec for downloading
# 0 represents unlimited
# limit_in_KB: 500 
# Uncomment the below section with appropriate values for proxy configuration
# proxy_url:
# proxy_port:
# proxy_user:
# proxy_pass:

Comment 5 Preethi Thomas 2011-08-16 12:06:45 UTC
Closing with Community Release 15

pulp-0.0.223-4.

Comment 6 Preethi Thomas 2011-08-16 12:20:43 UTC
Closing with Community Release 15

pulp-0.0.223-4.


Note You need to log in before you can comment on or make changes to this bug.