<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif">Greetings Richard,<br><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">Thanks for the pointer. It was helpful. (Note: We have 2 physical machines, one is p2v machine & the other is conversion server. Both the machines have been updated with<span style="font-size:10pt;font-family:"Segoe UI",sans-serif;color:black">  "<i>yum install qemu
libvirt-client virt-manager   virt-viewer guestfish libguestfs-tools virt-top</i></span>")<br><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">We have couple of questions for the exact functioning of virt-p2v:<br><ol><li>We are unable to locate the following command for injecting the ssh private key of p2v machine<span style="font-size:10pt;font-family:"Courier New";color:rgb(204,0,0)">: <br></span><span style="font-size:10pt;font-family:"Courier New";color:rgb(204,0,0)">










</span><div class="">

<p class="MsoNormal" style="margin:2pt 0in;line-height:normal"><i><b><span style="font-size:10pt;font-family:"Segoe UI",sans-serif;color:black">virt-p2v-make-kickstart
p2v.ks --inject-ssh-identity id_rsa</span></b></i></p>

<p class="MsoNormal" style="margin:2pt 0in;line-height:normal"><span style="color:rgb(255,0,0)"><i><span style="font-size:10pt;font-family:"Segoe UI",sans-serif">virt-p2v-make-kickstart:
unrecognized option '--inject-ssh-identity'</span></i></span></p><span style="color:rgb(255,0,0)"><i>

</i></span><p class="MsoNormal" style="margin:2pt 0in;line-height:normal"><span style="color:rgb(255,0,0)"><i><span style="font-size:10pt;font-family:"Segoe UI",sans-serif">virt-p2v-make-kickstart:
problem parsing the command line arguments</span></i></span></p></div></li><li><span style="color:rgb(255,0,0)"><i><span style="font-size:10pt;font-family:"Segoe UI",sans-serif">Further we are also unable to find any executable "virt-p2v" on the p2v machine</span></i></span></li><li><span style="color:rgb(255,0,0)"><i><span style="font-size:10pt;font-family:"Segoe UI",sans-serif">We are able to view the virt-p2v in GUI mode, only after booting the hardware using the ISO image, generated on p2v machine (The hardware used for booting is the same physical p2v machine). Is this the right way? We are observing the following error:</span></i></span></li></ol><p><br></p><p><i>Would you be able to provide us with exact steps required to implement the virt-p2v? </i><br></p></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 2, 2015 at 2:18 PM, Richard W.M. Jones <span dir="ltr"><<a href="mailto:rjones@redhat.com" target="_blank">rjones@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Mon, Nov 02, 2015 at 12:06:41AM +0530, Ravi Chaudhary wrote:<br>
> Greetings Richard,<br>
><br>
> To add to the above information, we are following the understated steps:<br>
><br>
</span>>    1. We have 2 BL460c (Gen8) with Fedora 21 installed. Both the<br>
<span class="">>    machines(BL1 & BL2) have been updated with virt-v2v packages<br>
</span>>    2. On BL1, we execute the following commands:<br>
>    1. virt-p2v-make-kickstart fedora<br>
>       2. livecd-creator p2v.ks<br>
>    3. After creating the "livecd-p2v-2xxxxxx.iso" file, we launch the<br>
>    'virt-manager', from BL1<br>
<br>
So hang on, you're running virt-p2v in a VM?<br>
<br>
While we do sometimes run virt-p2v in a VM do operational testing of<br>
P2V, this isn't the way to convert a physical machine.  You have to<br>
burn the ISO to a CD and boot the physical machine using it.<br>
<br>
(Alternatives exist: use livecd-iso-to-pxeboot; or possibly your blade<br>
hardware will let you use the ISO directly as a virtual CD-ROM)<br>
<br>
Anyway, running virt-p2v in a VM isn't going to work ...<br>
<br>
Rich.<br>
<br>
>    4. Create a new virtual machine using the 'File' option<br>
>    5. Click on 'Begin Installation' after step 4<br>
>    6. User is shown the 'Conversion Server' GUI login screen<br>
>    7. Enter the credentials & click on 'Test Connection with Conversion<br>
>    Server'<br>
>    8. 'Next' button is enabled<br>
>    9. Click on 'Create p2v' and after sometime, the process is exited with<br>
>    status "-1"<br>
>    10. The earlier attached log file is generated in BL2 (conversion<br>
<div><div class="h5">>    server) under /tmp/virt-XXXX directory<br>
><br>
> Hope it helps to solve the issue.<br>
><br>
><br>
> Regards,<br>
><br>
> Ravi Chaudhary<br>
><br>
> On Sun, Nov 1, 2015 at 9:23 AM, Tejas Gadaria <<a href="mailto:refond.gmrt@gmail.com">refond.gmrt@gmail.com</a>> wrote:<br>
><br>
> > Hi Richard,<br>
> ><br>
> > Thanks for your replay,<br>
> ><br>
> > We are using Fedora 21 with SAS drive and RAID 0 config on both Physical<br>
> > and conversion server.<br>
> ><br>
> ><br>
> > Thanks,<br>
> > Tejas<br>
> ><br>
> > On Sat, Oct 31, 2015 at 11:50 PM, Richard W.M. Jones <<a href="mailto:rjones@redhat.com">rjones@redhat.com</a>><br>
> > wrote:<br>
> ><br>
> >> On Sat, Oct 31, 2015 at 06:11:05PM +0000, Richard W.M. Jones wrote:<br>
> >> ><br>
> >> > On Sat, Oct 31, 2015 at 10:14:32PM +0530, Tejas Gadaria wrote:<br>
> >> > > Hi,<br>
> >> > ><br>
> >> > > We are trying to do P2V conversion with virt-p2v.<br>
> >> > ><br>
> >> > > we have conversion server (virt-p2v) and physical server (virt-p2v)<br>
> >> server<br>
> >> > > configured as per below documentation.<br>
> >> > ><br>
> >> > ><br>
> >> <a href="http://libguestfs.org/virt-p2v.1.html#kernel-command-line-configuration" rel="noreferrer" target="_blank">http://libguestfs.org/virt-p2v.1.html#kernel-command-line-configuration</a><br>
> >> > ><br>
> >> > > After "Start Conversion" from GUI interface, we are conversion fails<br>
> >> with<br>
> >> > > "/run/lvm/lvmetad.socket: connect failed: No such file or directory"<br>
> >> Error.<br>
> >> > ><br>
> >> > > Logs are attached for more details. Also FYI, we are using BL460c Gen8<br>
> >> > > server.<br>
> >> ><br>
> >> > The actual error is:<br>
> >> ><br>
> >> > > virt-v2v: error: no root device found in this operating system image.<br>
> >> ><br>
> >> > What operating system / distro / version are you trying to convert?<br>
> >><br>
> >> Looking a bit more closely, virt-v2v seems to have trouble seeing<br>
> >> anything at all on the source disk.  So something may have gone badly<br>
> >> wrong.  Tell me about what OS you expect the source (physical) machine<br>
> >> to have, and also something about what hardware it is using for its<br>
> >> disks (SCSI? RAID? etc).<br>
> >><br>
> >> Rich.<br>
> >><br>
> >> --<br>
> >> Richard Jones, Virtualization Group, Red Hat<br>
> >> <a href="http://people.redhat.com/~rjones" rel="noreferrer" target="_blank">http://people.redhat.com/~rjones</a><br>
> >> Read my programming and virtualization blog: <a href="http://rwmj.wordpress.com" rel="noreferrer" target="_blank">http://rwmj.wordpress.com</a><br>
> >> virt-builder quickly builds VMs from scratch<br>
> >> <a href="http://libguestfs.org/virt-builder.1.html" rel="noreferrer" target="_blank">http://libguestfs.org/virt-builder.1.html</a><br>
> >><br>
> ><br>
> ><br>
<br>
--<br>
Richard Jones, Virtualization Group, Red Hat <a href="http://people.redhat.com/~rjones" rel="noreferrer" target="_blank">http://people.redhat.com/~rjones</a><br>
Read my programming and virtualization blog: <a href="http://rwmj.wordpress.com" rel="noreferrer" target="_blank">http://rwmj.wordpress.com</a><br>
</div></div>virt-df lists disk usage of guests without needing to install any<br>
software inside the virtual machine.  Supports Linux and Windows.<br>
<a href="http://people.redhat.com/~rjones/virt-df/" rel="noreferrer" target="_blank">http://people.redhat.com/~rjones/virt-df/</a><br>
</blockquote></div><br></div>