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

aleksey.maksimov at it-kb.ru aleksey.maksimov at it-kb.ru
Mon Dec 12 17:32:57 UTC 2016


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 at it-kb.ru" <aleksey.maksimov at 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 at it-kb.ru" <aleksey.maksimov at 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 at 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 at 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 at ovirt.org
>>>>    http://lists.phx.ovirt.org/mailman/listinfo/users
>>>
>>>   --
>>>          Derek Atkins 617-623-3745
>>>          derek at ihtfp.com www.ihtfp.com
>>>          Computer and Internet Security Consultant



More information about the Users mailing list