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

[Xen-API] Error occurring when using the Xen-API




An error occurring due to the recent changes in the Xen-API.
The 'domid=None' seems to be the problem.

Cheers,
  Stefan



[2007-02-14 12:15:46 7605] DEBUG (XendDomainInfo:1605)
XendDomainInfo.destroy: domid=None
[2007-02-14 12:15:46 7605] ERROR (xmlrpclib2:225) Internal error handling
VM.start
Traceback (most recent call last):
 File "//usr/lib/python/xen/util/xmlrpclib2.py", line 201, in
_marshaled_dispatch
   response = self._dispatch(method, params)
 File "/usr/lib/python2.4/SimpleXMLRPCServer.py", line 406, in _dispatch
   return func(*params)
 File "//usr/lib/python/xen/xend/XendAPI.py", line 108, in f
   return func(self, *args, **kwargs)
 File "//usr/lib/python/xen/xend/XendAPI.py", line 139, in check_session
   return func(self, session, *args, **kwargs)
 File "//usr/lib/python/xen/xend/XendAPI.py", line 195, in <lambda>
   'VM_HANDLE_INVALID', func, *args, **kwargs)
 File "//usr/lib/python/xen/xend/XendAPI.py", line 151, in _check_ref
   return func(api, session, ref, *args, **kwargs)
 File "//usr/lib/python/xen/xend/XendAPI.py", line 1497, in VM_start
   start_paused = start_paused)
 File "//usr/lib/python/xen/xend/XendTask.py", line 213, in log_progress
   retval = func(*args, **kwds)
 File "//usr/lib/python/xen/xend/XendAPI.py", line 352, in do_vm_func
   xendom.do_legacy_api_with_uuid(fn, vm_ref, *args, **kwargs)
 File "//usr/lib/python/xen/xend/XendDomain.py", line 660, in
do_legacy_api_with_uuid
   fn(dom, *args, **kwargs)
 File "//usr/lib/python/xen/xend/XendDomain.py", line 954, in domain_start
   dominfo.start(is_managed = True)
 File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 406, in start
   self.destroy()
 File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 1607, in destroy
   paths = self._prepare_phantom_paths()
 File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 1577, in
_prepare_phantom_paths
   t = xstransact("%s/device/vbd" % GetDomainPath(self.domid))
 File "//usr/lib/python/xen/xend/xenstore/xsutil.py", line 26, in
GetDomainPath
   return xshandle().get_domain_path(domid)
TypeError: an integer is required
[2007-02-14 12:15:47 7605] DEBUG (XendDomainInfo:1605)
XendDomainInfo.destroy: domid=None
[2007-02-14 12:15:47 7605] ERROR (xmlrpclib2:225) Internal error handling
VM.hard_shutdown
Traceback (most recent call last):
 File "//usr/lib/python/xen/util/xmlrpclib2.py", line 201, in
_marshaled_dispatch
   response = self._dispatch(method, params)
 File "/usr/lib/python2.4/SimpleXMLRPCServer.py", line 406, in _dispatch
   return func(*params)
 File "//usr/lib/python/xen/xend/XendAPI.py", line 108, in f
   return func(self, *args, **kwargs)
 File "//usr/lib/python/xen/xend/XendAPI.py", line 139, in check_session
   return func(self, session, *args, **kwargs)
 File "//usr/lib/python/xen/xend/XendAPI.py", line 195, in <lambda>
   'VM_HANDLE_INVALID', func, *args, **kwargs)
 File "//usr/lib/python/xen/xend/XendAPI.py", line 151, in _check_ref
   return func(api, session, ref, *args, **kwargs)
 File "//usr/lib/python/xen/xend/XendAPI.py", line 1484, in
VM_hard_shutdown
   "domain_destroy", vm_ref)
 File "//usr/lib/python/xen/xend/XendTask.py", line 213, in log_progress
   retval = func(*args, **kwds)
 File "//usr/lib/python/xen/xend/XendAPI.py", line 352, in do_vm_func
   xendom.do_legacy_api_with_uuid(fn, vm_ref, *args, **kwargs)
 File "//usr/lib/python/xen/xend/XendDomain.py", line 660, in
do_legacy_api_with_uuid
   fn(dom, *args, **kwargs)
 File "//usr/lib/python/xen/xend/XendDomain.py", line 1132, in
domain_destroy
   val = dominfo.destroy()
 File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 1607, in destroy
   paths = self._prepare_phantom_paths()
 File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 1577, in
_prepare_phantom_paths
   t = xstransact("%s/device/vbd" % GetDomainPath(self.domid))
 File "//usr/lib/python/xen/xend/xenstore/xsutil.py", line 26, in
GetDomainPath
   return xshandle().get_domain_path(domid)
TypeError: an integer is required
[2007-02-14 12:15:47 7605] INFO (XendDomain:987) Domain
07_security-acm_xapi-1171473346 (b25be510-9dd4-7caf-cd5b-f49840a40ed6)
deleted.


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

 


Rackspace

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