LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices

Reply
 
Search this Thread
Old 12-29-2010, 05:26 AM   #1
abatra.jnu
LQ Newbie
 
Registered: Dec 2010
Posts: 2

Rep: Reputation: 0
Question Xen to KVM using Virt-v2v


Hi,
I have a CentoS Host 5.5 running Xen kernel and a CentOs 5.5 Guest VM running on Xen Hypervisor. I wanted to convert this Guest to KVM so I installed Virt-v2v on the Host by subscribing to fedora repo( couldnt find Virt-v2v for CentOS ) The installation was fine .

I modified the network section of the sample virt-v2v.conf according to my Bridge.
Just for ur info the Guest VM is named xen2kvm.

Then as mentioned in the man pages of virt-v2v, I created the xmldump file of the Guest VM and called it xen2kvm.xml

Then I ran the command

[root@localhost ~]# virt-v2v -f /etc/virt-v2v.conf -i libvirtxml /etc/xen2kvm.xml

AND GOT THIS FOLLOWING ERROR:

Can't call method "findnodes" on an undefined value at /usr/lib/perl5/vendor_perl/5.8.8/Sys/VirtV2V/Connection.pm line 120.


This is a perl error i think . Any clues ?


Thanks
 
Old 12-29-2010, 07:32 AM   #2
harry edwards
Member
 
Registered: Nov 2007
Location: Lincolnshire, UK
Distribution: CentOS, Fedora, and Suse
Posts: 365

Rep: Reputation: 48
I think findnodes is part of libXML. Is this installed?
 
Old 12-30-2010, 12:51 AM   #3
abatra.jnu
LQ Newbie
 
Registered: Dec 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Question

The Following libxml and perl-XML packages are installed .


[root@localhost ~]# yum list installed | grep libxml
libxml2.i386 2.6.26-2.1.2.8 installed
libxml2.x86_64 2.6.26-2.1.2.8 installed
libxml2-devel.i386 2.6.26-2.1.2.8 installed
libxml2-devel.x86_64 2.6.26-2.1.2.8 installed
libxml2-python.x86_64 2.6.26-2.1.2.8 installed
perl-libxml-perl.noarch 0.08-1.2.1 installed

[root@localhost ~]# yum list installed | grep perl-XML
perl-XML-DOM.noarch 1.44-2.el5 installed
perl-XML-DOM-XPath.noarch 0.14-1.el5 installed
perl-XML-LibXML.x86_64 1.58-6 installed
perl-XML-LibXML-Common.x86_64 0.13-8.2.2 installed
perl-XML-NamespaceSupport.noarch 1.09-1.2.1 installed
perl-XML-Parser.x86_64 2.34-6.1.2.2.1 installed
perl-XML-RegExp.noarch 0.03-2.el5 installed
perl-XML-SAX.noarch 0.14-8 installed
perl-XML-Writer.noarch 0.604-1.el5 installed
perl-XML-XPath.noarch 1.13-4.el5 installed
perl-XML-XPathEngine.noarch 0.12-1.el5 installed

Still the same Error :

Can't call method "findnodes" on an undefined value at /usr/lib/perl5/vendor_perl/5.8.8/Sys/VirtV2V/Connection.pm line 120.

thanks .
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Hacking libvirt/virsh/virt-manager/virt-install at Xen 4.0 Dom0 on top of Ubunt LXer Syndicated Linux News 0 05-06-2010 02:50 PM
LXer: Virt-install&Virt-manager at Xen 4.0-rc8 (2.6.32.10 pvops) Dom0 on top Ubuntu K LXer Syndicated Linux News 0 03-26-2010 09:41 PM
LXer: KVM Guest Management With Virt-Manager On Ubuntu 8.10 LXer Syndicated Linux News 0 02-10-2009 02:50 PM
KVM + qemu + virt-manager issues cyanide_will Linux - Software 4 04-15-2008 01:43 AM


All times are GMT -5. The time now is 04:44 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration