[Spacewalk-list] rhnreg_ks does not subscribe a client to a channel

Brian Millett bmillett at gmail.com
Fri Sep 27 13:51:17 UTC 2013


On Fri, 27 Sep 2013 09:31:58 -0400
Thomas Foster <thomas.foster80 at gmail.com> wrote:

> Did you subscribe the channels to the key?
> On Sep 27, 2013 9:19 AM, "Brian Millett" <bmillett at gmail.com> wrote:
> 
> >
> > I've instlled spacewalk-2.0 and have populated it with channels for oracle.
> > When I try to register a client, I get the following results.
> >
> > rhnreg_ks --force --serverUrl=http://<HOSTNAME>/XMLRPC
> > --activationkey=1-oraclelinux6-x86_64
> > This system is not subscribed to any channels.
> > RHN channel support will be disabled.
> >
> > The activation key is correct.
> > The channel exists and has packages.
> > I can go into the GUI, change the base channel to what it needs to be, ping
> > the systems and can push updated down to the client.
> >
> > All appears to be working great, just the subscribing to a channel does not
> > work.
> >
> > Where should I look to see what is going on?
> >
> >
> > --
> > Brian Millett
> > "He's probably the only true seeker we have."
> > 'Then perhaps you do not know yourself as well as you think.'
> >    -- [ Sinclair and Delenn, "Grail"]
> >
> > _______________________________________________
> > Spacewalk-list mailing list
> > Spacewalk-list at redhat.com
> > https://www.redhat.com/mailman/listinfo/spacewalk-list
> >

I'm not sure what "Did you subscribe the channels to the key?" means but
from the manage activation keys, I see:

Oracle Linux 5.7 x86_64 	1-oraclelinux5-7-x86_64 	0/(unlimited)
Oracle Linux 5.8 x86_64 	1-oraclelinux5-8-x86_64 	0/(unlimited)
Oracle Linux 5 x86_64 		1-oraclelinux5-x86_64		0/(unlimited) 
Oracle Linux 6 x86_64 * 	1-oraclelinux6-x86_64		1/(unlimited) 
RHEL 5 x86_64			1-rhel5-x86_64 			1/(unlimited) 
RHEL 6 x86_64 			1-rhel6-x86_64 			0/(unlimited) 


Oh, when I click on each channel, I see that most have the base channel as 
"spacewalk default".  I changed each to the correct base channel,
and that works correctly!

Thanks Thomas & Milan for the hints I needed!
-- 
Brian Millett
"Taro Isogi spent his life improving the lives of others. He built a business
 based on that principle, and he never broke a rule or harmed another to do
 it. Mars was his dream, Captain, now he's been murdered for it, and you're
 trying to cast the blame on him."
           -- [ Talia Winters, "A Spider in the Web"]




More information about the Spacewalk-list mailing list