This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-devel] "ImportError: No module named ext" when launching a Xen v4 G

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] "ImportError: No module named ext" when launching a Xen v4 Guest.
From: "Randall K" <randallk@xxxxxxxxxxxxx>
Date: Fri, 18 Mar 2011 09:26:41 -0700
Delivery-date: Fri, 18 Mar 2011 09:27:46 -0700
Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=message-id:from:to:mime-version:content-transfer-encoding:content-type:reply-to:subject:date; s=smtpout; bh=aD4HKwIiRDTnbVvagIhWG4kRUWQ=; b=oO380jsfVJMCViu8LWrTFKQPATrmUIVyfJ8lXapjlbH2sHeJIgun/l9T06/eLWpaemTIHrR8yBjkgcYErCV0J1NCbRAzWrKEESwxchj8kxyk+6YfNJ1tfGE6WGK2LlHSm4gAYXmDD90ffaKgSN/ZlbmU3Kc5611xpta3nS5Cj8s=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Reply-to: randallk@xxxxxxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

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>
  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


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.


Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>