When I try to export a vm to ova, get this below error in engine log
2018-10-26 12:11:36,657-04 ERROR
[org.ovirt.engine.core.bll.SerialChildCommandsExecutionCallback]
(EE-ManagedThreadFactory-engineScheduled-Thread-37) [484d3716] EngineException: ENGINE
(Failed with error ENGINE and code 5001):
org.ovirt.engine.core.common.errors.EngineException: EngineException: ENGINE (Failed with
error ENGINE and code 5001)
at
org.ovirt.engine.core.bll.exportimport.ExportOvaCommand.createOva(ExportOvaCommand.java:301)
[bll.jar:]
at
org.ovirt.engine.core.bll.exportimport.ExportOvaCommand.executeNextOperation(ExportOvaCommand.java:285)
[bll.jar:]
at
org.ovirt.engine.core.bll.exportimport.ExportOvaCommand.performNextOperation(ExportOvaCommand.java:277)
[bll.jar:]
at
org.ovirt.engine.core.bll.SerialChildCommandsExecutionCallback.childCommandsExecutionEnded(SerialChildCommandsExecutionCallback.java:32)
[bll.jar:]
at
org.ovirt.engine.core.bll.ChildCommandsCallbackBase.doPolling(ChildCommandsCallbackBase.java:68)
[bll.jar:]
at
org.ovirt.engine.core.bll.tasks.CommandCallbacksPoller.invokeCallbackMethodsImpl(CommandCallbacksPoller.java:146)
[bll.jar:]
at
org.ovirt.engine.core.bll.tasks.CommandCallbacksPoller.invokeCallbackMethods(CommandCallbacksPoller.java:107)
[bll.jar:]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[rt.jar:1.8.0_181]
In Ansible log
writing disk:
path=/rhev/data-center/mnt/ca-ovmstor101:_export_sanrathi_brml11g04-oVirt-nfs-01/aec73d1f-ea3d-4228-a151-a41b20b6b67b/images/e1186fdb-3fc3-46ae-945c-dd19bb6d434c/d95c52e3-35d1-493e-ab2d-42577bdb0391
size=196848
Traceback (most recent call last):
File
"/root/.ansible/tmp/ansible-tmp-1540570288.02-200413742597669/pack_ova.py", line
96, in <module>
write_disks(ova_path, disks_info.split('+'))
File
"/root/.ansible/tmp/ansible-tmp-1540570288.02-200413742597669/pack_ova.py", line
79, in write_disks
write_disk(ova_path, disk_path, disk_size)
File
"/root/.ansible/tmp/ansible-tmp-1540570288.02-200413742597669/pack_ova.py", line
59, in write_disk
fd = os.open(disk_path, os.O_RDONLY | os.O_DIRECT)
OSError: [Errno 13] Permission denied:
'/rhev/data-center/mnt/ca-ovmstor101:_export_sanrathi_brml11g04-oVirt-nfs-01/aec73d1f-ea3d-4228-a151-a41b20b6b67b/images/e1186fdb-3fc3-46ae-945c-dd19bb6d434c/d95c52e3-35d1-493e-ab2d-42577bdb0391'
I have my storage in NFS .
Note: Export to Domain works fine.
Thanks in advance .