Closed elonen closed 6 years ago
Can you please attach the corresponding ErrorReports from /var/lib/linstor-controller/logs/
from the controller and (if any) from /var/lib/linstor-satellite/logs/
from the satellite(s)?
Looks like both Proxmox plugin and the manual attempt without specifying pool both result in a similar error ("Access to deleted volume" at Method 'checkDeleted', Source file 'VolumeData.java', Line #416
):
ErrorReport-5B8EE735-000001.log ErrorReport-5B8EE735-000000.log
No errors on satellites apparently.
Sorry, I forgot about this issue. The error was found yesterday and I'm quite positive that the fix should work (it's a bit tricky :) ).
The fix will be included in the next release.
Here is what happens:
The issue occurs whenever you try to deploy a resource (it doesn't matter if auto-place is involved or not) and that resource creation fails (for whatever reason). All of the resource's volumes will remain in a so called FreeSpaceMgr
. If you see the resource creation failed and you clean that resource up (delete it), unfortunately the volumes still remain referenced by the FreeSpaceMgr
. Deleting the resource also means deleting its volumes. The next time the FreeSpaceMgr
is asked for the estimated size of the remote storage, it tries to access the then already deleted volume --> Exception.
Until the next release, whenever you run into such a situation a simple restart of the controller should also resolve the problem (just Linstor, not the whole machine :) )
Looks like this is fixed by @ghernadi. I'm closing this issue, it was unrelated to the plugin itself anyways.
Linstor-proxmox 2.9.0-1 (from the Debian repository) apparently fails on auto-placement. Output from Proxmox status window:
This might actually be caused by a bug in the linstore-client, since manual auto-placement also seems to fail with "unknown exception" if you don't explicitly set storage pool:
vs.
(In any case, it would be nice if you could specify storage pool in
/etc/pve/storage.cfg
instead of relying on the default.)Package versions: