Mailing List Archive

XML-RPC Error Message
I just got the following error "long int exceeds XML-RPC limits" from
the method SR.get_record.

Seems to be a kind of integer-overflow problem with the xmlrpc
implementation. If I correct the code (line 1467:
sr.total_space_bytes()) that the return value gets divided by 1024^2 -
it works ;-)

The integer value must about 383,968,608,256 (400 GB RAID).

Below the serialized http request and response:

2007-08-06 17:13:20.788:
<?xml version="1.0" encoding="UTF-8"?>
<methodCall>
<methodName>SR.get_record</methodName>
<params>
<param>
<value><string>082779d4-546c-e4f3-c258-6241b6c8d9c3</string></value>
</param>
<param>
<value><string>358b35f3-7ebb-af10-dd53-0c170362ad90</string></value>
</param>
</params>
</methodCall>

2007-08-06 17:13:20.825:
RECEIVING MESSAGE --------------------------------------------

2007-08-06 17:13:20.825:
<methodResponse>
<fault>
<value>
<struct>
<member>
<name>faultCode</name>
<value><int>1</int></value>
</member>
<member>
<name>faultString</name>
<value><string>long int exceeds XML-RPC limits</string></value>
</member>
</struct>
</value>
</fault>
</methodResponse>

_______________________________________________
xen-api mailing list
xen-api@lists.xensource.com
http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api