shobha ranganathan
2006-Sep-26 21:41 UTC
[Xen-users] xenguest-install.py reports "no module named libvirt" in FC5 x86 mode
I download xen3.0.2-23.src.rpm and build the dom0 Kernel in Fedora COre 5 in x86 mode. I did not build a domU kernel at all. I tried to run ./xenguest-install.py in dom0 kernel after booting into it.. I got this error "No module named libvirt". I then tried installing libvirt-0.0.6-1.i386.rpm using "rpm --install libvirt-0.0.6-1.i386.rpm" I get failed dependencies error such as "libxenstore.so is needed by libvirt-0.0.6-1.i386 xen is needed by libvirt-0.0.6-1.i386" what am I missing here ? I have libxenstore.so in /usr/lib. thanks for your help Shobha --------------------------------- Stay in the know. Pulse on the new Yahoo.com. Check it out. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Anthony Liguori
2006-Sep-26 22:21 UTC
[Xen-users] Re: [Xen-devel] xenguest-install.py reports "no module named libvirt" in FC5 x86 mode
Please don''t cross-post. xenguest-install.py is not part of upstream Xen. It''s RedHat specific. Please ask in the fedora-xen users list. Regards, Anthony Liguori shobha ranganathan wrote:> I download xen3.0.2-23.src.rpm and build the dom0 Kernel in Fedora > COre 5 in x86 mode. I did not build a domU kernel at all. > > I tried to run ./xenguest-install.py in dom0 kernel after booting into > it.. I got this error > "No module named libvirt". > > I then tried installing libvirt-0.0.6-1.i386.rpm using > "rpm --install libvirt-0.0.6-1.i386.rpm" > > I get failed dependencies error such as > "libxenstore.so is needed by libvirt-0.0.6-1.i386 > xen is needed by libvirt-0.0.6-1.i386" > > what am I missing here ? I have libxenstore.so in /usr/lib. > > thanks for your help > Shobha > > ------------------------------------------------------------------------ > Stay in the know. Pulse on the new Yahoo.com. Check it out. > <http://us.rd.yahoo.com/evt=42974/*http://www.yahoo.com/preview> > ------------------------------------------------------------------------ > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Sadique Puthen Peedikayil
2006-Sep-27 05:39 UTC
Re: [Xen-users] xenguest-install.py reports "no module named libvirt" in FC5 x86 mode
libxenstore.so is part of xen-libs package which you don''t need while compiling from src rpms. If you are going to compile xen from source, you should have to install the libvirt rpm using --nodeps option and compile it. rpm --install libvirt-0.0.6-1.i386.rpm --nodeps shobha ranganathan wrote:> I download xen3.0.2-23.src.rpm and build the dom0 Kernel in Fedora > COre 5 in x86 mode. I did not build a domU kernel at all. > > I tried to run ./xenguest-install.py in dom0 kernel after booting into > it.. I got this error > "No module named libvirt". > > I then tried installing libvirt-0.0.6-1.i386.rpm using > "rpm --install libvirt-0.0.6-1.i386.rpm" > > I get failed dependencies error such as > "libxenstore.so is needed by libvirt-0.0.6-1.i386 > xen is needed by libvirt-0.0.6-1.i386" > > what am I missing here ? I have libxenstore.so in /usr/lib. > > thanks for your help > Shobha > > ------------------------------------------------------------------------ > Stay in the know. Pulse on the new Yahoo.com. Check it out. > <http://us.rd.yahoo.com/evt=42974/*http://www.yahoo.com/preview> > ------------------------------------------------------------------------ > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Daniel P. Berrange
2006-Sep-27 12:25 UTC
Re: [Xen-devel] Re: [Xen-users] xenguest-install.py reports "no module named libvirt" in FC5 x86 mode
On Wed, Sep 27, 2006 at 11:09:51AM +0530, Sadique Puthen Peedikayil wrote:> libxenstore.so is part of xen-libs package which you don''t need while > compiling from src rpms. > > If you are going to compile xen from source, you should have to install > the libvirt rpm using --nodeps option and compile it. > > rpm --install libvirt-0.0.6-1.i386.rpm --nodepsNo, there is absolutely *NO* need to install libvirt when compiling the Xen RPM - there is no compile time dependancy, and you certainly should not use --nodeps when installing RPMs.> shobha ranganathan wrote: > >I download xen3.0.2-23.src.rpm and build the dom0 Kernel in Fedora > >COre 5 in x86 mode. I did not build a domU kernel at all.Did you install both xen & xen-libs ?> >I tried to run ./xenguest-install.py in dom0 kernel after booting into > >it.. I got this error > >"No module named libvirt". > > > >I then tried installing libvirt-0.0.6-1.i386.rpm using > >"rpm --install libvirt-0.0.6-1.i386.rpm" > > > >I get failed dependencies error such as > >"libxenstore.so is needed by libvirt-0.0.6-1.i386 > >xen is needed by libvirt-0.0.6-1.i386" > > > >what am I missing here ? I have libxenstore.so in /usr/lib.The version of Xen you installed probably has a newer libxenstore.so which includes versioning, while the libvirt you installed was linked against the older non-versioned libxenstore.so. What does rpm -q --provides xen xen-libs | grep xenstore Show ? BTW, you''ll also want libvirt-python RPM too Regards, Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=| _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
shobha ranganathan
2006-Sep-27 16:35 UTC
Re: [Xen-users] xenguest-install.py reports "no module named libvirt" in FC5 x86 mode
1. Did you install both xen & xen-libs ? I picked xen-3.0.2-23.src.rpm as it was the Xen version supported in FC5. I did "make world" and "make install". Ofcourse I created the ramdisk images as well. So I did not specifically install xen-libs. Please let me know if I missed any steps. 2. rpm -q --provides xen xen-libs | grep xenstore -- Show ? I tried this .This shows me nothing. libvirt-0.0.6-1.i386 is the version that is available on the FC5 package/Cds. My question --- what is the right Xen source for FC5 in x86 and FC6 Test 1 in x86? From my search, I found they use the same xen-3.0.2-23.src.rpm. I can pick them and build it. I have been downloading stuff from the right websites. But I still get mismatches like these. thanks for all your help Shobha "Daniel P. Berrange" <berrange@redhat.com> wrote: On Wed, Sep 27, 2006 at 11:09:51AM +0530, Sadique Puthen Peedikayil wrote:> libxenstore.so is part of xen-libs package which you don''t need while > compiling from src rpms. > > If you are going to compile xen from source, you should have to install > the libvirt rpm using --nodeps option and compile it. > > rpm --install libvirt-0.0.6-1.i386.rpm --nodepsNo, there is absolutely *NO* need to install libvirt when compiling the Xen RPM - there is no compile time dependancy, and you certainly should not use --nodeps when installing RPMs.> shobha ranganathan wrote: > >I download xen3.0.2-23.src.rpm and build the dom0 Kernel in Fedora > >COre 5 in x86 mode. I did not build a domU kernel at all.Did you install both xen & xen-libs ?> >I tried to run ./xenguest-install.py in dom0 kernel after booting into > >it.. I got this error > >"No module named libvirt". > > > >I then tried installing libvirt-0.0.6-1.i386.rpm using > >"rpm --install libvirt-0.0.6-1.i386.rpm" > > > >I get failed dependencies error such as > >"libxenstore.so is needed by libvirt-0.0.6-1.i386 > >xen is needed by libvirt-0.0.6-1.i386" > > > >what am I missing here ? I have libxenstore.so in /usr/lib.The version of Xen you installed probably has a newer libxenstore.so which includes versioning, while the libvirt you installed was linked against the older non-versioned libxenstore.so. What does rpm -q --provides xen xen-libs | grep xenstore Show ? BTW, you''ll also want libvirt-python RPM too Regards, Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=| --------------------------------- Want to be your own boss? Learn how on Yahoo! Small Business. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Daniel P. Berrange
2006-Sep-27 16:40 UTC
Re: [Xen-users] xenguest-install.py reports "no module named libvirt" in FC5 x86 mode
On Wed, Sep 27, 2006 at 09:35:11AM -0700, shobha ranganathan wrote:> 1. Did you install both xen & xen-libs ? > I picked xen-3.0.2-23.src.rpm as it was the Xen version supported in FC5. > I did "make world" and "make install". Ofcourse I created the ramdisk images as well. So I did not specifically install xen-libs. Please let me know if I missed any steps. > > 2. rpm -q --provides xen xen-libs | grep xenstore -- Show ? > I tried this .This shows me nothing. libvirt-0.0.6-1.i386 is the version that is available on the FC5 package/Cds. > > My question --- what is the right Xen source for FC5 in x86 and FC6 Test 1 in x86?FC6test1 is pretty old by now - you should move up to test3, or even rawhide. Sources for test3 are here: http://download.fedora.devel.redhat.com/pub/fedora/linux/core/test/5.92/source/SRPMS/ Sources for rawhide are here: http://download.fedora.devel.redhat.com/pub/fedora/linux/core/development/source/SRPMS/ For FC5, you don''t want to use the GA bits - get the latest published errata instead: http://download.fedora.devel.redhat.com/pub/fedora/linux/core/updates/5/SRPMS/ Dan -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=| _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Daniel P. Berrange
2006-Sep-27 16:51 UTC
Re: [Xen-users] xenguest-install.py reports "no module named libvirt" in FC5 x86 mode
On Wed, Sep 27, 2006 at 05:40:41PM +0100, Daniel P. Berrange wrote:> On Wed, Sep 27, 2006 at 09:35:11AM -0700, shobha ranganathan wrote: > > 1. Did you install both xen & xen-libs ? > > I picked xen-3.0.2-23.src.rpm as it was the Xen version supported in FC5. > > I did "make world" and "make install". Ofcourse I created the ramdisk images as well. So I did not specifically install xen-libs. Please let me know if I missed any steps. > > > > 2. rpm -q --provides xen xen-libs | grep xenstore -- Show ? > > I tried this .This shows me nothing. libvirt-0.0.6-1.i386 is the version that is available on the FC5 package/Cds. > > > > My question --- what is the right Xen source for FC5 in x86 and FC6 Test 1 in x86?Opps, got all those URLs wrong - remove the ''.devel'' bit of the hostname ..> FC6test1 is pretty old by now - you should move up to test3, or even rawhide. > > Sources for test3 are here: > > http://download.fedora.devel.redhat.com/pub/fedora/linux/core/test/5.92/source/SRPMS/http://download.fedora.redhat.com/pub/fedora/linux/core/test/5.92/source/SRPMS> Sources for rawhide are here: > > http://download.fedora.devel.redhat.com/pub/fedora/linux/core/development/source/SRPMS/http://download.fedora.redhat.com/pub/fedora/linux/core/development/source/SRPMS/> > For FC5, you don''t want to use the GA bits - get the latest published errata > instead: > > http://download.fedora.devel.redhat.com/pub/fedora/linux/core/updates/5/SRPMS/http://download.fedora.redhat.com/pub/fedora/linux/core/updates/5/SRPMS/ Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=| _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users