[Spacewalk-list] Problem with registering clients
Pradeep Kilambi
pkilambi at redhat.com
Wed Jul 2 15:38:14 UTC 2008
Ah if the error logs indicate this, then you have to manually get this
rhel-instnum package. Its not in our repo yet.
Thanks,
~ prad
Kuba Fast wrote:
> I think I had the same problem and it took installing the rhel-instnum package to resolve itself.
> Best,
> Kuba
>
>
> Kuba Fast
> Product Management MBA Intern, Open Platform Solutions
> kfast at novell.com
> Ph. (617) 386 3944
>
> Novell
> Novell. Making IT Work As One
> http://www.novell.com
>
>
>
>
>
>>>> Pradeep Kilambi <pkilambi at redhat.com> 07/02/08 11:29 AM >>>
>>>>
> Usually this means your serverUrl is not accessible and hence cacnnot
> resolve to the xmlrpc handler.. make sure the hostname you're using is
> infact accessible. Also tail your access log(/var/log/httpd/access_log)
> on the server and see if you're getting any requests from client. That
> should tell you if client is even getting though to the server.
>
> ~ Prad
>
> J Hutchins wrote:
>
>> I keep receiving the following traceback when I try to run:
>>
>> rhnreg_ks --force --serverUrl=http://spacewalk/XMLRPC/
>> --activationkey=1-e7e2f81849a2dda8111199c917e1beb6
>>
>> The client will not register on the server. Am I doing anything wrong?
>>
>> Thanks in advance,
>>
>> - Jonathan Hutchins
>>
>> Exception reported from spacewalk
>> Time: Wed Jul 2 10:51:18 2008
>> Exception type exceptions.KeyError
>> Exception while handling function registration.new_system
>> Request object information:
>> URI: /XMLRPC
>> Remote Host: 10.5.1.10 <http://10.5.1.10>
>> Server Name: 10.5.1.9:0 <http://10.5.1.9:0>
>> Headers passed in:
>> Accept-Encoding: identity
>> Content-Length: 811
>> Host: spacewalk
>> content-type: text/xml
>> user-agent: rhn.rpclib.py/$Revision$ <http://rhn.rpclib.py/$Revision$>
>> x-client-version: 1
>> x-info: RPC Processor (C) Red Hat, Inc (version $Revision$)
>> x-rhn-client-capability:
>> packages.verifyAll(1)=1,caneatCheese(1)=1,packages.extended_profile(1)=1,reboot.reboot(1)=1,packages.verify(1)=1,packages.runTransaction(1)=1,packages.rollBack(1)=1
>> x-rhn-transport-capability: follow-redirects=2
>> x-transport-info: Extended Capabilities Transport (C) Red Hat, Inc
>> (version $Revision$)
>> x-up2date-version: 0.4.17-10.fc9
>> Extra information about this error:
>> Response sent back to the caller:
>> While running 'registration.new_system': caught
>> exceptions.KeyError : 'xmlrpc'
>>
>>
>>
>> Exception Handler Information
>> Traceback (most recent call last):
>> File "/usr/share/rhn/server/apacheRequest.py", line 118, in
>> call_function
>> func = self.method_ref(method)
>> File "/usr/share/rhn/server/apacheRequest.py", line 413, in method_ref
>> classes = self.servers[self.server]
>> KeyError: 'xmlrpc'
>>
>> Local variables by frame
>> Frame method_ref in /usr/share/rhn/server/apacheRequest.py at line 413
>> self = <type 'instance'>
>> <server.apacheRequest.apachePOST instance at 0xb3023aac>
>> method = <type 'str'> registration.new_system
>>
>> Frame call_function in /usr/share/rhn/server/apacheRequest.py at line 135
>> fault = <type 'int'> 1
>> self = <type 'instance'>
>> <server.apacheRequest.apachePOST instance at 0xb3023aac>
>> force_rollback = <type 'int'> 1
>> method = <type 'str'> registration.new_system
>> params = <type 'tuple'> ({'virt_uuid':
>> '78426adb33304c2788d475b5b7f47c1a\n', 'virt_type': 'para', 'token':
>> '1-4b62a74c0df2aecc01750e49728ea34c', 'profile_name': 'stagems',
>> 'architecture': 'x86_64-redhat-linux', 'os_release': '5',
>> 'release_name': 'centos-release'},)
>> e_type = <type 'classobj'> exceptions.KeyError
>> e_value = <type 'instance'> 'xmlrpc'
>> response = <type 'instance'> <Fault 1: "While running
>> 'registration.new_system': caught\nexceptions.KeyError : 'xmlrpc'\n">
>>
>> Frame process in /usr/share/rhn/server/apacheRequest.py at line 471
>> fd = <type 'instance'> <cStringIO.StringO object
>> at 0xb3023280>
>> _body = <type 'str'> <?xml version='1.0'?>
>> <methodCall>
>> <methodName>registration.new_system</methodName>
>> <params>
>> <param>
>> <value><struct>
>> <member>
>> <name>virt_uuid</name>
>> <value><string>78426adb33304c2788d475b5b7f47c1a
>> </string></value>
>> </member>
>> <member>
>> <name>virt_type</name>
>> <value><string>para</string></value>
>> </member>
>> <member>
>> <name>token</name>
>> <value><string>1-4b62a74c0df2aecc01750e49728ea34c</string></value>
>> </member>
>> <member>
>> <name>profile_name</name>
>> <value><string>stagems</string></value>
>> </member>
>> <member>
>> <name>architecture</name>
>> <value><string>x86_64-redhat-linux</string></value>
>> </member>
>> <member>
>> <name>os_release</name>
>> <value><string>5</string></value>
>> </member>
>> <member>
>> <name>release_name</name>
>> <value><string>centos-release</string></value>
>> </member>
>> </struct></value>
>> </param>
>> </params>
>> </methodCall>
>>
>> params = <type 'tuple'> ({'virt_uuid':
>> '78426adb33304c2788d475b5b7f47c1a\n', 'virt_type': 'para', 'token':
>> '1-4b62a74c0df2aecc01750e49728ea34c', 'profile_name': 'stagems',
>> 'architecture': 'x86_64-redhat-linux', 'os_release': '5',
>> 'release_name': 'centos-release'},)
>> method = <type 'str'> registration.new_system
>> self = <type 'instance'>
>> <server.apacheRequest.apachePOST instance at 0xb3023aac>
>>
>> Frame handler in /usr/share/rhn/server/apacheHandler.py at line 198
>> h = <type 'instance'> <__builtin__.OracleCursor
>> on <cx_Oracle.Connection to spacewalk at xe>>
>> self = <type 'instance'>
>> <server.apacheHandler.apacheHandler instance at 0xb7bfdb6c>
>> req = <type 'mp_request'> <mp_request object at
>> 0xb7abc50c>
>> ret = <type 'int'> 0
>> templateStrings = <type 'dict'> {'email_account_info':
>> '\nAccount Information:\n Your RHN login: <login />\n Your
>> RHN email address: <email-address />', 'email_footer': '--the Red Hat
>> Network Team', 'hostname': 'spacewalk'}
>> row = <type 'NoneType'> None
>>
>> Frame __call__ in /usr/share/rhn/server/apacheServer.py at line 57
>> self = <type 'instance'>
>> <server.apacheServer.HandlerWrap instance at 0xb7cb36cc>
>> req = <type 'mp_request'> <mp_request object at
>> 0xb7abc50c>
>> f = <type 'instancemethod'> <bound method
>> apacheHandler.handler of <server.apacheHandler.apacheHandler instance
>> at 0xb7bfdb6c>>
>>
>> Frame HandlerDispatch in
>> /usr/lib/python2.4/site-packages/mod_python/apache.py at line 299
>> req = <type 'mp_request'> <mp_request object at
>> 0xb7abc50c>
>> config = <type 'mp_table'> {'PythonInterpreter':
>> 'rhn.server', 'PythonPath': 'sys.path+['/usr/share/rhn']'}
>> self = <type 'instance'>
>> <mod_python.apache.CallBack instance at 0xb7eaf76c>
>> object = <type 'instance'>
>> <server.apacheServer.HandlerWrap instance at 0xb7cb36cc>
>> l = <type 'list'> ['server.apacheServer',
>> 'Handler']
>> module = <type 'module'> <module
>> 'server.apacheServer' from '/usr/share/rhn/server/apacheServer.py'>
>> hlist = <type 'mp_hlist'>
>> {'handler:'server.apacheServer::Handler','directory':'/XMLRPC/','silent':0}
>> object_str = <type 'str'> Handler
>> debug = <type 'int'> 0
>> module_name = <type 'str'> server.apacheServer
>> pathstring = <type 'str'> sys.path+['/usr/share/rhn']
>> result = <type 'int'> 500
>>
>>
>> Environment for PID=2342 on exception:
>> LANG = C
>> NLS_LANG = english.AL32UTF8
>> ORACLE_HOME = /opt/oracle
>> PATH = /sbin:/usr/sbin:/bin:/usr/bin
>> PERL_BADFREE = 0
>> PWD = /
>> SHLVL = 2
>> TERM = linux
>> _ = /usr/sbin/httpd
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Spacewalk-list mailing list
>> Spacewalk-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>>
>
>
>
--
--
Pradeep Kilambi
RHN Satellite Engineering
pkilambi at redhat.com
Phone: +1 919 754 4285
RHCE # 805008680430554
More information about the Spacewalk-list
mailing list