You might look at your /etc/yum/pluginconf.d/rhnplugin.conf and verify that the 
repo(s) are actually enabled.  I ran into a couple of clients recently where 
someone had disabled the primary channel in the rhnplugin.

Cheers,
Robert

From: spacewalk-list-boun...@redhat.com 
[mailto:spacewalk-list-boun...@redhat.com] On Behalf Of Jacek
Sent: Tuesday, June 25, 2013 10:40 AM
To: spacewalk-list@redhat.com
Subject: [Spacewalk-list] Clients don't see packages after re-registration


Hello,


I've just reinstalled Spacewalk on different machine.

It was 1.5 now it is 1.9.



I created couple of channels and repos.

After that I created Activation Keys to these channels.



For example one of this Channels is:

server-5-x86_64

repo:

5Server-x86_64

and key:

1-5-server-x86_64 that is connected to base channel server-5-x86_64



After that I installed mrepo, generated system id for all repos.

Configuration for mentioned above repo from mrepo.conf



[main]
srcdir = /mrepo
wwwdir = /var/www/mrepo
confdir = /etc/mrepo.conf.d
shareiso = yes
rhnlogin = user:pass
hardlink = yes
hardlinkpluscmd = /usr/bin/hardlink++ 2>/dev/null
plugins = 1
logfile = /var/log/mrepo.log

[5Server]
name = Red Hat Enterprise Linux $release Server ($arch)
release = 5
arch = i386 x86_64
iso = rhel-server-5.9-$arch-dvd.iso
metadata = repomd yum
updates = rhns:///rhel-$arch-server-$release

------------



Then I executed mrepo -ugvvv

After that sync to spacewalk channels.

Everything was fine. I can see packages in channels os spacewalk webpage.



Lastly I hat to reregister machines to Spacewalk.



So:



rpm -Uvh http://spacewalker/pub/rhn-org-trusted-ssl-cert-1.0-1.noarch.rpm 
--force

and

rhnreg_ks --force --activationkey=1-5-server-x86_64



After that I can see registered machine on spacewalk webpage.

I can see, that it has 42 package updates.

But...



On that machine:



[root@systemX ~]# yum update
Loaded plugins: rhnplugin, security
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Update Process
No Packages marked for Update



[root@www-live01 ~]# yum repolist
Loaded plugins: rhnplugin, security
This system is receiving updates from RHN Classic or RHN Satellite.
repo id                                                              repo name  
                                                           status
server-5-x86_64                                                      
server-5-x86_64                                                       0
repolist: 0



I've tried to remove this machine and reregister.

I didn't made any change.

It was working on previous instance of Spacewalk.



What is wrong? Did I missed something?

Do you have any suggestions?



Regards,

Jacek

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

Reply via email to