All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Randall K" <randallk@operamail.com>
To: xen-devel@lists.xensource.com
Subject: "ImportError: No module named ext" when launching a Xen v4 Guest.
Date: Fri, 18 Mar 2011 09:26:41 -0700	[thread overview]
Message-ID: <1300465601.13049.1431285197@webmail.messagingengine.com> (raw)

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@lists.xensource.com
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

             reply	other threads:[~2011-03-18 16:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-18 16:26 Randall K [this message]
2011-03-18 16:44 ` "ImportError: No module named ext" when launching a Xen v4 Guest Randall K

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1300465601.13049.1431285197@webmail.messagingengine.com \
    --to=randallk@operamail.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.