WARNING - OLD ARCHIVES

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

xen-api

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

To: xen-api@xxxxxxxxxxxxxxxxxxx, ewan@xxxxxxxxxxxxx
Subject: [Xen-API] Error occurring when using the Xen-API
From: Stefan Berger <stefanb@xxxxxxxxxx>
Date: Wed, 14 Feb 2007 12:44:01 -0500
Delivery-date: Wed, 14 Feb 2007 09:43:16 -0800
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

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
<Prev in Thread] Current Thread [Next in Thread>