Hi all, I''m having a little trouble setting up ConVirt 0.95 under a Debian Lenny Desktop: the Xen server is running Xen 3.2 under Debian etch. I''ve installed ConVirt on my desktop, but when I try to stablish a connection with the server via a SSH_TUNNEL, I get the following error: "No module named xen.xend.XendClient". Am I missing something? Thanks in advance! -- Saúl -- "Nunca subestimes el ancho de banda de un camión lleno de disketes." ---------------------------------------------------------------- http://www.saghul.net/ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
You need Xen installed on your desktop. You don''t need to be running xen, Convirt just needs the xend Python modules available. I have tried to get Convirt working several times, but never been able to get it talk a Xen server. On Mon, 2008-11-03 at 14:02 +0100, Saúl Ibarra wrote:> Hi all, > > I''m having a little trouble setting up ConVirt 0.95 under a Debian > Lenny Desktop: the Xen server is running Xen 3.2 under Debian etch. > I''ve installed ConVirt on my desktop, but when I try to stablish a > connection with the server via a SSH_TUNNEL, I get the following > error: "No module named xen.xend.XendClient". > > Am I missing something? Thanks in advance! > >-- Mike Brady PGP ID: 0x9C777DA4 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Thanks for your answer! Do you mean a full Xen installation? Or just some packages? -- Saúl -- "Nunca subestimes el ancho de banda de un camión lleno de disketes." ---------------------------------------------------------------- http://www.saghul.net/ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
It depends on how the packages are put together on Debian. On RHEL/Centos the xend Python modules are in the xen package, so you just need that and its dependencies. You do not need to be running a Xen kernel and as far as I can remember you do not need to be running xend. On Mon, 2008-11-03 at 17:02 +0100, Saúl Ibarra wrote:> Thanks for your answer! Do you mean a full Xen installation? Or just > some packages? > >-- Mike Brady PGP ID: 0x9C777DA4 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Mon, Nov 03, 2008 at 05:02:23PM +0100, Saúl Ibarra wrote:> Thanks for your answer! Do you mean a full Xen installation? Or just > some packages?For an OpenSuse: ~> rpm -q -R convirt-0.9.5-1.suse /bin/bash /bin/sh /usr/bin/env config(convirt) = 0.9.5-1.suse python >= 2.4 python-gtk python-paramiko >= 1.6.4 rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 vte xen >= 3.0.3 ~> Rainer _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Pekka.Panula@sofor.fi
2008-Nov-04 13:18 UTC
Re: [Xen-users] Problem setting up ConVirt 0.95
xen-users-bounces@lists.xensource.com wrote on 03.11.2008 15:02:03:> "Saúl Ibarra" <saghul@gmail.com> > Sent by: xen-users-bounces@lists.xensource.com > > 03.11.2008 15:03 > > To > > xen-users@lists.xensource.com > > cc > > Subject > > [Xen-users] Problem setting up ConVirt 0.95 > > Hi all, > > I''m having a little trouble setting up ConVirt 0.95 under a Debian > Lenny Desktop: the Xen server is running Xen 3.2 under Debian etch. > I''ve installed ConVirt on my desktop, but when I try to stablish a > connection with the server via a SSH_TUNNEL, I get the following > error: "No module named xen.xend.XendClient". > > Am I missing something? Thanks in advance!Do you have Ubuntu 8.10 on your desktop? Got same error after upgrading to 8.10. Just install python-xen-3.3 packet, it will install xen.xend.XenClient. Terveisin/Regards, Pekka Panula, Net Servant Oy _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
SOLVED! I installed xen-utils package, so that I get the python modules, but as they are not in the path, I added it manually , by editting src/convirt/core/platforms/xen/XenServerProxy.py file and adding the following: import sys sys.path.append("/usr/lib/xen-3.2-1/lib/python/") just before import xen.xend.XendClient. Hope someone finds it usefull :) -- Saúl -- "Nunca subestimes el ancho de banda de un camión lleno de disketes." ---------------------------------------------------------------- http://www.saghul.net/ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users