1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-03 17:36:05 +00:00
webvirtcloud/storages
catborise 690275adb7 refactor(vrtManager): a shut-off VM clone copies its disks with clone_volume
clone_instance built its own volume XML for file disks and for RBD
images, and called clone_volume only for block disks. Each disk now goes
through wvmStorage.clone_volume, in the pool of its source volume.

clone_volume makes the volume under the exact name it is given and
returns its path; clone_name, as before, gives a dir pool's name its
suffix, and the template copy and the storage clone job use it. Metadata
preallocation is asked only for qcow2, the one format libvirt
preallocates. A raw file copy no longer gets qcow2's compat options, and
an RBD copy no longer passes the preallocation flag, which the RBD
backend refuses.
2026-11-14 19:43:11 +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 refactor(vrtManager): a shut-off VM clone copies its disks with clone_volume 2026-11-14 19:43:11 +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 refactor(vrtManager): a shut-off VM clone copies its disks with clone_volume 2026-11-14 19:43:11 +03:00
upload.py refactor(vrtManager): remove the wvmConnect.close() that did nothing 2026-11-08 12:19:29 +03:00
views.py refactor(storages): the storage pages name what their templates get 2026-11-14 13:36:06 +03:00