[patch] test.bigint (WAS: mount.df)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Pre.S. for mdehaan: sorry I sent these messages to you directly, I'm now re-sending to the list address. It's not the first time I make this mistake... :(

Il giorno 26/ago/08, alle ore 14:53, Michael DeHaan ha scritto:
I found out the hard way that XML-RPC doesn't like integers bigger than 32bit, so the space is reported in 1KiB units. This gives us a maximum fs size of 4TiB, which is rather small.
I'm unaware of that problem.   Interesting.
Added a test case to the test module demonstrating the issue. Patch included.

Attachment: func-test_bigint.diff
Description: Binary data


on my amd64 systems with python-2.5, it gives:

{'vm2': ['REMOTE_ERROR',
         'xmlrpclib.Fault',
         '<Fault 1: "<type \'exceptions.OverflowError\'>:int exceeds XML-RPC limits">',
         '  File "/usr/lib64/python2.5/site-packages/func/overlord/client.py", line 414, in process_server\n    retval = getattr(conn, meth)(*args[:])\n   File "/usr/lib64/python2.5/xmlrpclib.py", line 1147, in __call__\n    return self.__send(self.__name, args)\n   File "/usr/lib64/python2.5/xmlrpclib.py", line 1437, in __request\n    verbose=self.__verbose\n   File "/usr/lib64/python2.5/xmlrpclib.py", line 1201, in request\n    return self._parse_response(h.getfile(), sock)\n   File "/usr/lib64/python2.5/xmlrpclib.py", line 1340, in _parse_response\n    return u.close()\n   File "/usr/lib64/python2.5/xmlrpclib.py", line 787, in close\n    raise Fault(**self._stack[0])\n']}

--
Luca Lesinigo
_______________________________________________
Func-list mailing list
Func-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/func-list

[Index of Archives]     [Fedora Users]     [Linux Networking]     [Fedora Legacy List]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux