1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-02 17:06:09 +00:00
webvirtcloud/operations/tests
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
..
js fix: worker warnings and CPU windows do not depend on a wall clock 2026-11-10 12:21:36 +03:00
__init__.py feat(operations): job, claim and worker lease models 2026-10-14 23:27:57 +03:00
fakes.py fix(operations): a host that does not answer keeps the job worker going for the others 2026-11-03 07:23:42 +03:00
proc_kinds.py test(operations): workers and admissions across processes 2026-10-14 23:27:57 +03:00
test_alerts.py fix: a test alert button; damage shown and warned of on restore 2026-11-19 17:24:18 +03:00
test_api.py fix: worker warnings and CPU windows do not depend on a wall clock 2026-11-10 12:21:36 +03:00
test_claims.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
test_conf.py feat(operations): worker concurrency and job retention settings 2026-10-14 23:27:57 +03:00
test_hold.py refactor(computes): the lock helpers take claims instead of file locks 2026-10-14 23:27:57 +03:00
test_kinds.py test: classes that use no database are SimpleTestCase 2026-11-06 13:48:03 +03:00
test_models.py feat(operations): job, claim and worker lease models 2026-10-14 23:27:57 +03:00
test_panel_js.py feat(operations): job panel on the VM page 2026-10-14 23:27:57 +03:00
test_processes.py test(operations): a worker a process test cannot stop shows where it is stuck 2026-10-21 12:10:59 +03:00
test_public_error.py fix(instances): USB device changes as PCI ones; device refusals name no VM to owners 2026-11-11 22:58:40 +03:00
test_recovery.py fix(backups): a verification marks each damaged backup of the chain; an error told once 2026-11-19 19:12:02 +03:00
test_redact.py feat(operations): admit claims atomically; redact secrets 2026-10-14 23:27:57 +03:00
test_service.py fix(logs): a job's rows carry the address it was asked from, and a cancel its own user 2026-11-07 14:36:44 +03:00
test_views.py fix(jobs): a busy message names what the job in the way works on 2026-11-19 21:35:28 +03:00
test_worker.py feat(vmbackups): backup schedules' records; the worker runs the apps' periodic tasks 2026-11-17 10:18:04 +03:00