<div dir="ltr">What is the type of the target storage domain that you try to import to?(nfs or iscsi)<div>if its iscsi try to change it to preallocate instead of thin-provision,</div><div>also please attach the engine log if you have more problems.</div><div><br></div><div> Shahar.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 13, 2016 at 7:08 AM, <span dir="ltr"><<a href="mailto:aleksey.maksimov@it-kb.ru" target="_blank">aleksey.maksimov@it-kb.ru</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"># LIBGUESTFS_BACKEND=direct virt-v2v -v -x -i ova /tmp/rhel_Vsp-4.4.0.GA-53.ova -of raw -o null<br>
<br>
....<br>
fsync /dev/sda<br>
guestfsd: main_loop: proc 282 (internal_autosync) took 0.01 seconds<br>
libguestfs: trace: internal_autosync = 0<br>
libguestfs: sending SIGTERM to process 3338<br>
libguestfs: trace: shutdown = 0<br>
libguestfs: trace: close<br>
libguestfs: closing guestfs handle 0x2880a10 (state 0)<br>
libguestfs: command: run: rm<br>
libguestfs: command: run: \ -rf /tmp/libguestfsrxuByo<br>
[ 99.0] Checking if the guest needs BIOS or UEFI to boot<br>
[ 99.0] Copying disk 1/1 to /var/tmp/null.lP6vGa/sda (raw)<br>
target_file = /var/tmp/null.lP6vGa/sda<br>
target_format = raw<br>
target_estimated_size = 13480052354<br>
target_overlay = /var/tmp/v2vovle81937.qcow2<br>
target_overlay.ov_source = /var/tmp/ova.zJ6ks8/rhel_Vsp-<wbr>4.4.0.GA-53-disk1.vmdk<br>
qemu-img convert -p -n -f qcow2 -O 'raw' '/var/tmp/v2vovle81937.qcow2' '/var/tmp/null.lP6vGa/sda'<br>
(100.00/100%)<br>
virtual copying rate: 95364.1 M bits/sec<br>
real copying rate: 811.7 M bits/sec<br>
sda: estimate 13480052354 (12.6G) versus actual 2339610624 (2.2G): 476.2%<br>
[ 126.0] Creating output metadata<br>
[ 126.0] Finishing off<br>
<br>
<br>
The output is very voluminous. Errors are seen.<br>
<br>
<br>
<br>
13.12.2016, 07:59, "<a href="mailto:aleksey.maksimov@it-kb.ru">aleksey.maksimov@it-kb.ru</a>" <<a href="mailto:aleksey.maksimov@it-kb.ru">aleksey.maksimov@it-kb.ru</a>>:<br>
<div class="HOEnZb"><div class="h5">> -bash: annotate-output: command not found<br>
><br>
> 12.12.2016, 21:26, "Derek Atkins" <<a href="mailto:derek@ihtfp.com">derek@ihtfp.com</a>>:<br>
>> Hi,<br>
>><br>
>> What happened when you ran the virt-v2v command I suggested?<br>
>><br>
>> -derek<br>
>><br>
>> On Mon, December 12, 2016 12:32 pm, <a href="mailto:aleksey.maksimov@it-kb.ru">aleksey.maksimov@it-kb.ru</a> wrote:<br>
>>> I mount 5TB nfs-share to my host and tried to import OVA from this<br>
>>> mount-point.<br>
>>> Exact same error.<br>
>>><br>
>>> Do the import process attempts to use 256G inside the Engine virtual<br>
>>> machine ???<br>
>>><br>
>>> 12.12.2016, 18:01, "<a href="mailto:aleksey.maksimov@it-kb.ru">aleksey.maksimov@it-kb.ru</a>"<br>
>>> <<a href="mailto:aleksey.maksimov@it-kb.ru">aleksey.maksimov@it-kb.ru</a>>:<br>
>>>> 1.2G is real OVA image size.<br>
>>>> 256G is virtual disk size.<br>
>>>> Could this be a problem?<br>
>>>><br>
>>>> But before I start the import, in the settings I choose "Thin provision"<br>
>>>> (see the attached screenshot)<br>
>>>><br>
>>>> 12.12.2016, 17:47, "<a href="mailto:aleksey.maksimov@it-kb.ru">aleksey.maksimov@it-kb.ru</a>"<br>
>>>> <<a href="mailto:aleksey.maksimov@it-kb.ru">aleksey.maksimov@it-kb.ru</a>>:<br>
>>>>> Hi Derek<br>
>>>>><br>
>>>>> # df -H /tmp/<br>
>>>>><br>
>>>>> Filesystem Size Used Avail Use% Mounted on<br>
>>>>> /dev/cciss/c0d0p2 53G 5.7G 45G 12% /<br>
>>>>><br>
>>>>> But my OVA file size - 1.2G<br>
>>>>><br>
>>>>> 12.12.2016, 17:26, "Derek Atkins" <<a href="mailto:derek@ihtfp.com">derek@ihtfp.com</a>>:<br>
>>>>>> Hi,<br>
>>>>>><br>
>>>>>> Did you perhaps run out of disk space in /tmp? I'm not sure where<br>
>>>>>> the<br>
>>>>>> virt-v2v does it work, but the error "Conversion of VM from exteral<br>
>>>>>> enironment failed: copy-disk stream closed unexpectedly" seems to<br>
>>>>>> imply an<br>
>>>>>> error there.<br>
>>>>>><br>
>>>>>> I had no issues myself on 4.0.5 (modulo setfiles taking a very long<br>
>>>>>> time<br>
>>>>>> in a few cases).<br>
>>>>>><br>
>>>>>> -derek<br>
>>>>>><br>
>>>>>> On Mon, December 12, 2016 9:19 am, <a href="mailto:aleksey.maksimov@it-kb.ru">aleksey.maksimov@it-kb.ru</a> wrote:<br>
>>>>>>> Hello oVirt guru`s!<br>
>>>>>>><br>
>>>>>>> In the process of importing from OVA file (from<br>
>>>>>>> /tmp/rhel_Vsp-4.4.0.GA-<wbr>53.ova in one of hosts) VM first appears in<br>
>>>>>>> the web<br>
>>>>>>> console, then disappears.<br>
>>>>>>><br>
>>>>>>> In the oVirt Engine log:<br>
>>>>>>><br>
>>>>>>> ...<br>
>>>>>>> 2016-12-12 16:55:20,209 INFO<br>
>>>>>>> [org.ovirt.engine.core.<wbr>bll.exportimport.<wbr>ImportVmFromOvaCommand]<br>
>>>>>>> (default<br>
>>>>>>> task-28) [6179021a] Lock Acquired to object<br>
>>>>>>> 'EngineLock:{<wbr>exclusiveLocks='[rhel_Vsp-4.4.<wbr>0.GA-53=<VM_NAME,<br>
>>>>>>> ACTION_TYPE_FAILED_NAME_<wbr>ALREADY_USED>,<br>
>>>>>>> 2a3d20f9-502a-4c60-8c14-<wbr>371456cd4c99=<VM,<br>
>>>>>>> ACTION_TYPE_FAILED_VM_IS_<wbr>BEING_IMPORTED$VmName<br>
>>>>>>> rhel_Vsp-4.4.0.GA-53>]',<br>
>>>>>>> sharedLocks='null'}'<br>
>>>>>>> 2016-12-12 16:55:20,326 WARN<br>
>>>>>>> [org.ovirt.engine.core.<wbr>dal.job.<wbr>ExecutionMessageDirector]<br>
>>>>>>> (org.ovirt.thread.pool-6-<wbr>thread-35) [6179021a] The message key<br>
>>>>>>> 'ImportVmFromOva' is missing from 'bundles/ExecutionMessages'<br>
>>>>>>> ...<br>
>>>>>>> 2016-12-12 16:57:34,758 INFO<br>
>>>>>>> [org.ovirt.engine.core.<wbr>bll.exportimport.<wbr>ConvertVmCallback]<br>
>>>>>>> (DefaultQuartzScheduler4) [27df05b8] Conversion of VM from exteral<br>
>>>>>>> enironment failed: copy-disk stream closed unexpectedly<br>
>>>>>>> 2016-12-12 16:57:35,761 ERROR<br>
>>>>>>> [org.ovirt.engine.core.<wbr>bll.exportimport.<wbr>ConvertOvaCommand]<br>
>>>>>>> (DefaultQuartzScheduler8) [77b50303] Ending command<br>
>>>>>>> 'org.ovirt.engine.core.<wbr>bll.exportimport.<wbr>ConvertOvaCommand' with<br>
>>>>>>> failure.<br>
>>>>>>> 2016-12-12 16:57:35,827 INFO<br>
>>>>>>> [org.ovirt.engine.core.<wbr>dal.dbbroker.auditloghandling.<wbr>AuditLogDirector]<br>
>>>>>>> (DefaultQuartzScheduler8) [77b50303] Correlation ID: 3187db75,<br>
>>>>>>> Call Stack:<br>
>>>>>>> null, Custom Event ID: -1, Message: Failed to convert Vm<br>
>>>>>>> rhel_Vsp-4.4.0.GA-53<br>
>>>>>>> ...<br>
>>>>>>> 2016-12-12 16:57:38,458 INFO<br>
>>>>>>> [org.ovirt.engine.core.<wbr>vdsbroker.vdsbroker.<wbr>DeleteV2VJobVDSCommand]<br>
>>>>>>> (DefaultQuartzScheduler8) [5237b44a] FINISH,<br>
>>>>>>> DeleteV2VJobVDSCommand, log<br>
>>>>>>> id: 1a69f33d<br>
>>>>>>> 2016-12-12 16:57:38,459 WARN<br>
>>>>>>> [org.ovirt.engine.core.<wbr>bll.lock.InMemoryLockManager]<br>
>>>>>>> (DefaultQuartzScheduler8) [5237b44a] Trying to release exclusive<br>
>>>>>>> lock<br>
>>>>>>> which does not exist, lock key:<br>
>>>>>>> '2a3d20f9-502a-4c60-8c14-<wbr>371456cd4c99VM'<br>
>>>>>>> 2016-12-12 16:57:38,459 INFO<br>
>>>>>>> [org.ovirt.engine.core.<wbr>bll.exportimport.<wbr>ConvertOvaCommand]<br>
>>>>>>> (DefaultQuartzScheduler8) [5237b44a] Lock freed to object<br>
>>>>>>> 'EngineLock:{<wbr>exclusiveLocks='[2a3d20f9-<wbr>502a-4c60-8c14-371456cd4c99=<<wbr>VM,<br>
>>>>>>> ACTION_TYPE_FAILED_VM_IS_<wbr>BEING_IMPORTED$VmName<br>
>>>>>>> rhel_Vsp-4.4.0.GA-53>]',<br>
>>>>>>> sharedLocks='null'}'<br>
>>>>>>> 2016-12-12 16:57:38,463 ERROR<br>
>>>>>>> [org.ovirt.engine.core.<wbr>dal.dbbroker.auditloghandling.<wbr>AuditLogDirector]<br>
>>>>>>> (DefaultQuartzScheduler8) [5237b44a] Correlation ID: 3187db75,<br>
>>>>>>> Call Stack:<br>
>>>>>>> null, Custom Event ID: -1, Message: Failed to import Vm<br>
>>>>>>> rhel_Vsp-4.4.0.GA-53 to Data Center Default, Cluster Default<br>
>>>>>>><br>
>>>>>>> What could be the problem?<br>
>>>>>>> _________________________<wbr>______________________<br>
>>>>>>> Users mailing list<br>
>>>>>>> <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
>>>>>>> <a href="http://lists.phx.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.phx.ovirt.<wbr>org/mailman/listinfo/users</a><br>
>>>>>><br>
>>>>>> --<br>
>>>>>> Derek Atkins <a href="tel:617-623-3745" value="+16176233745">617-623-3745</a><br>
>>>>>> <a href="mailto:derek@ihtfp.com">derek@ihtfp.com</a> <a href="http://www.ihtfp.com" rel="noreferrer" target="_blank">www.ihtfp.com</a><br>
>>>>>> Computer and Internet Security Consultant<br>
>><br>
>> --<br>
>> Derek Atkins <a href="tel:617-623-3745" value="+16176233745">617-623-3745</a><br>
>> <a href="mailto:derek@ihtfp.com">derek@ihtfp.com</a> <a href="http://www.ihtfp.com" rel="noreferrer" target="_blank">www.ihtfp.com</a><br>
>> Computer and Internet Security Consultant<br>
______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.phx.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.phx.ovirt.org/<wbr>mailman/listinfo/users</a><br>
</div></div></blockquote></div><br></div>