WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-api

[Xen-API] XML-RPC Error Message

To: <xen-api@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-API] XML-RPC Error Message
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
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-API] XML-RPC Error Message, Uli Staerk <=