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-users

[Xen-users] Problems after clean_shutdown, xenapi

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Problems after clean_shutdown, xenapi
From: Stefan de Konink <skinkie@xxxxxxxxx>
Date: Sun, 9 Dec 2007 07:35:13 +0100 (CET)
Delivery-date: Sat, 08 Dec 2007 22:36:02 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
[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

<Prev in Thread] Current Thread [Next in Thread>