1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-08 11:16:47 +00:00
webvirtcloud/vrtManager
catborise 08cad04468 fix(instances): deleting a VM's data takes its snapshot files too
Deleting a VM with its data deleted only the images its disks pointed
at. With external snapshots that is the newest overlay: the image the
snapshots were taken on, the older overlays and the memory files stayed
on disk, with nothing referring to them once the VM and its snapshot
metadata were gone.

The files the VM's snapshots were taken on, down each disk's backing
chain, the overlays of snapshots kept off the chain after a revert, and
the snapshots' memory files are now the VM's own too. A template the
VM grew from ends the chain and stays, as does an overlay of a disk
detached since. The backing references of the VM's own volumes no
longer count as another domain's use, and a file another VM uses keeps
the files below it.

A backing file that cannot be read (other than one in no pool) stops the
split before anything is deleted, instead of ending the chain there.
2026-10-13 09:03:05 +03:00
..
tests fix(instances): deleting a VM's data takes its snapshot files too 2026-10-13 09:03:05 +03:00
__init__.py Initial commit 2015-02-27 10:53:51 +02:00
connection.py fix(interfaces): no create, start, stop or delete where libvirt cannot change interfaces 2026-10-10 21:38:22 +03:00
create.py fix(instances): device edits fit every definition and device type 2026-10-09 18:13:23 +03:00
hostdetails.py fix(instances): the new-VM dialog shows each host's current CPU load 2026-10-10 20:54:19 +03:00
instance.py fix(instances): deleting a VM's data takes its snapshot files too 2026-10-13 09:03:05 +03:00
interface.py fix(interfaces): a bridge over a bond or vlan keeps the device's settings 2026-10-08 23:23:22 +03:00
libvirt-ssh fix(vrtManager): libvirt connections open within a time limit 2026-10-05 09:06:52 +03:00
network.py fix(appsettings,vrtManager,storages): error handlers that hid the real failure 2026-10-07 11:29:45 +03:00
nwfilters.py fix(vrtManager): request values are not written into XPath expressions 2026-10-06 08:55:41 +03:00
rwlock.py fix(vrtManager): modernize rwlock for Python 3.12 compatibility and add tests 2026-09-24 21:49:52 +03:00
storage.py Detect RDB pools too 2025-03-14 10:31:40 +01:00
util.py fix(instances): device edits fit every definition and device type 2026-10-09 18:13:23 +03:00
virtsecrets.py Django 3.2.4 LTS upgrade 2021-06-15 13:28:47 +03:00