hello,
Env:
Ubuntu Karmic Server 9.10
Xen 4.0 rc8
kernel 2.6.32.10 pv_ops
Trying to import a working xen cfg file into domain management causes this
crash. This ability is not so vital, but maybe someone can shed light on the
missing packages/thing.
tlviewer@ubsvr91:~$ sudo xm new /etc/xen/vm/karmic.py
Unexpected error: <type 'exceptions.ImportError'>
Please report to xen-devel@xxxxxxxxxxxxxxxxxxx
Traceback (most recent call last):
File "/usr/sbin/xm", line 7, in <module>
main.main(sys.argv)
File "/usr/local/lib/python2.6/dist-packages/xen/xm/main.py", line 3616, in
main
_, rc = _run_cmd(cmd, cmd_name, args)
File "/usr/local/lib/python2.6/dist-packages/xen/xm/main.py", line 3640, in
_run_cmd
return True, cmd(args)
File "<string>", line 1, in <lambda>
File "/usr/local/lib/python2.6/dist-packages/xen/xm/main.py", line 1449, in
xm_importcommand
cmd = __import__(command, globals(), locals(), 'xen.xm')
File "/usr/local/lib/python2.6/dist-packages/xen/xm/new.py", line 26, in
<module>
from xen.xm.xenapi_create import *
File "/usr/local/lib/python2.6/dist-packages/xen/xm/xenapi_create.py", line
23, in <module>
from xml.parsers.xmlproc import xmlproc, xmlval, xmldtd
ImportError: No module named xmlproc
tlviewer@ubsvr91:~$ xm --help | grep new
new Adds a domain to Xend domain management
-------------------------
tlviewer@ubsvr91:~$ sudo xm info
host : ubsvr91
release : 2.6.32.10
version : #2 SMP Mon Mar 29 02:13:25 PDT 2010
machine : x86_64
nr_cpus : 2
nr_nodes : 1
cores_per_socket : 2
threads_per_core : 1
cpu_mhz : 3066
hw_caps :
bfebfbff:20100800:00000000:00000940:0408e3bd:00000000:00000001:00000000
virt_caps : hvm
total_memory : 2846
free_memory : 2527
node_to_cpu : node0:0-1
node_to_memory : node0:2527
node_to_dma32_mem : node0:2527
max_node_id : 0
xen_major : 4
xen_minor : 0
xen_extra : .0-rc8
xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32
hvm-3.0-x86_32p hvm-3.0-x86_64
xen_scheduler : credit
xen_pagesize : 4096
platform_params : virt_start=0xffff800000000000
xen_changeset : Fri Mar 26 10:29:38 2010 +0000 21074:542211ba675c
xen_commandline : dummy=dummy dom0_mem=512M
cc_compiler : gcc version 4.4.1 (Ubuntu 4.4.1-4ubuntu9)
cc_compile_by : tlviewer
cc_compile_domain : tlviewer.org
cc_compile_date : Mon Mar 29 01:11:03 PDT 2010
xend_config_format : 4
--
Mark
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|