[ovirt-users] Export VM to OVA failed

Arik Hadas ahadas at redhat.com
Mon Mar 5 20:31:38 UTC 2018


On Mon, Mar 5, 2018 at 7:13 PM, Fabrice SOLER <
fabrice.soler at ac-guadeloupe.fr> wrote:

> Hello,
>
> Thank for your answer, I have put all permissions for the directory and I
> always have errors.
>
> Here are the ERROR in logs on the engine :
>
> 2018-03-05 13:03:18,525-04 INFO  [org.ovirt.engine.core.
> vdsbroker.vdsbroker.GetVolumeInfoVDSCommand] (EE-ManagedThreadFactory-engineScheduled-Thread-23)
> [7dcef072] FINISH, GetVolumeInfoVDSCommand, return:
> org.ovirt.engine.core.common.businessentities.storage.DiskImage at 90e3c610,
> log id: 84f89c3
> 2018-03-05 13:03:18,529-04 ERROR [org.ovirt.engine.core.bll.CreateOvaCommand]
> (EE-ManagedThreadFactory-engineScheduled-Thread-23) [7dcef072] Command
> 'org.ovirt.engine.core.bll.CreateOvaCommand' failed: null
> 2018-03-05 13:03:18,529-04 ERROR [org.ovirt.engine.core.bll.CreateOvaCommand]
> (EE-ManagedThreadFactory-engineScheduled-Thread-23) [7dcef072] Exception:
> java.lang.NullPointerException
> ...
>

The skipped part above is the most interesting one that may enable us to
investigate the error, can you share it? it would be best to file a bug [1]
and add the full log as an attachment (that can be made private if needed,
btw).

[1] https://bugzilla.redhat.com/


> 2018-03-05 13:03:18,533-04 ERROR [org.ovirt.engine.core.bll.exportimport.ExportOvaCommand]
> (EE-ManagedThreadFactory-engineScheduled-Thread-23) [7dcef072] Failed to
> create OVA file
> 2018-03-05 13:03:18,533-04 INFO  [org.ovirt.engine.core.bll.
> SerialChildCommandsExecutionCallback] (EE-ManagedThreadFactory-engineScheduled-Thread-23)
> [7dcef072] Command 'ExportOva' id: 'c484392e-3540-4a11-97bf-3fecbc13e080'
> failed when attempting to perform the next operation, marking as FAILED
> '[d5d4381b-ec82-4927-91a4-74597cd2511d]'
> 2018-03-05 13:03:18,533-04 INFO  [org.ovirt.engine.core.bll.
> SerialChildCommandsExecutionCallback] (EE-ManagedThreadFactory-engineScheduled-Thread-23)
> [7dcef072] Command 'ExportOva' id: 'c484392e-3540-4a11-97bf-3fecbc13e080'
> child commands '[d5d4381b-ec82-4927-91a4-74597cd2511d]' executions were
> completed, status 'FAILED'
> 2018-03-05 13:03:19,542-04 ERROR [org.ovirt.engine.core.bll.exportimport.ExportOvaCommand]
> (EE-ManagedThreadFactory-engineScheduled-Thread-98)
> [c99e94b0-a9dd-486f-9274-9aa17c9590a0] Ending command
> 'org.ovirt.engine.core.bll.exportimport.ExportOvaCommand' with failure.
> 2018-03-05 13:03:19,543-04 INFO  [org.ovirt.engine.core.bll.exportimport.ExportOvaCommand]
> (EE-ManagedThreadFactory-engineScheduled-Thread-98)
> [c99e94b0-a9dd-486f-9274-9aa17c9590a0] Lock freed to object
> 'EngineLock:{exclusiveLocks='[3ae307cb-53d6-4d70-87b6-4e073c6f5eb6=VM]',
> sharedLocks=''}'
> 2018-03-05 13:03:19,550-04 ERROR [org.ovirt.engine.core.dal.
> dbbroker.auditloghandling.AuditLogDirector] (EE-ManagedThreadFactory-engineScheduled-Thread-98)
> [c99e94b0-a9dd-486f-9274-9aa17c9590a0] EVENT_ID:
> IMPORTEXPORT_EXPORT_VM_TO_OVA_FAILED(1,225), Failed to export Vm pfSense
> as a Virtual Appliance to path /ova/pfSense.ova on Host eple-rectorat-proto
> ...
>
> Sincerely,
> Fabrice
>
>
> Le 05/03/2018 à 12:50, Arik Hadas a écrit :
>
>
>
> On Mon, Mar 5, 2018 at 6:48 PM, Arik Hadas <ahadas at redhat.com> wrote:
>
>>
>>
>> On Mon, Mar 5, 2018 at 6:29 PM, Fabrice SOLER <
>> fabrice.soler at ac-guadeloupe.fr> wrote:
>>
>>> Hello,
>>>
>>> I need to export my VM to OVA format from the administration portail
>>> Ovirt. It fails with this message :
>>>
>>> *Failed to export Vm CentOS as a Virtual Appliance to path
>>> /data/CentOS.ova on Host eple-rectorat-proto*
>>>
>>> My storage is local (not NFS or iSCSI), is there some particulars
>>> permissions to put to the destination directory ?
>>>
>> No, the script that packs the OVA is executed with root permissions.
>>
>>
>>> The path is the path to an export domain ?
>>>
>> Not necessarily.
>>
>
> Oh, and please share the (engine, ansible) logs if you want more eyes
> looking at that failure.
>
>
>>
>>
>>> Sincerely,
>>>
>>> Fabrice SOLER
>>> --
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
>>>
>>>
>>
>
> --
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20180305/a37e1ac1/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Fabrice SOLER.PNG
Type: image/png
Size: 16525 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/users/attachments/20180305/a37e1ac1/attachment.png>


More information about the Users mailing list