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
Richard W.M. Jones
2014-Nov-19 09:47 UTC
Re: [Libguestfs] virt-v2v: Died at /usr/bin/virt-p2v-server line 411
On Wed, Nov 19, 2014 at 09:08:36AM +0100, Nicolas Ecarnot wrote:> 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.)To avoid libvirt problems, do: export LIBGUESTFS_BACKEND=direct Why don't you use the ISO? Burn it onto a CD and boot it. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://people.redhat.com/~rjones/virt-top
Nicolas Ecarnot
2014-Nov-19 11:58 UTC
Re: [Libguestfs] virt-v2v: Died at /usr/bin/virt-p2v-server line 411
Le 19/11/2014 10:47, Richard W.M. Jones a écrit :> On Wed, Nov 19, 2014 at 09:08:36AM +0100, Nicolas Ecarnot wrote: >> 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.) > > To avoid libvirt problems, do: > > export LIBGUESTFS_BACKEND=direct > > Why don't you use the ISO? Burn it onto a CD and boot it. > > Rich. >OK Richard, I promised I would wait a day before getting back to this issue, but you know how to tease a sysadmin ;) Well, I did boot your iso file as a CD, and now it is booting and I get the very last version of virt-p2v (Wow, lots of additionnal options : great!). I can confirm the ssh test connexion is useful and always working. I like the new fields I can fill to (try to) direct the flow towards a real oVirt/RHEV NFS storage domain. But it is now failing with an error message telling it can not connect to the local socket /var/run/libvirt/libvirt-sock. I guess this is related to your previous answer : On 19/11/2014 10:47, Richard W.M. Jones wrote : > On Wed, Nov 19, 2014 at 09:08:36AM +0100, Nicolas Ecarnot wrote: >> 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.) > > To avoid libvirt problems, do: > > export LIBGUESTFS_BACKEND=direct But in this use case, I don't know where to set this variable? I'd be glad to set it on the source machine, before running the virt-p2v GUI. But the usual alt-F1 or alt-F2 does not give me a shell prompt anymore. Instead, a quickly blinking message shows it is trying to (systemctl) start the service and fails. I'd be glad to set it in the conversion server, but where and when? In case this could be useful, here is below the versions implied : - virt-v2v: libguestfs 1.28.1 (x86_64) - virt-p2v-20141119 At this point, I guess I have something to do on the conversion server...? -- Nicolas Ecarnot
tzheng
2014-Nov-19 23:18 UTC
Re: [Libguestfs] virt-v2v: Died at /usr/bin/virt-p2v-server line 411
On 11/19/2014 04:47 AM, Richard W.M. Jones wrote:> On Wed, Nov 19, 2014 at 09:08:36AM +0100, Nicolas Ecarnot wrote: >> 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.) > To avoid libvirt problems, do: > > export LIBGUESTFS_BACKEND=direct > > Why don't you use the ISO? Burn it onto a CD and boot it.I've tried the ISO,but I use usb disk. # livecd-iso-to-disk /livecd-p2v-201411180515.iso /dev/sdb However,when I use the usb disk to boot,it fails with the below error: No default or UI configuration directive found. Then it hangs with boot:.> > Rich. >
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
- Re: virt-v2v: Died at /usr/bin/virt-p2v-server line 411