1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-02 17:06:09 +00:00
webvirtcloud/operations
catborise 84d633af08 fix: a downloading volume is not put in a new VM or a CD-ROM; slow downloads read as bytes come
A download writes its volume under its final name, so the volume was
offered while half written. #685 kept a copy and an attach away from
it; a new VM and a CD-ROM still took it. The VM create job now claims
the volumes it is made from (a writable one exclusive, a template or a
CD-ROM image shared), and adding a CD-ROM or inserting media holds the
ISO's volume shared and reads the ISO again in that pool under the
claim (iso_location, iso_path_in). Each is refused with the download
named.

A claim's key holds a pool's and a volume's names: longer than 255
characters on PostgreSQL it failed the request; Claim.resource is text.

A pool that belongs to more than one backup target is not stopped while
a backup to any of them runs (it took the first target only).

The download read 1 MiB at a time: on a slow server a cancel and the
progress waited for a whole MiB. It reads what has come (read1).
2026-11-20 16:59:01 +03:00
..
api feat(computes): Balance proposes migrations that even out the hosts 2026-11-16 07:37:10 +03:00
management feat(operations): the job worker 2026-10-14 23:27:57 +03:00
migrations fix: a downloading volume is not put in a new VM or a CD-ROM; slow downloads read as bytes come 2026-11-20 16:59:01 +03:00
static/operations fix: worker warnings and CPU windows do not depend on a wall clock 2026-11-10 12:21:36 +03:00
templates/operations fix(vmbackups): a saved schedule says so; a finished job opens what it made 2026-11-17 22:06:19 +03:00
templatetags fix(vmbackups): a schedule run's failure reason in the reader's language 2026-11-18 14:05:38 +03:00
tests fix: a downloading volume is not put in a new VM or a CD-ROM; slow downloads read as bytes come 2026-11-20 16:59:01 +03:00
__init__.py feat(operations): job, claim and worker lease models 2026-10-14 23:27:57 +03:00
alerts.py fix: a test alert button; damage shown and warned of on restore 2026-11-19 17:24:18 +03:00
apps.py refactor(settings): SQLite's WAL mode is an init_command 2026-11-06 11:01:51 +03:00
claims.py fix(backups): a verification marks each damaged backup of the chain; an error told once 2026-11-19 19:12:02 +03:00
jobs.py feat(alerts): mail and webhook alerts, and /healthz for a monitor 2026-11-19 16:10:37 +03:00
models.py fix: a downloading volume is not put in a new VM or a CD-ROM; slow downloads read as bytes come 2026-11-20 16:59:01 +03:00
urls.py feat(operations): jobs page 2026-10-14 23:27:57 +03:00
utils.py feat(migrations): a migration's bandwidth can be capped 2026-11-20 09:44:17 +03:00
views.py fix: power jobs name their action, refuse what does not apply and recover by the VM's state 2026-11-20 12:10:06 +03:00
worker.py fix(backups): a verification marks each damaged backup of the chain; an error told once 2026-11-19 19:12:02 +03:00