[Spacewalk-list] rhn_check fails
Jan Hutař
jhutar at redhat.com
Wed Feb 24 07:15:50 UTC 2016
On 2016-02-23 22:45 -0800, Emmett Hogan wrote:
> Forgive me if this is a silly question, but I finally got a bare metal
> system to build from my Spacewalk server and wanted to push some extra
> packages to it. The request queued up like it should, then eventually
> failed with a python error. In doing some digging, it was trying to
> resolve [1]mirrorlist.centos.org. I don't understand why it would be
> trying to go back to centos for the packages....I thought that it would
> go to my Spacewalk server for all it's updates.
> I even tried running:
> # rhn_check
> Could not retrieve mirrorlist
> [2]http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=st
> ock error was
> 14: curl#6 - "Could not resolve host: [3]mirrorlist.centos.org; Unknown
> error"
> I checked /etc/sysconfig/rhn/up2date and it references my spacewalk
> host:
> serverURL=[4]https://192.168.67.5/XMLRPC
> I know I've apparently screwed up something, somewhere, but I cannot
> seem to find the answer anywhere.
> Any help would be greatly appreciated.
> -Emmett
>
>References
>
> 1. http://mirrorlist.centos.org/
> 2. http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock
> 3. http://mirrorlist.centos.org/
> 4. https://192.168.67.5/XMLRPC
Hello,
to view the actual traceback:
# less /var/log/up2date
And if you see client trying to reach mirrorlist.centos.org, check
if you did not left some repos behind on the client:
# yum repolist
# cat /etc/yum.repos.d/*.repo
Regards,
Jan
--
Jan Hutar Systems Management QA
jhutar at redhat.com Red Hat, Inc.
More information about the Spacewalk-list
mailing list