I’ve installed fresh KVM + frontend and added NFS storage between KVM and frontend. Everything working as expected, but when I attach a disk from this datastore, instead of creating the link in the system directory of Nebula, it copy the image into the VMs directory in /var/lib/one/datastore/0/ID/. I don’t have this issue with our 7 other locations (location includes frontend +KVMs).
Using OpenNebula 6.4.0 with community package installed on Alma 8.8
Could you check what deployment mode is set in the VM(s)?
You should look for the TM_MAD_SYSTEM attribute in the VM metadata (on this forum, this thing is IMHO wrongly referenced as VM Template too…)
onevm show ${VMID} -x
Also, check what is set in the VM Template used for instantiating the VM too. (Well it is not clear what is the “default” value there, though…)
Another thing is for new installations to consider using qcow2 for the tm_mad. In one-6.4 the shared tm_mad is a symlink to the qcow2 tm_mad, but I believe setting to qcow2 is clearer.
The TM_MAD_SYSTEM for the VM is set to:
<TM_MAD_SYSTEM></TM_MAD_SYSTEM>
Same is for the datastore.
I’ve already tried creating additional datastore qcow2 for testing but the result is just the same - image gets copied (to system datastore of Nebula) upon attaching it to the VM
I’m completely lost with this issue. Now this issue appears on other locations, where we didn’t had issues since upgrade. It’s either the storage template or the VM template, but in both cases i’m completely unable to locate the problem
I see that my response previous week doesn’t show the TM_MAD_SYSTEM, currently is set to
< ! [ CDATA [ ssh ] ]>
without the whitespaces
Upgrading to 6.6 doesn’t solve the issue as well. I’m seeing that Nebula creates “ds.xml” file on KVM, which is not created in other location for other VMs which have links created properly.