Recently in XEN Category

まだ原因不明だが、 Xen API でたたくと、よくわからんエラーが出てしまい、期待される値が返ってこなくなることがある。

$ sudo python
Python 2.4.4 (#2, Apr  5 2007, 18:43:10) 
[GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linux2
Type "help", "copyright", "credits" or "license" for more information.

>>> import sys

>>> sys.path.append('/usr/lib/python')
>>> from xen.xend import XendClient
>>> from xen.xm.XenAPI import Session

>>> session = Session('httpu://'+XendClient.XEN_API_SOCKET)
>>> session.login_with_password('', '')

>>> dom_recs = session.xenapi.VM.get_all_records()
>>> dom_metrics_recs = session.xenapi.VM_metrics.get_all_records()
Traceback (most recent call last):
  File "", line 1, in ?
  File "//usr/lib64/python/xen/xm/", line 213, in __call__
    return self.__send(self.__name, args)
  File "//usr/lib64/python/xen/xm/", line 141, in xenapi_request
    result = _parse_result(getattr(self, methodname)(*full_params))
  File "//usr/lib64/python/xen/xm/", line 188, in _parse_result
    raise Failure(result['ErrorDescription'])
xen.xm.XenAPI.Failure: Internal error: (3, 'No such process').

xend を restart しても状況は変わらず。

システムを reboot すると何事もなかったようにエラーはなくなる。 そしてまたある時に、「Internal error: (3, No such process)」が出始めたりする。



OpenID accepted here Learn more about OpenID
Powered by Movable Type 4.23-en

About this Archive

This page is an archive of recent entries in the XEN category.

VINE is the previous category.

くるま is the next category.

Find recent content on the main index or look in the archives to find all content.