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/
Home Products Support Community News


[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"?>

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

2007-08-06 17:13:20.825:
        <value><string>long int exceeds XML-RPC limits</string></value>

xen-api mailing list

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