Nicolas Ecarnot
2014-Nov-18 14:06 UTC
Re: [Libguestfs] virt-v2v: Died at /usr/bin/virt-p2v-server line 411
Le 17/11/2014 20:31, Richard W.M. Jones a écrit :> On Mon, Nov 17, 2014 at 07:45:12PM +0100, Nicolas Ecarnot wrote: >> But I would be enthusiastic to install a dedicated P2V server, on >> RH7, with the very last libguestfs, if that helps me to insure our >> future P2V will succeed. >> But according to what I understood so far, I'm not sure one can >> install such a P2V server, independent of any oVirt setup. >> >> As a matter of fact, I'll be glad to test the last libguestfs >> version, but I don't know where I could use it? > > Just install a RHEL 7.0 VM, and upgrade it with the packages by > following the instructions here: > > https://www.redhat.com/archives/libguestfs/2014-May/msg00090.html > > The other minimum requirements are covered here: > > http://libguestfs.org/virt-v2v.1.html#resource-requirements > > Rich. >Richard, Matthew et al, In a VM, I installed a RHEL 7.0 and tried to install libguestfs-tools but I saw there were many errors related to missing repositories and other errors. I wasn't able to cope with these issues. So I tried to install another VM with CentOS 7.0, and I tried to install libguestfs-tools. Another problem came from the too old version of glusterfs-api, so I added the lastest glusterfs repo definition, upgraded, and succeed in installing libguestfs-tools and virt-v2v. Then I PXE-boot my source physical machine (well, at present, at test time, another VM but whatever), when getting the graphical prompt to connect to the conversion server, I get "Failed to start virt-v2v-server on remote server". though I witness the SSH connection is OK on the conversion server. On this conversion server, I find no trace of any /usr/bin/virt-p2v-server binary. See : [root@serv-p2v-adm1 log]# rpm -qa virt-v2v virt-v2v-1.28.1-1.11.el7.x86_64 [root@serv-p2v-adm1 log]# rpm -qa virt-v2v virt-v2v-1.28.1-1.11.el7.x86_64 [root@serv-p2v-adm1 log]# rpm -ql virt-v2v /usr/bin/virt-p2v-make-disk /usr/bin/virt-p2v-make-kickstart /usr/bin/virt-v2v /usr/libexec/virt-p2v /usr/share/doc/virt-v2v-1.28.1 /usr/share/doc/virt-v2v-1.28.1/COPYING /usr/share/doc/virt-v2v-1.28.1/README /usr/share/doc/virt-v2v-1.28.1/TODO /usr/share/man/man1/virt-p2v-make-disk.1.gz /usr/share/man/man1/virt-p2v-make-kickstart.1.gz /usr/share/man/man1/virt-p2v.1.gz /usr/share/man/man1/virt-v2v.1.gz /usr/share/virt-p2v /usr/share/virt-p2v/issue /usr/share/virt-p2v/launch-virt-p2v /usr/share/virt-p2v/p2v.ks.in /usr/share/virt-p2v/p2v.service /usr/share/virt-tools /usr/share/virt-tools/rhev-apt.exe /usr/share/virt-tools/rhsrvany.exe Is this virt-p2v-server really missing, or is it done another way now we're on 7.x ? I ask that because when comparing with the same rpm on a 6.6, it contains much more things, amongst them the binary server and the numerous perl scripts. -- Nicolas Ecarnot
Richard W.M. Jones
2014-Nov-18 15:11 UTC
Re: [Libguestfs] virt-v2v: Died at /usr/bin/virt-p2v-server line 411
On Tue, Nov 18, 2014 at 03:06:44PM +0100, Nicolas Ecarnot wrote: [...]> Then I PXE-boot my source physical machine (well, at present, at > test time, another VM but whatever), when getting the graphical > prompt to connect to the conversion server, I get > "Failed to start virt-v2v-server on remote server". > though I witness the SSH connection is OK on the conversion server. > > On this conversion server, I find no trace of any > /usr/bin/virt-p2v-server binary.You're using the wrong version of virt-p2v. You have to use the new version. You can build it yourself using the scripts 'virt-p2v-make-disk' or 'virt-p2v-make-kickstart' (read the manual pages first), or try a recent version that I put here: http://oirase.annexia.org/virt-p2v/ Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html
Nicolas Ecarnot
2014-Nov-19 08:08 UTC
Re: [Libguestfs] virt-v2v: Died at /usr/bin/virt-p2v-server line 411
Le 18/11/2014 16:11, Richard W.M. Jones a écrit :> On Tue, Nov 18, 2014 at 03:06:44PM +0100, Nicolas Ecarnot wrote: > [...] >> Then I PXE-boot my source physical machine (well, at present, at >> test time, another VM but whatever), when getting the graphical >> prompt to connect to the conversion server, I get >> "Failed to start virt-v2v-server on remote server". >> though I witness the SSH connection is OK on the conversion server. >> >> On this conversion server, I find no trace of any >> /usr/bin/virt-p2v-server binary. > > You're using the wrong version of virt-p2v. You have to use the new > version. > > You can build it yourself using the scripts 'virt-p2v-make-disk' or > 'virt-p2v-make-kickstart' (read the manual pages first), or try a > recent version that I put here: > > http://oirase.annexia.org/virt-p2v/ > > Rich. >Richard, Thanks for having posted your iso (and the .tar). I installed the .tar to replace my /tftpboot/p2vboot directory, but when booting, I'm hit by the now know bug "Failed to load ldlinux.c32" (PXELINUX 6.03) According to what I googled (quite intensively), it may be due to the fact that the files contained in /tftpboot/p2vboot are not at the root (/tftpboot). Before going further, I have to say that I still need to succeed in this P2V task. Since long, I'm still very motivated to try and keep progressing. But today, failures after failures, I must admit I'm getting a little tired of all these steps : - tftpboot install - pxe setup - dhcp setup with special options - p2vboot of the source machine - failure in the perl script with no explanation - install of the updated version of virt-p2v.iso, to get debug checkbox - fsck of the source - no real help from the debug log (a "cp" command failing, but why?) - install of a more recent virt-p2v, that can not boot due to ldlinux.c32 missing As the ldlinux.c32 file was missing, I found it somewhere and placed it into /tftpboot, then into /tftpboot/p2vboot, but it is not found either after gPXE find it ip address. I tried to use the virt-p2v-make-disk, but it failed to connect to a libvirt socket (obviously, there is none running in this VM.) Well, I take one day off (this issue). I'll go breathe another air, and see you tomorrow because I'm getting a point I find it necessary. Thanks for reading this far. See you tomorow. -- Nicolas Ecarnot
Reasonably Related Threads
- Re: virt-v2v: Died at /usr/bin/virt-p2v-server line 411
- Re: virt-v2v: Died at /usr/bin/virt-p2v-server line 411
- Re: virt-v2v: Died at /usr/bin/virt-p2v-server line 411
- Re: virt-v2v: Died at /usr/bin/virt-p2v-server line 411
- virt-v2v: Died at /usr/bin/virt-p2v-server line 411