WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] xen source (xm new machinename)

To: David Hláčik <david@xxxxxxxxx>, <Xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] xen source (xm new machinename)
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Sun, 18 May 2008 12:55:34 +0100
Delivery-date: Sun, 18 May 2008 04:55:54 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <cba415ca0805180431n2c305c34o6937d4761f4a8ade@xxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Aci43hQgUoNnyiTREd2shgAWy6hiGQ==
Thread-topic: [Xen-devel] xen source (xm new machinename)
User-agent: Microsoft-Entourage/11.4.0.080122
You probably need to install a PyXML package from the Centos distribution.

 -- Keir

On 18/5/08 12:31, "David Hláčik" <david@xxxxxxxxx> wrote:

Hi, i am running Centos5.1 i386, with xen3.2.0 compiled from source rpms provided on xen.org <http://xen.org> . As dom0 kernel i am using centos-xen kernels.
When i am trying to add new machine to xen source using xm new, this is what i get :
 
[root@xxx /]# xm new centos01
Unexpected error: exceptions.ImportError
Please report to xen-devel@xxxxxxxxxxxxxxxxxxx
Traceback (most recent call last):
  File "/usr/sbin/xm", line 10, in ?
    main.main(sys.argv)
  File "/usr/lib/python2.4/site-packages/xen/xm/main.py", line 2531, in main
    _, rc = _run_cmd(cmd, cmd_name, args)
  File "/usr/lib/python2.4/site-packages/xen/xm/main.py", line 2555, in _run_cmd
    return True, cmd(args)
  File "<string>", line 1, in <lambda>
  File "/usr/lib/python2.4/site-packages/xen/xm/main.py", line 1308, in xm_importcommand
    cmd = __import__(command, globals(), locals(), 'xen.xm')
  File "/usr/lib/python2.4/site-packages/xen/xm/new.py", line 26, in ?
    from xen.xm.xenapi_create import *
  File "/usr/lib/python2.4/site-packages/xen/xm/xenapi_create.py", line 23, in ?
    from xml.parsers.xmlproc import xmlproc, xmlval, xmldtd
ImportError: No module named xmlproc
 
domU machines run using xm create machinename works fine.
 
Thanks for help!

D.


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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>