[Spacewalk-list] spacewalk cobbler issue

Jeremy Mueller jmueller at data-tronics.com
Thu Feb 25 22:59:13 UTC 2010


We had the same problem with a proxy and the CentOS mirrors.  At the
beginning of our %post section we put in this sed statement:

 

sed -i 's/^\[\([^]]*\)\]/[\1]\nenabled=0/g' /etc/yum.repos.d/CentOS-*

 

Good luck,

 

Jeremy

 

From: spacewalk-list-bounces at redhat.com
[mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Johnny Mirza
Sent: Thursday, February 25, 2010 3:46 PM
To: watts at jayhawks.net; spacewalk-list at redhat.com
Subject: Re: [Spacewalk-list] spacewalk cobbler issue

 

Thanks Jeffrey, I didn't' think to look there.

 

But I think I found the issue and I am hoping someone has a simple
solution.

It looks like the 10 min delay at the post section is because yum is
trying to access the Centos default mirrors (created in the
/etc/yum.repos.d/* directory as part of yum). Access will not be allowed
because the server is behind a proxy.

 

Determining fastest mirrors

Could not retrieve mirrorlist
http://mirrorlist.centos.org/?release=5&arch=x86_64&repo=addons error
was

[Errno 4] IOError: <urlopen error (110, 'Connection timed out')>

Loaded plugins: fastestmirror, kmod, rhnplugin

Loading mirror speeds from cached hostfile

Could not retrieve mirrorlist
http://mirrorlist.centos.org/?release=5&arch=x86_64&repo=addons error
was

[Errno 4] IOError: <urlopen error (110, 'Connection timed out')>

 

Do you have any idea how to disable this?

 

thanks

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20100225/01591dda/attachment.htm>


More information about the Spacewalk-list mailing list