[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] xen-4.0 xend needs python2.5 to start in karmic



I discovered python2.5 is required to build/run the xend
from xen-4.0 on the current karmic release from ubuntu.
My karmic install was minimal and contained only python2.6
even after installing all the packages required to
fetch and build xen-4.0 and the pv_ops kernel.

Running 'xend start' returned with no output on stdout.
The xend log file said 'rebuild the user-space tool set'
since the hypervisor syscall had returned EACCES.
This happened on both 64bit and 32bit hardware.  After
much rebuilding of xen-tools, it turned out python2.5 solved
the issue.

I installed the python2.5-dev package, linked /usr/bin/python
to python2.5 and rebuilt the tools.  THen xend started ok.
PVMs start ok as well, with both dom0 and domU running
the pv_ops dom0 kernel.

This is with the xen-tools built from 4.0 testing source pulled on Apr 15.
(XEN) Xen version 4.0.1-rc1-pre (becker@xxxxxxxxxxxxxxxx) (gcc version 4.4.1 (Ubuntu 4.4.1-4ubuntu9) ) Fri Apr 16 10:54:02 EDT 2010
(XEN) Latest ChangeSet: Mon Apr 12 18:29:36 2010 +0100 21107:11010cf627c8


The python2.6 build of xend logged:

Xend started at Fri Apr 16 13:52:10 2010.
domctl operation failed -- need to rebuild the user-space tool set?
sysctl operation failed -- need to rebuild the user-space tool set?
Exception starting xend: (13, 'Permission denied')
Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner
    self.run()
File "/usr/lib/python2.6/dist-packages/xen/xend/XendMonitor.py", line 230, in run
    for domid, cputimes in self._get_cpu_stats().items():
File "/usr/lib/python2.6/dist-packages/xen/xend/XendMonitor.py", line 208, in _get_cpu_stats
    for domain in self.xc.domain_getinfo():
Error: (13, 'Permission denied')





--
David Becker
becker@xxxxxxxxxxx

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.