Re: [ovirt-users] How can I import VMWare OVA file to oVirt 4.0?

2016-12-15 Thread Tom Gamull
I'm not going to lie I never had much luck. I end up using qemu-img convert on the command line to convert a vmdk to a raw file. The ova should just be a compressed file. Plenty of blogs on this. I know that's not the answer you're looking for but if you run out of options you can do this.

Re: [ovirt-users] How can I import VMWare OVA file to oVirt 4.0?

2016-12-14 Thread Gianluca Cecchi
On Thu, Dec 15, 2016 at 7:27 AM, Shahar Havivi wrote: > Another workaround can import to NFS storage domain as thin-provision and > then copy the VM to your FC or SCSI domain and delete the VM from the NFS > domain. > > In this case with "copy VM to your FC os SCSI domain",

Re: [ovirt-users] How can I import VMWare OVA file to oVirt 4.0?

2016-12-14 Thread Shahar Havivi
Another workaround can import to NFS storage domain as thin-provision and then copy the VM to your FC or SCSI domain and delete the VM from the NFS domain. On Wed, Dec 14, 2016 at 7:30 PM, wrote: > Derek, thank you for participating. > > In the end, I completed the

Re: [ovirt-users] How can I import VMWare OVA file to oVirt 4.0?

2016-12-14 Thread aleksey . maksimov
Derek, thank you for participating. In the end, I completed the task (OVA imported). The root of the problem is that I tried to use the import with thin provision. But there is a known issue https://bugzilla.redhat.com/show_bug.cgi?id=1382404 Workaround: Import VM from OVA as preallocated It's

Re: [ovirt-users] How can I import VMWare OVA file to oVirt 4.0?

2016-12-14 Thread Derek Atkins
Hi Aleksey, One more question for debugging purposes: How long does the import go before it dies? Do you have enough time to run: ps aux | grep virt-v2v On the import host while it's running? This might help us determine where it's trying to store the data. It should be storing it in the

Re: [ovirt-users] How can I import VMWare OVA file to oVirt 4.0?

2016-12-14 Thread Shahar Havivi
Hi, I was able to import your VMs with storage domain that had 350GB free. Your ova have a disk with 1GB actual size and 256 virtual size - when I try to import to a storage with 50G I got the error that you had. if you will look at /var/log/vdsm/import/... you will see the logs of each import,

Re: [ovirt-users] How can I import VMWare OVA file to oVirt 4.0?

2016-12-13 Thread aleksey . maksimov
No. The problem is not solved. I still can not import OVA in oVirt. And the problem is not a lack of disk space. 13.12.2016, 18:58, "Derek Atkins" : > Hi, > > aleksey.maksi...@it-kb.ru writes: > >>  # LIBGUESTFS_BACKEND=direct virt-v2v -v -x -i ova >>  

Re: [ovirt-users] How can I import VMWare OVA file to oVirt 4.0?

2016-12-13 Thread Derek Atkins
Hi, aleksey.maksi...@it-kb.ru writes: > # LIBGUESTFS_BACKEND=direct virt-v2v -v -x -i ova > /tmp/rhel_Vsp-4.4.0.GA-53.ova -of raw -o null > > > fsync /dev/sda > guestfsd: main_loop: proc 282 (internal_autosync) took 0.01 seconds > libguestfs: trace: internal_autosync = 0 > libguestfs:

Re: [ovirt-users] How can I import VMWare OVA file to oVirt 4.0?

2016-12-13 Thread aleksey . maksimov
Engine - oVirt Engine Version: 4.0.5.5-1.el7.centos (CentOS 7.2)All Hosts:OS Version:RHEL - 7 - 2.1511.el7.centos.2.10OS Description:CentOS Linux 7 (Core)Kernel Version:3.10.0 - 327.36.3.el7.x86_64KVM Version:2.3.0 - 31.el7.16.1LIBVIRT Version:libvirt-2.0.0-10.el7_3.2VDSM

Re: [ovirt-users] How can I import VMWare OVA file to oVirt 4.0?

2016-12-13 Thread Shahar Havivi
version of Engine and Host and virt-v2v (which is running on your host) and are you running on Fedora, Centos ext? On Tue, Dec 13, 2016 at 12:08 PM, wrote: > 1. No. This is an unacceptable option for me > 2. No. This is my first experience > 3. Versions where? On

Re: [ovirt-users] How can I import VMWare OVA file to oVirt 4.0?

2016-12-13 Thread aleksey . maksimov
1. No. This is an unacceptable option for me2. No. This is my first experience3. Versions where? On Engine or on Host ?4. Yes.  13.12.2016, 13:03, "Shahar Havivi" :Thanks you,Several questions:1. did you try to import the disk target as preallocate?2. did you try to import

Re: [ovirt-users] How can I import VMWare OVA file to oVirt 4.0?

2016-12-13 Thread Shahar Havivi
Thanks you, Several questions: 1. did you try to import the disk target as preallocate? 2. did you try to import other ova files? 3. can you please send us version of virt-v2v, vdsm and engine and the os that you are running with. 4. Is it possible for you to share the ova file? Thank you,

Re: [ovirt-users] How can I import VMWare OVA file to oVirt 4.0?

2016-12-13 Thread Shahar Havivi
Thank you, We need the vdsm log as well please - its the host that you try to import the ova from under /var/log/vdsm/vdsm.log Shahar. On Tue, Dec 13, 2016 at 9:58 AM, wrote: > Log attached > > 13.12.2016, 10:04, "Shahar Havivi" : > > Please

Re: [ovirt-users] How can I import VMWare OVA file to oVirt 4.0?

2016-12-12 Thread aleksey . maksimov
Log attached 13.12.2016, 10:04, "Shahar Havivi" :Please attach the log and will see what the error is. On Tue, Dec 13, 2016 at 9:01 AM, wrote:Preallocated ?I'm trying to import image of virtual appliance "HP 3PAR Virtual Service Processor"This

Re: [ovirt-users] How can I import VMWare OVA file to oVirt 4.0?

2016-12-12 Thread Shahar Havivi
Please attach the log and will see what the error is. On Tue, Dec 13, 2016 at 9:01 AM, wrote: > Preallocated ? > I'm trying to import image of virtual appliance "HP 3PAR Virtual Service > Processor" > This virtual machine has drive 256GB. But really, this is a 40GB

Re: [ovirt-users] How can I import VMWare OVA file to oVirt 4.0?

2016-12-12 Thread aleksey . maksimov
Preallocated ?I'm trying to import image of virtual appliance "HP 3PAR Virtual Service Processor"This virtual machine has drive 256GB. But really, this is a 40GB disk never grows. I don't want to waste that much disk space. There is no other way ? 13.12.2016, 09:53, "Shahar Havivi"

Re: [ovirt-users] How can I import VMWare OVA file to oVirt 4.0?

2016-12-12 Thread aleksey . maksimov
 All my Data-Domains - FC SAN. Not ISCSI.  13.12.2016, 09:41, "Shahar Havivi" :What is the type of the target storage domain that you try to import to?(nfs or iscsi)if its iscsi try to change it to preallocate instead of thin-provision,also please attach the engine log if you

Re: [ovirt-users] How can I import VMWare OVA file to oVirt 4.0?

2016-12-12 Thread Shahar Havivi
Ok so try to import as preallocated and attach the log if you have any errors. Shahar. On Tue, Dec 13, 2016 at 8:47 AM, wrote: > > All my Data-Domains - FC SAN. Not ISCSI. > > > 13.12.2016, 09:41, "Shahar Havivi" : > > What is the type of the

Re: [ovirt-users] How can I import VMWare OVA file to oVirt 4.0?

2016-12-12 Thread Shahar Havivi
What is the type of the target storage domain that you try to import to?(nfs or iscsi) if its iscsi try to change it to preallocate instead of thin-provision, also please attach the engine log if you have more problems. Shahar. On Tue, Dec 13, 2016 at 7:08 AM, wrote:

Re: [ovirt-users] How can I import VMWare OVA file to oVirt 4.0?

2016-12-12 Thread aleksey . maksimov
# LIBGUESTFS_BACKEND=direct virt-v2v -v -x -i ova /tmp/rhel_Vsp-4.4.0.GA-53.ova -of raw -o null fsync /dev/sda guestfsd: main_loop: proc 282 (internal_autosync) took 0.01 seconds libguestfs: trace: internal_autosync = 0 libguestfs: sending SIGTERM to process 3338 libguestfs: trace: shutdown

Re: [ovirt-users] How can I import VMWare OVA file to oVirt 4.0?

2016-12-12 Thread aleksey . maksimov
-bash: annotate-output: command not found 12.12.2016, 21:26, "Derek Atkins" : > Hi, > > What happened when you ran the virt-v2v command I suggested? > > -derek > > On Mon, December 12, 2016 12:32 pm, aleksey.maksi...@it-kb.ru wrote: >>  I mount 5TB nfs-share to my host and tried

Re: [ovirt-users] How can I import VMWare OVA file to oVirt 4.0?

2016-12-12 Thread Derek Atkins
Hi, What happened when you ran the virt-v2v command I suggested? -derek On Mon, December 12, 2016 12:32 pm, aleksey.maksi...@it-kb.ru wrote: > I mount 5TB nfs-share to my host and tried to import OVA from this > mount-point. > Exact same error. > > Do the import process attempts to use 256G

Re: [ovirt-users] How can I import VMWare OVA file to oVirt 4.0?

2016-12-12 Thread aleksey . maksimov
I mount 5TB nfs-share to my host and tried to import OVA from this mount-point. Exact same error. Do the import process attempts to use 256G inside the Engine virtual machine ??? 12.12.2016, 18:01, "aleksey.maksi...@it-kb.ru" : > 1.2G is real OVA image size. > 256G is

Re: [ovirt-users] How can I import VMWare OVA file to oVirt 4.0?

2016-12-12 Thread aleksey . maksimov
1.2G is real OVA image size. 256G is virtual disk size. Could this be a problem? But before I start the import, in the settings I choose "Thin provision" (see the attached screenshot) 12.12.2016, 17:47, "aleksey.maksi...@it-kb.ru" : > Hi Derek > > # df -H /tmp/ > >

Re: [ovirt-users] How can I import VMWare OVA file to oVirt 4.0?

2016-12-12 Thread aleksey . maksimov
Hi Derek # df -H /tmp/ Filesystem Size Used Avail Use% Mounted on /dev/cciss/c0d0p2 53G 5.7G 45G 12% / But my OVA file size - 1.2G 12.12.2016, 17:26, "Derek Atkins" : > Hi, > > Did you perhaps run out of disk space in /tmp? I'm not sure where the >

Re: [ovirt-users] How can I import VMWare OVA file to oVirt 4.0?

2016-12-12 Thread Derek Atkins
Try running virt-v2v by hand on your host: LIBGUESTFS_BACKEND=direct annotate-output virt-v2v -v -x -i ova /tmp/rhel_Vsp-4.4.0.GA-53.ova -of raw -o null Maybe it will give you more insight into the error? -derek On Mon, December 12, 2016 9:47 am, aleksey.maksi...@it-kb.ru wrote: > > Hi Derek >

Re: [ovirt-users] How can I import VMWare OVA file to oVirt 4.0?

2016-12-12 Thread Derek Atkins
Hi, Did you perhaps run out of disk space in /tmp? I'm not sure where the virt-v2v does it work, but the error "Conversion of VM from exteral enironment failed: copy-disk stream closed unexpectedly" seems to imply an error there. I had no issues myself on 4.0.5 (modulo setfiles taking a very

[ovirt-users] How can I import VMWare OVA file to oVirt 4.0?

2016-12-12 Thread aleksey . maksimov
Hello oVirt guru`s! In the process of importing from OVA file (from /tmp/rhel_Vsp-4.4.0.GA-53.ova in one of hosts) VM first appears in the web console, then disappears. In the oVirt Engine log: ... 2016-12-12 16:55:20,209 INFO