From: Ruben Kerkhof Subject: Re: Error adding domain to xend domain management Date: Mon, 4 May 2009 13:44:20 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ananth Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On Fri, May 1, 2009 at 2:24 AM, Ananth wrote: > Hi, > I executed the below command to add a domain to xend managed list. > > root@cbananth:/home/cbananth# xm new > new_guest/guests/fedora.fc9.20080706.img/fedora.fc9.xen3.cfg > Unexpected error: > > Below is the output... > > Please report to xen-devel@lists.xensource.com > Traceback (most recent call last): > =C2=A0 File "/usr/sbin/xm", line 10, in > =C2=A0=C2=A0=C2=A0 main.main(sys.argv) > =C2=A0 File "//usr/lib/python/xen/xm/main.py", line 2884, in main > =C2=A0=C2=A0=C2=A0 _, rc =3D _run_cmd(cmd, cmd_name, args) > =C2=A0 File "//usr/lib/python/xen/xm/main.py", line 2908, in _run_cmd > =C2=A0=C2=A0=C2=A0 return True, cmd(args) > =C2=A0 File "", line 1, in > =C2=A0 File "//usr/lib/python/xen/xm/main.py", line 1375, in xm_importcom= mand > =C2=A0=C2=A0=C2=A0 cmd =3D __import__(command, globals(), locals(), 'xen.= xm') > =C2=A0 File "//usr/lib/python/xen/xm/new.py", line 26, in > =C2=A0=C2=A0=C2=A0 from xen.xm.xenapi_create import * > =C2=A0 File "//usr/lib/python/xen/xm/xenapi_create.py", line 23, in > =C2=A0=C2=A0=C2=A0 from xml.parsers.xmlproc import xmlproc, xmlval, xmldt= d > ImportError: No module named xmlproc > > Please guide me on how to add a domain to the xend managed list of domain= s. > > Thank you. > > Warm Regards > Ananth > If you're on Fedora, try installing PyXML. Regards, Ruben