[Spacewalk-list] rhn_check <type 'exceptions.OverflowError'> long int exceeds XML-RPC limits

Jan Hutař jhutar at redhat.com
Tue Oct 9 09:47:18 UTC 2012


Hello,
thanks for early investigation :) Could you please file a
bugzilla for this issue? Or I can do so if you prefer.

Thanks,
Jan



On Fri, 28 Sep 2012 14:08:30 -0500 john miller
<johnmille1 at gmail.com> wrote:

> I inserted a print traceback
> in /usr/share/rhn/up2date_client/rpcServer.py by adding import
> traceback to the top of the file and traceback.print_exc
> (file=sys.stdout) on line 55.
> 
> Traceback (most recent call last):
>   File "/usr/share/rhn/up2date_client/rpcServer.py", line 36,
> in _request1 ret = self._request(methodname, params)
>   File "/usr/lib/python2.6/site-packages/rhn/rpclib.py", line
> 377, in _request
>     request = self._req_body(self._strip_characters(params),
> methodname) File
> "/usr/lib/python2.6/site-packages/rhn/rpclib.py", line 232, in
> _req_body return xmlrpclib.dumps(params, methodname,
> encoding=self._encoding) File
> "/usr/lib/python2.6/xmlrpclib.py", line 1132, in dumps data =
> m.dumps(params) File "/usr/lib/python2.6/xmlrpclib.py", line
> 677, in dumps dump(v, write)
>   File "/usr/lib/python2.6/xmlrpclib.py", line 699, in __dump
>     f(self, value, write)
>   File "/usr/lib/python2.6/xmlrpclib.py", line 759, in
> dump_array dump(v, write)
>   File "/usr/lib/python2.6/xmlrpclib.py", line 699, in __dump
>     f(self, value, write)
>   File "/usr/lib/python2.6/xmlrpclib.py", line 780, in
> dump_struct dump(v, write)
>   File "/usr/lib/python2.6/xmlrpclib.py", line 699, in __dump
>     f(self, value, write)
>   File "/usr/lib/python2.6/xmlrpclib.py", line 725, in
> dump_long raise OverflowError, "long int exceeds XML-RPC
> limits"
> 
> then I inserted  pprint(value) pprint(write) for the dump_long
> function at 724 and it fails on the following timestamp.
> 
> 2953759076L
> <built-in method append of list object at 0x9c498cc>
> 
> It looks like the system clock was wrong when this package was
> installed
> 
>   {'arch': 'i686',
>    'epoch': '',
>    'installtime': 2953759076L,
>    'name': 'cloog-ppl',
>    'release': '1.2.el6',
>    'version': '0.15.7'},
> 
> looks like any packages installed when the clock is past 2036
> will cause this failure.
> 
> On Fri, Sep 28, 2012 at 10:07 AM, john miller
> <johnmille1 at gmail.com> wrote:
> 
> > I have a rhel 6.2 system with rhn-check-1.6.47.
> >
> > When I try to do rhn_check or rhn-profile-sync I get the
> > following error:
> >
> > Updating package profile
> > D: rpcServer: Calling XMLRPC registration.welcome_message
> > D: rpcServer: Calling XMLRPC registration.update_packages
> > An error occured talking to :
> > <type 'exceptions.OverflowError'>
> > long int exceeds XML-RPC limits
> > Trying the next serverURL: http:///XMLRPC
> >
> >
> > rhnreg_ks fails with
> >
> > D: rpcServer: Calling XMLRPC registration.add_packages
> > An error occured talking to :
> > <type 'exceptions.OverflowError'>
> > long int exceeds XML-RPC limits
> > Trying the next serverURL: http:///XMLRPC
> >
> > I can not find any server side logs indicating an error
> > associated with the client error
> >


-- 
Jan Hutar     Systems Management QA
jhutar at redhat.com     Red Hat, Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20121009/3dacc27b/attachment.sig>


More information about the Spacewalk-list mailing list