
23 Sep
2024
23 Sep
'24
5:39 p.m.
We are storing images in an NFS share that will be mounted to KVM hosts. When I attempt to provision a VM using the mounted path, it successfully provisions the VM from the OVA files. However, if an incorrect path is provided, it results in an 'Operation Failed' error. The error message is not so descriptive. To prevent this issue, I'd like to validate if the OVA file already exists in the specified path. Unfortunately, I haven't been able to find any APIs to query images directly from mounted locations on the host. While the web UI does display an error if an incorrect path is provided, I'm wondering if there are any APIs available to validate the presence of the OVA file in the specific path.