Log attached13.12.2016, 11:32, "Shahar Havivi" <shavivi@redhat.com>: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.logShahar.On Tue, Dec 13, 2016 at 9:58 AM, <aleksey.maksimov@it-kb.ru> wrote:Log attached13.12.2016, 10:04, "Shahar Havivi" <shavivi@redhat.com>:Please attach the log and will see what the error is.On Tue, Dec 13, 2016 at 9:01 AM, <aleksey.maksimov@it-kb.ru> 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 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" <shavivi@redhat.com>:Okso try to import as preallocated and attach the log if you have any errors.Shahar.On Tue, Dec 13, 2016 at 8:47 AM, <aleksey.maksimov@it-kb.ru> wrote:All my Data-Domains - FC SAN. Not ISCSI.13.12.2016, 09:41, "Shahar Havivi" <shavivi@redhat.com>: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, <aleksey.maksimov@it-kb.ru> wrote:# 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 = 0
libguestfs: trace: close
libguestfs: closing guestfs handle 0x2880a10 (state 0)
libguestfs: command: run: rm
libguestfs: command: run: \ -rf /tmp/libguestfsrxuByo
[ 99.0] Checking if the guest needs BIOS or UEFI to boot
[ 99.0] Copying disk 1/1 to /var/tmp/null.lP6vGa/sda (raw)
target_file = /var/tmp/null.lP6vGa/sda
target_format = raw
target_estimated_size = 13480052354
target_overlay = /var/tmp/v2vovle81937.qcow2
target_overlay.ov_source = /var/tmp/ova.zJ6ks8/rhel_Vsp-4.4.0.GA-53-disk1.vmdk
qemu-img convert -p -n -f qcow2 -O 'raw' '/var/tmp/v2vovle81937.qcow2' '/var/tmp/null.lP6vGa/sda'
(100.00/100%)
virtual copying rate: 95364.1 M bits/sec
real copying rate: 811.7 M bits/sec
sda: estimate 13480052354 (12.6G) versus actual 2339610624 (2.2G): 476.2%
[ 126.0] Creating output metadata
[ 126.0] Finishing off
The output is very voluminous. Errors are seen.
13.12.2016, 07:59, "aleksey.maksimov@it-kb.ru" <aleksey.maksimov@it-kb.ru>:> -bash: annotate-output: command not found
>
> 12.12.2016, 21:26, "Derek Atkins" <derek@ihtfp.com>:
>> Hi,
>>
>> What happened when you ran the virt-v2v command I suggested?
>>
>> -derek
>>
>> On Mon, December 12, 2016 12:32 pm, aleksey.maksimov@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 inside the Engine virtual
>>> machine ???
>>>
>>> 12.12.2016, 18:01, "aleksey.maksimov@it-kb.ru"
>>> <aleksey.maksimov@it-kb.ru>:
>>>> 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.maksimov@it-kb.ru"
>>>> <aleksey.maksimov@it-kb.ru>:
>>>>> 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" <derek@ihtfp.com>:
>>>>>> 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 long
>>>>>> time
>>>>>> in a few cases).
>>>>>>
>>>>>> -derek
>>>>>>
>>>>>> On Mon, December 12, 2016 9:19 am, aleksey.maksimov@it-kb.ru wrote:
>>>>>>> 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
>>>>>>> [org.ovirt.engine.core.bll.exportimport. ImportVmFromOvaCommand]
>>>>>>> (default
>>>>>>> task-28) [6179021a] Lock Acquired to object
>>>>>>> 'EngineLock:{exclusiveLocks='[rhel_Vsp-4.4. 0.GA-53=<VM_NAME,
>>>>>>> ACTION_TYPE_FAILED_NAME_ALREADY_USED>,
>>>>>>> 2a3d20f9-502a-4c60-8c14-371456cd4c99=<VM,
>>>>>>> ACTION_TYPE_FAILED_VM_IS_BEING_IMPORTED$VmName
>>>>>>> rhel_Vsp-4.4.0.GA-53>]',
>>>>>>> sharedLocks='null'}'
>>>>>>> 2016-12-12 16:55:20,326 WARN
>>>>>>> [org.ovirt.engine.core.dal.job. ExecutionMessageDirector]
>>>>>>> (org.ovirt.thread.pool-6-thread-35) [6179021a] The message key
>>>>>>> 'ImportVmFromOva' is missing from 'bundles/ExecutionMessages'
>>>>>>> ...
>>>>>>> 2016-12-12 16:57:34,758 INFO
>>>>>>> [org.ovirt.engine.core.bll.exportimport. ConvertVmCallback]
>>>>>>> (DefaultQuartzScheduler4) [27df05b8] Conversion of VM from exteral
>>>>>>> enironment failed: copy-disk stream closed unexpectedly
>>>>>>> 2016-12-12 16:57:35,761 ERROR
>>>>>>> [org.ovirt.engine.core.bll.exportimport. ConvertOvaCommand]
>>>>>>> (DefaultQuartzScheduler8) [77b50303] Ending command
>>>>>>> 'org.ovirt.engine.core.bll.exportimport. ConvertOvaCommand' with
>>>>>>> failure.
>>>>>>> 2016-12-12 16:57:35,827 INFO
>>>>>>> [org.ovirt.engine.core.dal.dbbroker.auditloghandling. AuditLogDirector]
>>>>>>> (DefaultQuartzScheduler8) [77b50303] Correlation ID: 3187db75,
>>>>>>> Call Stack:
>>>>>>> null, Custom Event ID: -1, Message: Failed to convert Vm
>>>>>>> rhel_Vsp-4.4.0.GA-53
>>>>>>> ...
>>>>>>> 2016-12-12 16:57:38,458 INFO
>>>>>>> [org.ovirt.engine.core.vdsbroker.vdsbroker. DeleteV2VJobVDSCommand]
>>>>>>> (DefaultQuartzScheduler8) [5237b44a] FINISH,
>>>>>>> DeleteV2VJobVDSCommand, log
>>>>>>> id: 1a69f33d
>>>>>>> 2016-12-12 16:57:38,459 WARN
>>>>>>> [org.ovirt.engine.core.bll.lock.InMemoryLockManager]
>>>>>>> (DefaultQuartzScheduler8) [5237b44a] Trying to release exclusive
>>>>>>> lock
>>>>>>> which does not exist, lock key:
>>>>>>> '2a3d20f9-502a-4c60-8c14-371456cd4c99VM'
>>>>>>> 2016-12-12 16:57:38,459 INFO
>>>>>>> [org.ovirt.engine.core.bll.exportimport. ConvertOvaCommand]
>>>>>>> (DefaultQuartzScheduler8) [5237b44a] Lock freed to object
>>>>>>> 'EngineLock:{exclusiveLocks='[2a3d20f9- 502a-4c60-8c14-371456cd4c99=< VM,
>>>>>>> ACTION_TYPE_FAILED_VM_IS_BEING_IMPORTED$VmName
>>>>>>> rhel_Vsp-4.4.0.GA-53>]',
>>>>>>> sharedLocks='null'}'
>>>>>>> 2016-12-12 16:57:38,463 ERROR
>>>>>>> [org.ovirt.engine.core.dal.dbbroker.auditloghandling. AuditLogDirector]
>>>>>>> (DefaultQuartzScheduler8) [5237b44a] Correlation ID: 3187db75,
>>>>>>> Call Stack:
>>>>>>> null, Custom Event ID: -1, Message: Failed to import Vm
>>>>>>> rhel_Vsp-4.4.0.GA-53 to Data Center Default, Cluster Default
>>>>>>>
>>>>>>> What could be the problem?
>>>>>>> _______________________________________________
>>>>>>> Users mailing list
>>>>>>> Users@ovirt.org
>>>>>>> http://lists.phx.ovirt.org/mailman/listinfo/users
>>>>>>
>>>>>> --
>>>>>> Derek Atkins 617-623-3745
>>>>>> derek@ihtfp.com www.ihtfp.com
>>>>>> Computer and Internet Security Consultant
>>
>> --
>> Derek Atkins 617-623-3745
>> derek@ihtfp.com www.ihtfp.com
>> Computer and Internet Security Consultant
_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.phx.ovirt.org/mailman/listinfo/users