[Spacewalk-list] Can't register a client with spacewalk 1.0
Joseph Lundgren
joseph.lundgren at peakinternet.com
Tue May 4 18:03:32 UTC 2010
I am experiencing the same problem on all my clients.
Spacewalk Server:
CentOS 5.4 32-bit
Linux <myserver.mydomain.com> 2.6.18-164.15.1.el5 #1 SMP Wed Mar 17
11:37:14 EDT 2010 i686 i686 i386 GNU/Linux
I upgraded from 0.8 to 1.0 following:
https://fedorahosted.org/spacewalk/wiki/HowToUpgrade
Spacewalk Client:
CentOS 5.4 32-bit
Linux <myclient.mydomain.com> 2.6.18-164.15.1.el5 #1 SMP Wed Mar 17
11:37:14 EDT 2010 i686 i686 i386 GNU/Linux
I updated /etc/yum.repos.d/spacewalk-config.repo to match the RHEL5 1.0
repository, and did a "yum install rhn-setup yum-rhn-plugin
python-dmidecode"
Registration command:
/usr/sbin/rhnreg_ks -vvv --force --serverUrl=http://
myserver.mydomain.com /XMLRPC --activationkey=<mykey>
Output:
D: rpcServer: Calling XMLRPC registration.welcome_message
D: opening db environment /var/lib/rpm/Packages joinenv
D: opening db index /var/lib/rpm/Packages rdonly mode=0x0
D: locked db index /var/lib/rpm/Packages
Warning: haldaemon or messagebus service not running. Cannot probe
hardware and DMI information.
D: opening db index /var/lib/rpm/Providename rdonly mode=0x0
D: rpcServer: Calling XMLRPC registration.new_system
D: rpcServer: Calling XMLRPC registration.add_hw_profile
D: rpcServer: Calling XMLRPC registration.add_packages
An error has occurred:
Error Class Code: 21
Error Class Info: Invalid arguments passed to function.
Explanation:
An error has occurred while processing your request. If this
problem
persists please enter a bug report at bugzilla.redhat.com.
If you choose to submit the bug report, please be sure to include
details of what you were trying to do when this error occurred and
details on how to reproduce this problem.
Error communicating with server. The message was:
Error Class Code: 21
Error Class Info: Invalid arguments passed to function.
Explanation:
An error has occurred while processing your request. If this
problem
persists please enter a bug report at bugzilla.redhat.com.
If you choose to submit the bug report, please be sure to include
details of what you were trying to do when this error occurred and
details on how to reproduce this problem.
See /var/log/up2date for more information
D: closed db index /var/lib/rpm/Providename
D: closed db index /var/lib/rpm/Packages
D: closed db environment /var/lib/rpm/Packages
D: May free Score board((nil))
The tail of /var/log/up2date is:
[Tue May 4 10:41:36 2010] up2date D: rpcServer: Calling XMLRPC
registration.welcome_message
[Tue May 4 10:41:38 2010] up2date Warning: haldaemon or messagebus
service not running. Cannot probe hardware and DMI information.
[Tue May 4 10:41:38 2010] up2date D: rpcServer: Calling XMLRPC
registration.new_system
[Tue May 4 10:41:39 2010] up2date D: rpcServer: Calling XMLRPC
registration.add_hw_profile
[Tue May 4 10:41:39 2010] up2date D: rpcServer: Calling XMLRPC
registration.add_packages
[Tue May 4 10:41:39 2010] up2date Error communicating with server. The
message was:
Error Class Code: 21
Error Class Info: Invalid arguments passed to function.
Explanation:
An error has occurred while processing your request. If this
problem
persists please enter a bug report at bugzilla.redhat.com.
If you choose to submit the bug report, please be sure to include
details of what you were trying to do when this error occurred and
details on how to reproduce this problem.
[Tue May 4 10:41:39 2010] up2date
Traceback (most recent call last):
File "/usr/sbin/rhnreg_ks", line 205, in ?
cli.run()
File "/usr/share/rhn/up2date_client/rhncli.py", line 74, in run
sys.exit(self.main() or 0)
File "/usr/sbin/rhnreg_ks", line 149, in main
rhnreg.sendPackages(systemId, packageList)
File "/usr/share/rhn/up2date_client/rhnreg.py", line 478, in
sendPackages
s.registration.add_packages(systemId, packageList)
File "/usr/share/rhn/up2date_client/rhnserver.py", line 52, in
__call__
raise self.__exception_from_fault(f)
up2date_client.up2dateErrors.CommunicationError: Error communicating
with server. The message was:
Error Class Code: 21
Error Class Info: Invalid arguments passed to function.
Explanation:
An error has occurred while processing your request. If this
problem
persists please enter a bug report at bugzilla.redhat.com.
If you choose to submit the bug report, please be sure to include
details of what you were trying to do when this error occurred and
details on how to reproduce this problem.
Sincerely,
--
Joseph Lundgren
Systems Engineer
Peak Internet, LLC
joseph.lundgren at peakinternet.com
-----Original Message-----
From: spacewalk-list-bounces at redhat.com
[mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Hugo Doria
Sent: Monday, May 03, 2010 10:09 AM
To: josh.mullis at cox.com; spacewalk-list at redhat.com
Subject: Re: [Spacewalk-list] Can't register a client with spacewalk 1.0
Here's the command:
rhnreg_ks --serverUrl=http://myserver.mydomain.com/XMLRPC
--activationkey=1-mykey
--
Hugo Doria
http://www.hugodoria.org
http://www.secureinfo.com.br
_______________________________________________
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