Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Xen: API
Error occurring when using the Xen-API
 

Index | Next | Previous | View Flat


stefanb at us

Feb 14, 2007, 10:44 AM


Views: 287
Permalink
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.

Subject User Time
Error occurring when using the Xen-API stefanb at us Feb 14, 2007, 10:44 AM
    Re: Error occurring when using the Xen-API ewan at xensource Feb 16, 2007, 2:58 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.