[Spacewalk-list] Still having problems registering a client

Michael ORourke mrorourke at earthlink.net
Thu Feb 26 21:21:04 UTC 2009


<off-list>

One thing that I ran into which may or may not be an issue for you.
Make sure you go to the following page:
https://<spacewalk-server>/rhn/activationkeys/List.do
and cut and paste the key from there.  Looks like the key should be about 35 
characters long (at least on my system it is).
When I went to the edit key page, the "Key:" field does not show the 
complete key (truncates it in the GUI).
So when I first tried to register systems, I cut & pasted it from the GUI 
(edit key page) and I didn't have the complete key.
Just thought I would mention that.

-Mike


----- Original Message ----- 
From: <m.roth2006 at rcn.com>
To: <spacewalk-list at redhat.com>
Sent: Thursday, February 26, 2009 3:38 PM
Subject: Re: [Spacewalk-list] Still having problems registering a client


> My latest attempt:
> I reinstalled all the rpm's on the client.
> I edited the repos in /etc/yum.repos.d (I'll fix them later on the 
> server).
> I imported all the GPG keys.
>
> On the client, I deleted the system. I also added the server hostname to 
> /etc/hosts, so I can reference by name. I also telneted from the client to 
> the jabberd port with no problems. Neither box is running IPTABLES (well, 
> they are, but accept is the policy).
>
> I've tried starting osad on the client, but it just complains that it 
> can't connect to the jabber server, and even -vvv -N tells me utterly 
> nothing useful.
>
> So I thought, maybe it's that I haven't registered yet. So again, I tried 
> rhnreg_ks. Again, I got exactly the same error on the client (internal 
> server error). On the server:
> /var/log/rhn/rhn_server_xmlrpc.log:
> 2009/02/26 14:12:00 -05:00 27546 <IP address of client>: 
> xmlrpc/registration.welcome_message('lang: None',)
> 2009/02/26 14:12:00 -05:00 27547 <IP address of client>: 
> xmlrpc/registration.create_system("token = '<valid activation key>'", '5', 
> 'x86_64-redhat-linux')
> 2009/02/26 14:12:00 -05:00 27547 <IP address of client>: 
> rhnServer/server_token.process_token(1000010005, 'enterprise_entitled')
> 2009/02/26 14:12:00 -05:00 27547 <IP address of client>: 
> rhnServer/server_token.token_channels('ERROR', 'Server has invalid release 
> and token contains no base channels', 1000010005, [{'note': 'x86_64', 
> 'usage_limit': None, 'user_id': 1, 'org_id': 1, 'server_id': None, 
> 'token_desc': 'Spacewalk Management Entitled Servers', 'token_type': 
> 'enterprise_entitled', 'token': '<valid activation key>', 'token_id': 1, 
> 'deploy_configs': 'N', 'kickstart_session_id': None, 'is_base': 'Y'}])
> 2009/02/26 14:12:00 -05:00 27543 <IP address of client>: 
> xmlrpc/registration.add_hw_profile(1000010005, 'items: 4')
> 2009/02/26 14:12:01 -05:00 27548 <IP address of client>: 
> xmlrpc/registration.add_packages(1000010005, 'packages: 425')
> 2009/02/26 14:12:10 -05:00 27846 <IP address of client>:
> Above repeated four times.
>
> The email traceback shows me only a lot of verbiage that comes down to 
> "not connected to Oracle", and I get one for each failed try (that's five 
> of 'em).
>
> I also don't understand why "token contains no base channels", when I've 
> give the activation key I created for a base channel.
>
> Does *anyone* have a clue as to why I am unable to fully register my test 
> system? After it fails, it shows up in the browser, but kernel is unknown, 
> and there's no packages - obviously, after it couldn't add the 425 of 
> them.
>
> Clues for the poor?
>
>      mark
>
> _______________________________________________
> 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