[Spacewalk-list] Registered CentOS client still pulling updates from mirrors?

Mike Hanby mhanby at uab.edu
Tue Sep 14 18:34:56 UTC 2010


A few thoughts,

1. make sure that "plugins=1" is set in /etc/yum.conf so that yum will use the rhn plugin
2. make sure under [main] in /etc/yum/plugins.d/rhnplugin.conf is set to "enabled = 1"
3. do a "yum clean all"

Now try it and see if anything changes.

Mike

-----Original Message-----
From: spacewalk-list-bounces at redhat.com [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Norman P. B. Joseph
Sent: Tuesday, September 14, 2010 12:54 PM
To: spacewalk-list at redhat.com
Subject: [Spacewalk-list] Registered CentOS client still pulling updates from mirrors?

Hello list.  I'm experimenting with Spacewalk to see how it may be
useful in managing our Linux environment, and have run into my first
puzzler.

Newly-installed/configured Spacewalk 1.1 server running under CentOS
5.5, following instructions on the Spacewalk Wiki[1] and the CentOS
Spacewalk HowTo[2].  I've created & populated 32 & 64-bit CentOS 5
parent channels as well as Updates, EPEL and Spacewalk Client child
channels for each.

I have a CentOS 5 host set to be my test Spacewalk client, registered it
to the Spacewalk server, and have it subscribed to the base channel
through the server web console.  Through the server web console I see it
recognizes a number of updated packages available.  Cool.

I went through the repos in /etc/yum.repos.d and disabled every one
represented by the base and child channel subscriptions.  When I run
"yum check-update" on the client I see the same packages available as
were listed by the Spacewalk server.

Yet, when I run the "yum update" I see (via tcpdump) that my client is
not talking the my Spacewalk server at all, but querying the regular
CentOS mirrors.  I've obviously overlooked something simple, but I've
gone over and over all the installation steps and I keep coming up
empty.  I'm hoping someone here will easily be able to spot the
embarrassing oversight I must have made.  Thanks,

-Norm



[1] https://fedorahosted.org/spacewalk/wiki/UserDocs
[2] http://wiki.centos.org/HowTos/PackageManagement/Spacewalk

-- 
Norman Joseph, Senior System Engineer              joseph at ctc.com
Concurrent Technologies Corporation                 814.269.2633
Information Systems Management Office (ISMO)



------------------------------------------------------------
This message and any files transmitted within are intended
solely for the addressee or its representative and may
contain company sensitive information.  If you are not the
intended recipient, notify the sender immediately and delete
this message.  Publication, reproduction, forwarding, or 
content disclosure is prohibited without the consent of the
original sender and may be unlawful.

Concurrent Technologies Corporation and its Affiliates.
www.ctc.com  1-800-282-4392
------------------------------------------------------------

_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list




More information about the Spacewalk-list mailing list