Marco Sinhoreli
2008-Aug-11 18:43 UTC
[Pkg-xen-devel] Bug#494727: xen-utils-3.2-1: Fail to define a new domain.
Package: xen-utils-3.2-1 Version: 3.2.1-2 Severity: important The xm command has an option to define a domain in Xen: xm new vm_config_file.cfg Using default dependences it isn't working: :~# xm new oromigration-oromail.cfg Unexpected error: <type 'exceptions.ImportError'> Please report to xen-devel at lists.xensource.com Traceback (most recent call last): File "/usr/lib/xen-3.2-1/bin/xm", line 7, in <module> main.main(sys.argv) File "/usr/lib/xen-3.2-1/lib/python/xen/xm/main.py", line 2528, in main _, rc = _run_cmd(cmd, cmd_name, args) File "/usr/lib/xen-3.2-1/lib/python/xen/xm/main.py", line 2552, in _run_cmd return True, cmd(args) File "<string>", line 1, in <lambda> File "/usr/lib/xen-3.2-1/lib/python/xen/xm/main.py", line 1305, in xm_importcommand cmd = __import__(command, globals(), locals(), 'xen.xm') File "/usr/lib/xen-3.2-1/lib/python/xen/xm/new.py", line 26, in <module> from xen.xm.xenapi_create import * File "/usr/lib/xen-3.2-1/lib/python/xen/xm/xenapi_create.py", line 23, in <module> from xml.parsers.xmlproc import xmlproc, xmlval, xmldtd ImportError: No module named xmlproc After install the python-xml package it was fixed. Please set the python-xml in xen-utils-3.2 package. Regards, -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 2.6.18.8-xen (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages xen-utils-3.2-1 depends on: ii e2fslibs 1.40.11-1 ext2 filesystem libraries ii iproute 20080417-1 networking and traffic control too ii libc6 2.7-10 GNU C Library: Shared libraries ii libgcrypt11 1.4.1-1 LGPL Crypto library - runtime libr ii libgnutls26 2.4.1-1 the GNU TLS library - runtime libr ii libncurses5 5.6+20080308-1 Shared libraries for terminal hand ii libsdl1.2debian 1.2.13-2 Simple DirectMedia Layer ii libxenstore3.0 3.2.1-2 Xenstore communications library fo ii python 2.5.2-1 An interactive high-level object-o ii python-central 0.6.7 register and build utility for Pyt ii udev 0.114-2 /dev/ and hotplug management daemo ii xen-utils-common 3.2.0-2 XEN administrative tools - common ii zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime Versions of packages xen-utils-3.2-1 recommends: ii bridge-utils 1.4-3 Utilities for configuring the Linu ii xen-hypervisor-3.2-1-amd64 [x 3.2.1-2 The Xen Hypervisor on AMD64 -- no debconf information
Bastian Blank
2008-Aug-11 20:02 UTC
[Pkg-xen-devel] Bug#494727: Bug#494727: xen-utils-3.2-1: Fail to define a new domain.
severity 494727 normal thanks On Mon, Aug 11, 2008 at 03:43:00PM -0300, Marco Sinhoreli wrote:> The xm command has an option to define a domain in Xen: > xm new vm_config_file.cfgXenAPI is not the default operation mode and AFAIK still experimental. Bastian -- Immortality consists largely of boredom. -- Zefrem Cochrane, "Metamorphosis", stardate 3219.8