[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libguestfs] P2V conversion failed with "/run/lvm/lvmetad.socket: connect failed: No such file or directory"



On Mon, Nov 02, 2015 at 06:50:00PM +0530, Ravi Chaudhary wrote:
> Greetings Richard,
> 
> 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  "*yum install qemu libvirt-client virt-manager
> virt-viewer guestfish libguestfs-tools virt-top*")
> 
> We have couple of questions for the exact functioning of virt-p2v:
> 
>    1. We are unable to locate the following command for injecting the ssh
>    private key of p2v machine:
> 
>    *virt-p2v-make-kickstart p2v.ks --inject-ssh-identity id_rsa*
>    *virt-p2v-make-kickstart: unrecognized option '--inject-ssh-identity'*

This is a new (and useful) feature, but I'm afraid it's not available
until RHEL 7.3 or Fedora >= 24.

>    2. *Further we are also unable to find any executable "virt-p2v" on the
>    p2v machine*

You shouldn't run virt-p2v directly.  You have to boot the ISO on the
physical machine.

>    3. *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:*

I'm not clear what this paragraph means.

> *Would you be able to provide us with exact steps required to implement the
> virt-p2v? *

It's all described here:

http://libguestfs.org/virt-p2v.1.html

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://libguestfs.org


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]