1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-08 19:26:48 +00:00
webvirtcloud/nwfilters
catborise 57cf49262a fix(instances): clones roll back their copies; own error messages stay
Clone:
- only shut-off VMs are cloned, as the UI already required: a running
  guest keeps writing while its disks are copied; the definition comes
  from the persistent XML;
- MAC addresses and disk destinations are checked before anything is
  allocated;
- every volume the clone creates (NVRAM and disks) is tracked; if a
  later copy or the definition fails, only those are deleted, and any
  that cannot be deleted are named in the error. Before, a failed clone
  left its earlier copies behind.

libvirtError(msg) reports the thread's last libvirt error instead of
msg when there is one, so WebVirtCloud's own errors could show an
earlier, unrelated failure. util.OperationError, a libvirtError
subclass that keeps its message, replaces those raises in vrtManager,
instances and nwfilters; 'except libvirtError' still catches it.
2026-10-04 01:08:11 +03:00
..
migrations Add NWFilters 2018-09-21 19:11:17 +03:00
templates bootstrap icon conversion fixes 2023-08-11 09:40:38 +03:00
__init__.py Add NWFilters 2018-09-21 19:11:17 +03:00
apps.py lint with black python. convert f style strings to old one. some small fixes 2020-11-05 12:34:31 +03:00
models.py ci: replace super-linter with ruff 2026-10-04 01:08:11 +03:00
tests.py feat(security): implement P0 critical security fixes for API, console, and access control 2026-09-27 10:50:09 +03:00
views.py fix(instances): clones roll back their copies; own error messages stay 2026-10-04 01:08:11 +03:00