"ImportError: No module named ext" when launching a Xen v4 Guest.
Hello,
I'm trying to get a Xen v4 Guest running.
When I start it I get a "ImportError: No module named ext" error and a note to report the problem to this list.
xm create -x guest.cfg
Using config file "./guest.cfg".
Unexpected error: <type 'exceptions.ImportError'>
Please report to [email protected]
Traceback (most recent call last):
File "/usr/sbin/xm", line 7, in <module>
main.main(sys.argv)
File "/usr/lib64/python2.7/site-packages/xen/xm/main.py", line 3988, in main
_, rc = _run_cmd(cmd, cmd_name, args)
File "/usr/lib64/python2.7/site-packages/xen/xm/main.py", line 4012, in _run_cmd
return True, cmd(args)
File "<string>", line 1, in <lambda>
File "/usr/lib64/python2.7/site-packages/xen/xm/main.py", line 1589, in xm_importcommand
cmd.main([command] + args)
File "/usr/lib64/python2.7/site-packages/xen/xm/create.py", line 1553, in main
from xml.dom.ext import PrettyPrint as XMLPrettyPrint
ImportError: No module named ext
On the Host I installed
xen-4.0.2_02-4.7.1.x86_64
xen-libs-4.0.2_02-4.7.1.x86_64
xen-tools-4.0.2_02-4.7.1.x86_64
The config file I'm using is
bootloader = '/usr/lib/xen/boot/domUloader.py' bootargs = '--entry=xvda1:vmlinuz-xen,/boot/initrd-xen' builder = 'linux'
disk = ['phy:/dev/VG0/Guest,xvda,w']
extra = 'textmode=1 xencons=xvc0'
maxmem = 1024
memory = 1024
name = 'guest'on_crash = 'destroy'on_reboot = 'restart'on_shutdown = 'destroy'
vif = ['']
vfb = ['type=vnc']
I don't know much about this yet but I can sure try to provide any info you might need.
Thanks a bunch.
Randy
Quoted 1 line · Randall K
ImportError: No module named ext
I found a report,
http://www.mail-archive.com/[email protected]/msg00474.html,
about another package that says in it "+- fixed a crash because xml.dom.ext is not available on 11.4".
If it's really missing and Xen needs it I don't know what to do about that.
Randy