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

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



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