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

[Xen-devel] "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 xen-devel@xxxxxxxxxxxxxxxxxxx
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

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


 


Rackspace

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