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@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
...
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.SerialChildCommandsExecutionCa llback] (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.SerialChildCommandsExecutionCa llback] (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@redhat.com> wrote:
On Mon, Mar 5, 2018 at 6:29 PM, Fabrice SOLER <fabrice.soler@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@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
--