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


Re: [Xen-API] XMLRPC call to VM.clone

To: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-API] XMLRPC call to VM.clone
From: Jean-Michel Guillaume <jean-michel.guillaume@xxxxxxxxxxxxxxx>
Date: Tue, 17 Mar 2009 14:20:50 +0100
Delivery-date: Tue, 17 Mar 2009 06:23:07 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <49BA6A1F.6070005@xxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
References: <49BA6A1F.6070005@xxxxxxxxxxxxxxx>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird (X11/20090105)
Jean-Michel Guillaume a écrit :
Hello everyone,
I am writing a Java client to use xen-api and especially the clone feature.
Problem, when I make a remote call to that function, I get an error:
[2009-03-13 14:55:00 17270] ERROR (xmlrpclib2:166) Internal error handling VM.clone
Traceback (most recent call last):
File "//usr/lib64/python/xen/util/xmlrpclib2.py", line 131, in _marshaled_dispatch
response = self._dispatch(method, params)
File "/usr/lib64/python2.5/SimpleXMLRPCServer.py", line 415, in _dispatch
return func(*params)
File "//usr/lib64/python/xen/xend/XendAPI.py", line 223, in f
return func(self, *args, **kwargs)
File "//usr/lib64/python/xen/xend/XendAPI.py", line 258, in check_session
return func(self, session, *args, **kwargs)
File "//usr/lib64/python/xen/xend/XendAPI.py", line 314, in <lambda>
'VM', func, *args, **kwargs)
File "//usr/lib64/python/xen/xend/XendAPI.py", line 270, in _check_ref
return func(api, session, ref, *args, **kwargs)
TypeError: VM_clone() takes exactly 3 arguments (4 given)

I am running a Xen 3.3 from sources and everything else is executing fine...


I'm still having the issue. Has anybody already used that feature?

Guillaume Jean-Michel

E-Mail : jean-michel.guillaume@xxxxxxxxxxxxx
Phone  : + 33 (0)4 97 15 53 84

SAS au capital de 75.000 € - RCS de Grasse n° 500 807 284
2004, route des Lucioles – B.P.93

xen-api mailing list

<Prev in Thread] Current Thread [Next in Thread>