[Users] issue with conversion of ESXi 5 centos VM to fedora19 ovirt host
Madhav V Diwan
mdiwan at diwanconsulting.com
Fri Jan 10 17:48:43 UTC 2014
Sorry richard
seems that it failed even when i tried to set that variable
Maybe i set up the command incorrectly?
here is what i ran
[root at server3 ~]# cat convrtesxhost.sh
#!/bin/bash
export LIBGUESTFS_TRACE=1
export LIBGUESTFS_DEBUG=1
export LIBGUESTFS_BACKEND=direct
virt-v2v -ic esx://ESX.decllc.biz/?no_verify=1 -o rhev -os
server3.decllc.biz:/localstorage/nfs --network ovirtmgmt razDC 2>&1 |
tee /var/log/virt-v2v.log
***
and here is the same result .. note the guestfs switches back to
appliance backend
[root at server3 ~]# ./convrtesxhost.sh
virt-v2v: Transferring storage volume razDC_razDC: 107374182400 bytes
libguestfs: trace: set_verbose true
libguestfs: trace: set_verbose = 0
libguestfs: trace: set_backend "direct"
libguestfs: trace: set_backend = 0
libguestfs: create: flags = 0, handle = 0x30c1090, program = perl
libguestfs: trace: set_attach_method "appliance"
libguestfs: trace: set_backend "appliance"
libguestfs: trace: set_backend = 0
libguestfs: trace: set_attach_method = 0
libguestfs: trace: add_drive
"/tmp/dgsXFuqz0X/8eff2927-3bff-4b15-bdd0-8c4e0f40652d/v2v.nCJ17ysL/e1660d18-b67b-4002-9835-10c654e7ee0e/a7afe4c5-ece8-4022-a8ec-964984a8db17" "format:raw" "iface:ide" "name:sda"
libguestfs: trace: add_drive = -1 (error)
/tmp/dgsXFuqz0X/8eff2927-3bff-4b15-bdd0-8c4e0f40652d/v2v.nCJ17ysL/e1660d18-b67b-4002-9835-10c654e7ee0e/a7afe4c5-ece8-4022-a8ec-964984a8db17: Permission denied at /usr/lib64/perl5/vendor_perl/Sys/Guestfs.pm line 670.
libguestfs: trace: close
libguestfs: closing guestfs handle 0x30c1090 (state 0)
-M
On Fri, 2014-01-10 at 10:38 -0500, Madhav V Diwan wrote:
>
>
>
>
>
> -----Original Message-----
> From: Richard W.M. Jones <rjones at redhat.com>
> To: Madhav V Diwan <mdiwan at diwanconsulting.com>, mbooth at redhat.com
> Cc: users at ovirt.org
> Subject: Re: [Users] issue with conversion of ESXi 5 centos VM to
> fedora19 ovirt host
> Date: Fri, 10 Jan 2014 15:32:28 +0000
>
> On Thu, Jan 09, 2014 at 09:49:25PM -0500, Madhav V Diwan wrote:
> >
> > Hello everybody! I seem to be having a problem similar to
> >
> > the posting from
> >
> > " importing VM from ESXI "
> > posted by
> > emitor at gmail.com
> > on 25.09.2013 21:10 UTC
> > " I'm not being able to import a VM from ESXI:"
> >
> >
> > In my case i have a bit more of a trace on the permission issue but not
> > much more
> >
> > > virt-v2v: Transferring storage volume razDC_razDC: 107374182400 bytes
> > > libguestfs: trace: set_verbose true
> > > libguestfs: trace: set_verbose = 0
> > > libguestfs: create: flags = 0, handle = 0x4725420, program = perl
> > > libguestfs: trace: set_attach_method "appliance"
> > > libguestfs: trace: set_backend "appliance"
> > > libguestfs: trace: set_backend = 0
> > > libguestfs: trace: set_attach_method = 0
> > > libguestfs: trace: add_drive "/tmp/a7SyYhkkeX/8eff2927-3bff-4b15-bdd0-8c4e0f40652d/v2v.z_Lv0fTf/81388ffb-6aed-4ae4-bed8-6b1999e78907/2cc85d68-d343-4961-9a28-58e4c695d78f" "format:raw" "iface:ide" "name:sda"
> > > libguestfs: trace: add_drive = -1 (error)
> > > /tmp/a7SyYhkkeX/8eff2927-3bff-4b15-bdd0-8c4e0f40652d/v2v.z_Lv0fTf/81388ffb-6aed-4ae4-bed8-6b1999e78907/2cc85d68-d343-4961-9a28-58e4c695d78f: Permission denied at /usr/lib64/perl5/vendor_perl/Sys/Guestfs.pm line 670.
> > > libguestfs: trace: close
> > > libguestfs: closing guestfs handle 0x4725420 (state 0)
> >
> >
> > Has this issue been solved ? if so how as i do not see the resolution
> > on the archives. Else would you all help me resolve it please?
> >
> > It is very annoying to have a hundred gig disk copied over to your NFS
> > export and then deleted because qemu or libguestfs has a permissions
> > issue in opening it.
> >
> >
> >
> > this is an issue with Ovirt Version 3.3.2-1.fc19
> >
> > virt-v2v version is
> >
> > virt-v2v --version
> > 0.9.0
> >
> > and libguestfs version and qemu version are :
> >
> > libguestfs-1.22.7-4.fc19.x86_64
> >
> > QEMU emulator version 1.4.2
>
> Are you running virt-v2v as root? If so my guess is that it's this
> libvirt bug:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=1045069
> https://bugzilla.redhat.com/show_bug.cgi?id=1045039
>
> The easiest thing is to disable libvirt by doing:
>
> sudo bash
> export LIBGUESTFS_BACKEND=direct
> virt-v2v [..etc..]
>
> Rich.
>
> *********
>
> yes unfortunately i am running as root.. hate doing that but
>
> what account SHOULD i use? myself? VDSM?
>
> sudo -u who
>
> interesting idea.. Ill try it now on a smaller vm.
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
More information about the Users
mailing list