mirror of
https://github.com/retspen/webvirtcloud
synced 2026-12-02 17:06:09 +00:00
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. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_audit_rows.py | ||
| test_download.py | ||
| test_live_download.py | ||
| test_live_pools.py | ||
| test_new_pool.py | ||
| test_pool_in_use.py | ||
| test_pool_page.py | ||
| test_pool_target.py | ||
| test_sftp_pipelined.py | ||
| test_ssh_pool.py | ||
| test_upload_job.py | ||
| test_views.py | ||
| test_volume_clone_job.py | ||