Pages

Sunday, September 19, 2010

Xen - Error : Resolving warning messages

I installed xen-3.2-1 in BOSS Linux System
when ever I put

xm list

I got the following error,

/usr/lib/xen-3.2-1/bin/../lib/python/xen/util/xsm/acm/acm.py:28: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012.
  from xen.lowlevel import acm
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0  1830     2     r-----   1928.4


I resovled this by seeing this link,

http://lists.xensource.com/archives/html/xen-users/2007-09/msg00374.html

Edit the file,

/usr/lib/python2.5/warnings.py

The 21st line will be,

defaultaction = "default"

We need to change the value of this variable to "ignore"

defaultaction = "ignore"

Now save the file.

If you execute the same command,
xm list


you will not get those warnings.


Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0  1830     2     r-----   2227.3

No comments:

Post a Comment