[2007-12-09 07:31:00 4803] ERROR (__init__:1094) Internal error handling
VM.get_record
Traceback (most recent call last):
  File "/usr/lib64/python2.5/site-packages/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/python2.5/site-packages/xen/xend/XendAPI.py", line 219,
in f
    return func(self, *args, **kwargs)
  File "/usr/lib64/python2.5/site-packages/xen/xend/XendAPI.py", line 254,
in check_session
    return func(self, session, *args, **kwargs)
  File "/usr/lib64/python2.5/site-packages/xen/xend/XendAPI.py", line 310,
in <lambda>
    'VM', func, *args, **kwargs)
  File "/usr/lib64/python2.5/site-packages/xen/xend/XendAPI.py", line 266,
in _check_ref
    return func(api, session, ref, *args, **kwargs)
  File "/usr/lib64/python2.5/site-packages/xen/xend/XendAPI.py", line
1633, in VM_get_record
    'VCPUs_params': xeninfo.get_vcpus_params(),
  File "/usr/lib64/python2.5/site-packages/xen/xend/XendDomainInfo.py",
line 2261, in get_vcpus_params
    retval = xc.sched_credit_domain_get(self.getDomid())
Error: (3, 'No such process')
xen01 external # xm list
Name                                        ID   Mem VCPUs      State
Time(s)
Domain-0                                     0  7803     8     r-----
54.6
klant1_gentoo                                2   256     1     ------
6.4
It seems my webinterface script stops the domain, but never stops it for
real.
I use the following code to shutdown:
map(lambda vm_ref: server.xenapi.VM.clean_shutdown(vm_ref), vm_refs)
The code from xm also implements a waiting routine, is this important?
Stefan
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
 |