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

[Xen-API] XML-RPC Error Message


  • To: <xen-api@xxxxxxxxxxxxxxxxxxx>
  • From: "Uli Staerk" <Uli.Staerk@xxxxxxxxxxxxxx>
  • Date: Mon, 6 Aug 2007 18:06:31 +0200
  • Delivery-date: Mon, 06 Aug 2007 09:03:55 -0700
  • List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
  • Thread-index: AcfYQ8Dv1T4oakyzQSijUubjXUme5A==
  • Thread-topic: 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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.