Hi Frank,

Great!
In spacewalk 2.8 you need to configure the rhn.conf also.
In 2.7, I only configure the yum.conf, and sync process work.
Thank you very much..


Regards,
Ananda
________________________________________
From: [email protected] [[email protected]] on 
behalf of Frank Paulick [[email protected]]
Sent: Thursday, April 26, 2018 2:56 PM
To: [email protected]
Subject: Re: [Spacewalk-list] Problem sync with spacewalk 2.8

Hi Ananda,


if you are need to use a proxy for syncing external repo's with your
spacewalk , there seems to be a problem with spacewalk 2.7/8

my workaround was to set the Variable server.satellite.http_proxy in
/etc/rhn/rhn.conf

Environment Variables like http_proxy and https_proxy seem to be
currently ignored.

Setting the proxy Variable in /etc/rhn/spacewalk-repo-sync/yum.conf
produces erros with no sense.


Regards

Frank


On 04/26/2018 07:29 AM, Ananda Arifianto wrote:
> Hi,
>
> I do fresh install spacewalk 2.8 using Centos 7.4.
> The installation was successful, but i have a problem when i do repo-sync.
> Below is my repo configuration :
>
> Repository Label*: centos7
> Repository URL*: http://centos.biz.net.id/7/os/x86_64/
> Repository Type*: yum
> SSL CA Certificate: none
> SSL Client Certificate: none
> SSL Client Key: none
>
> I do sync using command : /usr/bin/spacewalk-repo-sync --channel centos 
> --type yum
> But I got this error :
>
> [root@bdi-poc-spw2 admin]# /usr/bin/spacewalk-repo-sync --channel centos 
> --type yum
> 12:15:43 ======================================
> 12:15:43 | Channel: centos
> 12:15:43 ======================================
> 12:15:43 Sync of channel started.
> 12:15:43
> 12:15:43   Processing repository with URL: 
> http://centos.biz.net.id/7/os/x86_64/
> Repository group_spacewalkproject-java-packages is listed more than once in 
> the configuration
> 12:19:34 ERROR: failure: repodata/repomd.xml from centos7: [Errno 256] No 
> more mirrors to try.
> http://centos.biz.net.id/7/os/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - 
> "Failed connect to centos.biz.net.id:80; Connection refused"
> http://centos.biz.net.id/7/os/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - 
> "Failed connect to centos.biz.net.id:80; Connection refused"
> http://centos.biz.net.id/7/os/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - 
> "Failed connect to centos.biz.net.id:80; Connection refused"
> http://centos.biz.net.id/7/os/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - 
> "Failed connect to centos.biz.net.id:80; Connection refused"
> http://centos.biz.net.id/7/os/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - 
> "Failed connect to centos.biz.net.id:80; Connection refused"
> http://centos.biz.net.id/7/os/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - 
> "Failed connect to centos.biz.net.id:80; Connection refused"
> http://centos.biz.net.id/7/os/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - 
> "Failed connect to centos.biz.net.id:80; Connection refused"
> http://centos.biz.net.id/7/os/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - 
> "Failed connect to centos.biz.net.id:80; Connection refused"
> http://centos.biz.net.id/7/os/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - 
> "Failed connect to centos.biz.net.id:80; Connection refused"
> http://centos.biz.net.id/7/os/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - 
> "Failed connect to centos.biz.net.id:80; Connection refused"
> 12:19:34 Sync of channel completed in 0:03:51.
> 12:19:34 Total time: 0:03:51
>
> Do I miss something?
>
>
> Regards,
> Ananda
> The information in this e-mail is confidential and is transmitted strictly 
> for the addressee/s. If you receive this e-mail in error, please notify the 
> sender and delete it immediately. Copying and/or disseminating the contents 
> are prohibited. PT Bank Danamon Indonesia, Tbk. shall not be responsible for 
> the accuracy or completeness of this email and any views expressed herein do 
> not necessarily reflect the views of PT Bank Danamon Indonesia, Tbk.
>
>
> _______________________________________________
> Spacewalk-list mailing list
> [email protected]
> 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

[email protected]
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.
The information in this e-mail is confidential and is transmitted strictly for 
the addressee/s. If you receive this e-mail in error, please notify the sender 
and delete it immediately. Copying and/or disseminating the contents are 
prohibited. PT Bank Danamon Indonesia, Tbk. shall not be responsible for the 
accuracy or completeness of this email and any views expressed herein do not 
necessarily reflect the views of PT Bank Danamon Indonesia, Tbk.


_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to