Hello,
I am trying to export a bunch o VM from oVirt version 3.5
The problem is that there is no OVA support for exporting them. I also tryed to export VMs into OVA format using ovirtsdk4 which anyway won't work on oVirt 3.5.
I can successfully export to a NFS partition but for each VM there are several qcow v2 files which I suppose to be the VM image and its snapshots.
How to identify the correct file to represent the current VM status ?
When exporting you should get only one image file with the current status of the vm.
If you want to hack with the vm images, you can commit all the chain of the snapshot files to your own single qcow2 copy using qemu-img commands.
You can easily get the disk ID of the current active snapshot (vm -> snapshots) then you can view the full chain with:
qemu-img info --backing-chain $FILENAME
You need to know what you are doing though to avoid any data loss.
If I delete all the snapshots, will I end up with only one valid qcow v2 image that I can use ?
Yes, you should. You can try if the snapshots are not needed.