Problem to convert ESX guest into the KVM

Latest response

Hi  , I'm  testing   RHEV  v3 beta .

 

One of the tasks  is to convert  ESX guests   ( v 4 and 5 ) into the KVM  format  within  the RHEV-M .

 

 

1. When  I’m trying  to covert  ESX  guest ( v.4 ) into the RHEV 

 

 

#virt-v2v -ic  esx://10.45.2.130/?no_verify=1  -o rhev -osd rh6lab3:/extra/export2  --network lclients Rhel5.5-WEB-Rsync-Backup

 

I get  this error :

 

"qemu: terminating on signal 15"

 

 

2. Although everything  looks fine  and I  succeeded to import and boot  converted  guest within the RHEV  I noticed that  after  the migration not all  data present on the  KVM  guest .So, most of a data  was under the /root  on ESX  guest   is not found on KVM  guest .

 

 

Full   vrt-v2v  putput :

# virt-v2v -ic  esx://10.45.2.130/?no_verify=1  -o rhev -osd rh6lab3.il.nds.com:/extra/export2  --network lclients Rhel5.5-WEB-Rsync-Backup

PD RHEL 5 Image_PD RHEL 5 Image: 100% [================================================================]D 0h41m11s

qemu: terminating on signal 15 from pid 17463

virt-v2v: Rhel5.5-WEB-Rsync-Backup configured with virtio drivers

 

Any ideas ?

 

 

Thanks ,

 

 

/Vlad.

 

Responses

Update for the theread .

 

I upgraded  virt-v2v  and rhevmto the latest version :virt-v2v-0.8.3-5.el6 , rhevm-3.0.0_0001-51.el6 

and  still  get this errors :

 

 

#virt-v2v -ic esx://10.45.7.51/?no_verify=1  -o rhev -osd rh6lab3:/extra/export2  --network lclients  esxvm

esxvm_esxvm: 100% [====================================================================================]D 0h04m36s
find: failed to restore initial working directory: Permission denied
virt-v2v: esxvm configured with virtio drivers.
 
 
Import  KVM guest  went smoothly  .
 
What  the error above means ?
 
 
/Vlad .
 

 

virt-v2v -ic esx://10.45.7.51/?no_verify=1  -o rhev -osd rh6lab3.il.nds.com:/extra/export2  --network lclients  esxvm
esxvm_esxvm: 100% [====================================================================================]D 0h04m36s
find: failed to restore initial working directory: Permission denied
virt-v2v: esxvm configured with virtio drivers.

I've asked Matt to look at this.

 

This is RHEL 6.something right?  What version of libguestfs is it?

It would be very useful to see the output of the same command, but with the following environment variables set:

export LIBGUESTFS_DEBUG=1
export LIBGUESTFS_TRACE=1

That will produce a lot of output so you may need to attach it as a file.

Is /root a separate partition?

What was the nature of the data corruption?

Is NFS involved here at any point?

I repeated  V2V  test  with  ESX  vm  with  and without  LVM

 

For  ESX  vm  without  LVM   for /  -  v2v  worked fine except that  the esx  vm's  /dev/sda

wasn't  converted to the  /dev/vda  - had to fix it maually in grub.conf .

 

When converted  esx vm   that  failed  earlier the problem raised  again - kvm guest  started but  some data within  /root  is  missing .

 

No  ,  /root  is under  the /  is a separate  file system 

No , neither NFS  configs take place .

Data  wasn't  corrupted -  it simply  not found  under the  /root .It looks like after  clean  OS install .

 

How I may upload logs ?

the versions, and have full debug output.

 

Do have access to a webserver where you could upload the log files?

I think the best thing here is to join us on the upstream mailing list:

 

http://libguestfs.org/

 

You can post to libguestfs@redhat.com with large debug files etc. and we can have a look at the problem.

 

Please make sure you put the version numbers of everything you are using when you post.