1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-08 19:26:48 +00:00
webvirtcloud/appsettings/tests
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
..
__init__.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_appsettings.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_get_settings.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_migrations.py fix(instances): a snapshot needs free space in the VM's storage pools 2026-10-13 13:27:39 +03:00
test_theme_name.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_themes.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00