1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-08 19:26:48 +00:00
webvirtcloud/conf
catborise dbbf2ce2e8 test(instances): isolate the live libvirt suite on shared hosts
- Runs only when TEST_LIBVIRT_HOST is set, so manage.py test on a
  developer machine no longer creates VMs on the local libvirtd.
- Every VM and volume is named wvc-test-*, and volumes live in a
  temporary wvc-test pool (/var/lib/libvirt/wvc-test) instead of the
  default pool next to real images.
- Cleanup removes only prefixed domains and the test pool's volumes;
  it also clears leftovers of an interrupted run before starting, and
  tolerates domains that turned transient.
- tearDownClass fails if any domain or volume outside the test
  namespace appeared, disappeared or was replaced.
- livetest gains create_volume/define_vm helpers and
  test_live_dataloss.py, whose setUpClass opens the class transaction
  last, so a failed libvirt connection cannot lock the test database
  for later test classes.

The first live tests reproduce two known external-snapshot data losses
and are marked expectedFailure: reverting deletes a disk added after
the snapshot, and deleting the older of two snapshots deletes the
newer one's overlay.
2026-10-04 01:08:11 +03:00
..
daemon fix(gstfsd): append SSH keys, IPv6 loopback bind, server-side timeout 2026-10-03 00:02:01 +03:00
nginx fix(console): keep socketiod behind nginx and off by default there too 2026-10-02 22:27:39 +03:00
runit fix(console): fix novncd startup in container and prevent double slashes in websocket url 2026-09-25 23:11:52 +03:00
supervisor conf(gstfsd): show how to allow a remote bind in supervisor and systemd 2026-10-02 23:10:04 +03:00
systemd conf(gstfsd): show how to allow a remote bind in supervisor and systemd 2026-10-02 23:10:04 +03:00
requirements.txt ci: test Python 3.13, check migrations, schema, deploy and audit 2026-10-04 01:08:11 +03:00
test-vm.xml test(instances): isolate the live libvirt suite on shared hosts 2026-10-04 01:08:11 +03:00