[Spacewalk-list] Problem with spacewalk-repo-sync and proxy

Christoph Galuschka tigalch at tigalch.org
Mon Apr 23 14:19:44 UTC 2018


Hi,
> Frank Paulick <Frank.Paulick at baaderbank.de> hat am 23. April 2018 um 16:11 geschrieben:
> 
> 
> Hi,
> 
> 
> last week i updated our spacewalk server to 2.7
> 
> since this update spacewalk-repo-sync ignores http_proxy and https_proxy 
> variables.
> 
> with "export URLGRABBER_DEBUG=DEBUG" i can see there are no entries in 
> proxies variable.
> 
> proxy settings in /etc/rhn/spacewalk-repo-sync/yum.conf seem to be false 
> interpreted.
> 
> setting the proxy variable to "proxy=http://proxy.domain:port" results in:
> 
> 
> exception: [Errno 14] PYCURL ERROR 5 - "Couldn't resolve proxy 'http'"
> 
> 
> setting the proxy variable to "proxy=proxy.domain:port" results in:
> 
> 
> Error parsing "proxy = 'proxy.baag:8080'": URL must be http, ftp or 
> https not "proxy.domain"
> 
> only setting the variable "server.satellite.http_proxy" in 
> /etc/rhn/rhn.conf let the spacewalk sync the packages.
> 
> spacewalk-repo-sync is installed with package 
> spacewalk-backend-tools-2.7.139-1.el6.noarch
> 
> 
> anyone got an idea what could be wrong ?
this is - iirc - a bug in 2.7. bug #1496828 on RHs bugzilla holds a workaround. At least from the bug report it does not look like it is fixed in 2.8

all the best
--
Christoph Galuschka
CentOS-QA member | IRC: tigalch




More information about the Spacewalk-list mailing list