1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-08 11:16:47 +00:00
webvirtcloud/vrtManager
catborise 5f8f7a8643 fix(instances): a snapshot needs free space in the VM's storage pools
A disk-only snapshot was taken without any space check, though its
overlays grow as the guest writes and a later delete merges them down;
a full pool pauses the guest and can leave the snapshot undeletable.
Only a memory snapshot was checked, for the memory alone.

Before a snapshot, each storage pool with a disk of the VM must have
free a share of those disks' virtual size (10%, at least 1 GiB), and
the pool of the memory file the VM's memory on top. Both values are on
the Settings page (Snapshot Free Percent, Snapshot Free Min GiB; 0
turns a rule off, an invalid value keeps the default). The pools are
refreshed first, and a failed refresh or an unreadable volume refuses
the snapshot instead of skipping the check; a disk in no pool is not
checked. Nothing is reserved: later writes can still fill a pool.
2026-10-13 13:27:39 +03:00
..
tests fix(instances): a snapshot needs free space in the VM's storage pools 2026-10-13 13:27:39 +03:00
__init__.py Initial commit 2015-02-27 10:53:51 +02:00
connection.py fix(storages): keep volumes a VM still needs 2026-10-13 09:13:02 +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): a snapshot needs free space in the VM's storage pools 2026-10-13 13:27:39 +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 fix(storages): keep volumes a VM still needs 2026-10-13 09:13:02 +03: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