1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-02 08:56:07 +00:00
webvirtcloud/storages
catborise 143a74b145 fix(storages): a volume another compute's VM uses on shared storage is not deleted
A pool on shared storage (an NFS share, or a directory mounted from one)
holds the same file at the same path on every host that mounts it. A
VM's delete checks the panel's other computes before it deletes its disk
files, but the pool page, its API and a VM's disk delete checked only
their own host: a disk of a VM on another compute could be deleted. They
now ask the other computes too, and refuse while one uses the file or
cannot be reached. The other computes are asked before this host's lock
is taken, and before a VM's disk is detached.
2026-11-13 10:41:18 +03:00
..
api fix(storages): a volume another compute's VM uses on shared storage is not deleted 2026-11-13 10:41:18 +03:00
migrations refactor: the API's serializers and the new VM form no longer need models 2026-11-06 13:46:27 +03:00
templates fix(storages): a share or LVM pool a VM's disk path is in is not deleted 2026-11-13 10:41:03 +03:00
tests fix(storages): a volume another compute's VM uses on shared storage is not deleted 2026-11-13 10:41:18 +03:00
__init__.py build new tree 2015-02-27 11:28:22 +02:00
forms.py fix(storages): a pool is not made of a system directory or of another pool's 2026-11-13 10:41:03 +03:00
jobs.py fix(storages): a volume a running VM uses is not cloned 2026-11-07 23:56:04 +03:00
upload.py refactor(vrtManager): remove the wvmConnect.close() that did nothing 2026-11-08 12:19:29 +03:00
views.py fix(storages): a volume another compute's VM uses on shared storage is not deleted 2026-11-13 10:41:18 +03:00