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

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



Zhigang Wang wrote:
> Jean-Michel Guillaume wrote:
>> Jean-Michel Guillaume a ïcrit :
>>> Hello everyone,
>>> I am writing a Java client to use xen-api and especially the clone 
>>> feature.
That means your java bindings is not compatible with the opensource XenAPI 
implement.

zhigang

>>> Problem, when I make a remote call to that function, I get an error:
>>> [code]
>>> [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)
>>> [/code]
>>>
>>> I am running a Xen 3.3 from sources and everything else is executing 
>>> fine...
>>> THX
>>>
>>> JMi
>>>
>> I'm still having the issue. Has anybody already used that feature?
>>
> in XendAPI.py
> 
> 
>     def VM_clone(self, session, vm_ref):
>         return xen_api_error(XEND_ERROR_UNSUPPORTED)
> 
> this API is not implemented yet. please don't use it.
> 
> zhigang
> 
> _______________________________________________
> xen-api mailing list
> xen-api@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/mailman/listinfo/xen-api


_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api


 


Rackspace

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