1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-02 17:06:09 +00:00
webvirtcloud/storages/tests
catborise c9fef349d5 feat(storages): a volume downloads from its pool page
The volume menu of a pool page gets Download: the host reads the volume
with libvirt's download stream and the panel passes it on in chunks, so
a disk image never sits in the panel's memory. The file is the volume as
stored: a qcow2 volume comes as its qcow2 file. A volume a running VM
uses is refused, as for a copy; the refusal is a message on the pool
page. Each download is a row in the audit log.

gunicorn's worker exits when a request runs past its timeout (600 s), to
end requests stuck on a host. A download of a large disk runs longer, so
each chunk sent starts the request's timeout again: a download that stops
sending is still ended. nginx passes the chunks on as they come
(X-Accel-Buffering: no) instead of spooling them to a file.
2026-11-15 00:31:42 +03:00
..
__init__.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_audit_rows.py perf(storages): the pool page does not list the host's pools 2026-11-08 12:02:49 +03:00
test_download.py feat(storages): a volume downloads from its pool page 2026-11-15 00:31:42 +03:00
test_live_download.py feat(storages): a volume downloads from its pool page 2026-11-15 00:31:42 +03:00
test_live_pools.py test: each test is in the tests package of the code it tests 2026-11-06 13:48:04 +03:00
test_new_pool.py fix(virtsecrets): a secret in use is not deleted, and a password is stored as typed 2026-10-29 10:10:43 +03:00
test_pool_in_use.py 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
test_pool_page.py perf(storages): the pool page does not list the host's pools 2026-11-08 12:02:49 +03:00
test_pool_target.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
test_sftp_pipelined.py feat(storages): an ISO upload is a job 2026-10-16 11:53:59 +03:00
test_ssh_pool.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_upload_job.py feat(operations): a job's error and warning show in the reader's language 2026-11-02 23:49:45 +03:00
test_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
test_volume_clone_job.py refactor(vrtManager): a shut-off VM clone copies its disks with clone_volume 2026-11-14 19:43:11 +03:00