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

Richard W.M. Jones rjones at redhat.com
Mon Nov 2 08:48:18 UTC 2015


On Mon, Nov 02, 2015 at 12:06:41AM +0530, Ravi Chaudhary wrote:
> Greetings Richard,
> 
> To add to the above information, we are following the understated steps:
> 
>    1. We have 2 BL460c (Gen8) with Fedora 21 installed. Both the
>    machines(BL1 & BL2) have been updated with virt-v2v packages
>    2. On BL1, we execute the following commands:
>    1. virt-p2v-make-kickstart fedora
>       2. livecd-creator p2v.ks
>    3. After creating the "livecd-p2v-2xxxxxx.iso" file, we launch the
>    'virt-manager', from BL1

So hang on, you're running virt-p2v in a VM?

While we do sometimes run virt-p2v in a VM do operational testing of
P2V, this isn't the way to convert a physical machine.  You have to
burn the ISO to a CD and boot the physical machine using it.

(Alternatives exist: use livecd-iso-to-pxeboot; or possibly your blade
hardware will let you use the ISO directly as a virtual CD-ROM)

Anyway, running virt-p2v in a VM isn't going to work ...

Rich.

>    4. Create a new virtual machine using the 'File' option
>    5. Click on 'Begin Installation' after step 4
>    6. User is shown the 'Conversion Server' GUI login screen
>    7. Enter the credentials & click on 'Test Connection with Conversion
>    Server'
>    8. 'Next' button is enabled
>    9. Click on 'Create p2v' and after sometime, the process is exited with
>    status "-1"
>    10. The earlier attached log file is generated in BL2 (conversion
>    server) under /tmp/virt-XXXX directory
> 
> Hope it helps to solve the issue.
> 
> 
> Regards,
> 
> Ravi Chaudhary
> 
> On Sun, Nov 1, 2015 at 9:23 AM, Tejas Gadaria <refond.gmrt at gmail.com> wrote:
> 
> > Hi Richard,
> >
> > Thanks for your replay,
> >
> > We are using Fedora 21 with SAS drive and RAID 0 config on both Physical
> > and conversion server.
> >
> >
> > Thanks,
> > Tejas
> >
> > On Sat, Oct 31, 2015 at 11:50 PM, Richard W.M. Jones <rjones at redhat.com>
> > wrote:
> >
> >> On Sat, Oct 31, 2015 at 06:11:05PM +0000, Richard W.M. Jones wrote:
> >> >
> >> > On Sat, Oct 31, 2015 at 10:14:32PM +0530, Tejas Gadaria wrote:
> >> > > Hi,
> >> > >
> >> > > We are trying to do P2V conversion with virt-p2v.
> >> > >
> >> > > we have conversion server (virt-p2v) and physical server (virt-p2v)
> >> server
> >> > > configured as per below documentation.
> >> > >
> >> > >
> >> http://libguestfs.org/virt-p2v.1.html#kernel-command-line-configuration
> >> > >
> >> > > After "Start Conversion" from GUI interface, we are conversion fails
> >> with
> >> > > "/run/lvm/lvmetad.socket: connect failed: No such file or directory"
> >> Error.
> >> > >
> >> > > Logs are attached for more details. Also FYI, we are using BL460c Gen8
> >> > > server.
> >> >
> >> > The actual error is:
> >> >
> >> > > virt-v2v: error: no root device found in this operating system image.
> >> >
> >> > What operating system / distro / version are you trying to convert?
> >>
> >> Looking a bit more closely, virt-v2v seems to have trouble seeing
> >> anything at all on the source disk.  So something may have gone badly
> >> wrong.  Tell me about what OS you expect the source (physical) machine
> >> to have, and also something about what hardware it is using for its
> >> disks (SCSI? RAID? etc).
> >>
> >> 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
> >>
> >
> >

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/




More information about the Libguestfs mailing list