I ran into this issue as my VM storage is over nfs (connected to a NAS), when running the script I was repeatedly getting an error of [ERROR] 255@136 Unknown failure occured. - on tracking through the code I see this:
if [ "$STORAGE_TYPE" = "dir" ]; then DISK_EXT=".qcow2" DISK_REF="$VMID/" IMPORT_OPT="-format qcow2" fi
without this working correctly whatever storage type selected it will fail in the import and set step.
There are a few ways to solve (call our in README that nfs or other storage is not supported, check in code for dir only and fail with error if not the case, support nfs stores (probably more work)). I might be able to submit a PR for some of this, what would be the recommended approach?
This seems to be the same problem I had. It worked fine when installing to an iSCSI LVM on my end. I would prefer the option to install to NFS as that is what I use the most.
I ran into this issue as my VM storage is over nfs (connected to a NAS), when running the script I was repeatedly getting an error of
[ERROR] 255@136 Unknown failure occured.
- on tracking through the code I see this:if [ "$STORAGE_TYPE" = "dir" ]; then DISK_EXT=".qcow2" DISK_REF="$VMID/" IMPORT_OPT="-format qcow2" fi
without this working correctly whatever storage type selected it will fail in the import and set step.
There are a few ways to solve (call our in README that nfs or other storage is not supported, check in code for dir only and fail with error if not the case, support nfs stores (probably more work)). I might be able to submit a PR for some of this, what would be the recommended approach?