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.
Show replies by date
I've looked at the REST API a fair amount and I don't recall seeing such an
option, because it is not an OLVM object, it is only local to the KVM host. However, If
you do a drill down into the error reported, often there is additional detail, beyond just
the main error message.