OpenNebula 6.2.0
NFS for datastores.
When I created images,they would be locked.I could not get the SOURCE of them by 'oneimage show '.But there were image caches appeared in the path of NFS.
I have literally same issue. Do you have any solutions? NFS Storage, image downloaded already but status is still LOCKED. And will be LOCKED forever i guess. May be problem in some permissions for storage?
In our case, reason was that fallocate command from downloader.sh never finished - we have mounted nfs with vers=4.1, fallocate works on nfs from 4.2. Check your nfs mount command.