[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@lists.xensource.com
http://lists.xensource.com/xen-users
Stefan de Konink
2007-Dec-09 18:23 UTC
Re: [Xen-users] Problems after clean_shutdown, xenapi
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 http://marc.info/?l=xen-devel&m=119574772510556&w=2 It seems that bugzilla isn''t used, but it is fixed in unstable. Did not test that yet. Stefan -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHXDK1YH1+F2Rqwn0RCjpwAJ9fp5Kt7yPxBCh2n2mHa9WQbAuK7ACfSOSh FbZm8kZ7U0QFWxPOlNAEfWw=Ba51 -----END PGP SIGNATURE----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users