My Oracle Support Banner

OLVM: OVA File Export/Import Error "Failed To Find Or Load The VM Or Template Configuration From OVA Directory" (Doc ID 2930711.1)

Last updated on MARCH 01, 2023

Applies to:

Linux OS - Version Oracle Linux 7.9 with Unbreakable Enterprise Kernel [5.4.17] and later
Information in this document applies to any platform.
Linux x86-64

Symptoms

The system is unable to export/import Virtual Machine(s) in OVA on Oracle Linux Virtualization Manager (OLVM). Further details can be found below.

ERROR
-----------------------

OVA File Export/Import Error "Failed To Find Or Load The VM Or Template Configuration From OVA Directory"
--engine.log (/var/log/ovirt-engine/engine.log)
2023-02-14 13:35:14,731+11 INFO [org.ovirt.engine.core.common.utils.ansible.AnsibleExecutor] (default task-20) [9e5abd13-d343-4235-964c-3dde632ebd5f] Executing Ansible command: /usr/bin/ansible-playbook --ssh-common-args=-F /var/lib/ovirt-engine/.ssh/config -v --private-key=/etc/pki/ovirt-engine/keys/engine_id_rsa --inventory=/tmp/ansible-inventory4842740959563320583 --extra-vars=target_directory="/NasNFS" --extra-vars=validate_only="True" /usr/share/ovirt-engine/playbooks/ovirt-ova-export.yml [Logfile: /var/log/ovirt-engine/ova/ovirt-export-ova-validate-ansible-20230214133514-testvm01-9e5abd13-d343-4235-964c-3dde632ebd5f.log]
2023-02-14 13:35:15,531+11 INFO [org.ovirt.engine.core.common.utils.ansible.AnsibleExecutor] (default task-20) [9e5abd13-d343-4235-964c-3dde632ebd5f] Ansible playbook command has exited with value: 4
2023-02-14 13:35:15,532+11 WARN [org.ovirt.engine.core.bll.exportimport.ExportVmToOvaCommand] (default task-20) [9e5abd13-d343-4235-964c-3dde632ebd5f] Validation of action 'ExportVmToOva' failed for user xxxxx@internal-authz. Reasons: VAR__ACTION__EXPORT,VAR__TYPE__VM,ACTION_TYPE_FAILED_INVALID_OVA_DESTINATION_FOLDER,$vdsName olvm-kvm-host01,$directory /NasNFS
--ova log (/var/log/ovirt-engine/ova/*)
2022-02-14 13:35:45,603 p=22587 u=ovirt n=ansible | fatal: [olvm-kvm-host01]: FAILED! => {"changed": false, "msg": "Failed to connect to the host via ssh: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).", "unreachable": true}
2022-02-14 13:35:45:45,605 p=22587 u=ovirt n=ansible | [WARNING]: Failure using method (v2_playbook_on_stats) in callback plugin
(<ansible.plugins.callback.ovaqueryplugin.CallbackModule object at
0x7fce55174c10>): 'CallbackModule' object has no attribute 'ovf'

Changes

 N/A

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.