<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>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.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Cheers,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Robert<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> spacewalk-list-bounces@redhat.com [mailto:spacewalk-list-bounces@redhat.com] <b>On Behalf Of </b>Jacek<br><b>Sent:</b> Tuesday, June 25, 2013 10:40 AM<br><b>To:</b> spacewalk-list@redhat.com<br><b>Subject:</b> [Spacewalk-list] Clients don't see packages after re-registration<o:p></o:p></span></p></div><p class=MsoNormal><o:p> </o:p></p><p style='margin-bottom:12.0pt'>Hello,<br><br><o:p></o:p></p><p>I've just reinstalled Spacewalk on different machine.<o:p></o:p></p><p>It was 1.5 now it is 1.9.<o:p></o:p></p><p> <o:p></o:p></p><p>I created couple of channels and repos.<o:p></o:p></p><p>After that I created Activation Keys to these channels.<o:p></o:p></p><p> <o:p></o:p></p><p>For example one of this Channels is:<o:p></o:p></p><p>server-5-x86_64<o:p></o:p></p><p>repo:<o:p></o:p></p><p>5Server-x86_64<o:p></o:p></p><p>and key:<o:p></o:p></p><p>1-5-server-x86_64 that is connected to base channel server-5-x86_64<o:p></o:p></p><p> <o:p></o:p></p><p>After that I installed mrepo, generated system id for all repos.<o:p></o:p></p><p>Configuration for mentioned above repo from mrepo.conf<o:p></o:p></p><p> <o:p></o:p></p><p>[main]<br>srcdir = /mrepo<br>wwwdir = /var/www/mrepo<br>confdir = /etc/mrepo.conf.d<br>shareiso = yes<br>rhnlogin = user:pass<br>hardlink = yes<br>hardlinkpluscmd = /usr/bin/hardlink++ 2>/dev/null<br>plugins = 1<br>logfile = /var/log/mrepo.log<br><br>[5Server]<br>name = Red Hat Enterprise Linux $release Server ($arch)<br>release = 5<br>arch = i386 x86_64<br>iso = rhel-server-5.9-$arch-dvd.iso<br>metadata = repomd yum<br>updates = rhns:///rhel-$arch-server-$release<o:p></o:p></p><p>------------<o:p></o:p></p><p> <o:p></o:p></p><p>Then I executed mrepo -ugvvv<o:p></o:p></p><p>After that sync to spacewalk channels.<o:p></o:p></p><p>Everything was fine. I can see packages in channels os spacewalk webpage.<o:p></o:p></p><p> <o:p></o:p></p><p>Lastly I hat to reregister machines to Spacewalk.<o:p></o:p></p><p> <o:p></o:p></p><p>So:<o:p></o:p></p><p> <o:p></o:p></p><p>rpm -Uvh <a href="http://spacewalker/pub/rhn-org-trusted-ssl-cert-1.0-1.noarch.rpm">http://spacewalker/pub/rhn-org-trusted-ssl-cert-1.0-1.noarch.rpm</a> --force<o:p></o:p></p><p>and<o:p></o:p></p><p>rhnreg_ks --force --activationkey=1-5-server-x86_64<o:p></o:p></p><p> <o:p></o:p></p><p>After that I can see registered machine on spacewalk webpage.<o:p></o:p></p><p>I can see, that it has 42 package updates.<o:p></o:p></p><p>But...<o:p></o:p></p><p> <o:p></o:p></p><p>On that machine:<o:p></o:p></p><p> <o:p></o:p></p><p>[root@systemX ~]# yum update<br>Loaded plugins: rhnplugin, security<br>This system is receiving updates from RHN Classic or RHN Satellite.<br>Setting up Update Process<br>No Packages marked for Update<o:p></o:p></p><p> <o:p></o:p></p><p>[root@www-live01 ~]# yum repolist<br>Loaded plugins: rhnplugin, security<br>This system is receiving updates from RHN Classic or RHN Satellite.<br>repo id                                                              repo name                                                             status<br>server-5-x86_64                                                      server-5-x86_64                                                       0<br>repolist: 0<o:p></o:p></p><p> <o:p></o:p></p><p>I've tried to remove this machine and reregister.<o:p></o:p></p><p>I didn't made any change.<o:p></o:p></p><p>It was working on previous instance of Spacewalk.<o:p></o:p></p><p> <o:p></o:p></p><p>What is wrong? Did I missed something?<o:p></o:p></p><p>Do you have any suggestions?<o:p></o:p></p><p> <o:p></o:p></p><p>Regards,<o:p></o:p></p><p>Jacek<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>