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

Frank Paulick Frank.Paulick at baaderbank.de
Tue Apr 24 07:15:33 UTC 2018


Hi Christoph,


the bugreport looks similiar but isn't the same.

configuring the proxy in rhn.conf works for me.

only environment variables and yum.conf are ignored.

spacewalk-repo-sync already fails at downloading the repomd.xml


does anyone here have a spacewalk 2.7 behind a proxy running ?

and could try to sync a repo ?


Regards

Frank


On 04/23/2018 04:19 PM, Christoph Galuschka wrote:
> 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
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list

-- 
Mit freundlichen Grüßen

Frank Paulick
IT Infrastruktur
_________________________________

Baader Bank AG
Weihenstephaner Straße 4
85716 Unterschleißheim, Deutschland
  
T +49 89 5150 1522
F +49 89 5150 2421

Frank.Paulick at baaderbank.de
http://www.baaderbank.de
_________________________________

Baader Bank Aktiengesellschaft • Vorstand: Nico Baader (Vors.), Dieter Brichmann (stv. Vors.), Christian Bacherl, Oliver Riedel
Vorsitzender des Aufsichtsrates: Dr. Horst Schiessl
Amtsgericht München HRB 121537 • Sitz der Gesellschaft: Unterschleißheim • StNr. 143/100/10066 • USt-IdNr. DE114123893
_____________________________________________________________________________________________________

Diese E-Mail enthält möglicherweise vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat dieser E-Mail sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie uns bitte unverzüglich und löschen Sie diese E-Mail. Das unerlaubte Vervielfältigen oder Weiterleiten dieser E-Mail ist strikt untersagt.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5490 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20180424/9ea8b966/attachment.p7s>


More information about the Spacewalk-list mailing list