1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-02 17:06:09 +00:00
webvirtcloud/computes
catborise 29ec20682b fix(computes): a libvirt host is one compute, and a compute's VMs stay on their host
One host could be added twice, under another name, as TCP and SSH, or by
another address: its VMs were listed once per record, each with its own
owners, and counted twice in the capacity totals. A compute with VMs could
also be pointed at another host: the owners of a VM then reached the
VM with the same UUID there, a restored or copied one.

A compute now keeps its libvirt host UUID. Adding a compute or changing
its connection, on the web or the API, connects and reads it: a host that
is already a compute is refused, and a compute with VMs moves only to an
address of the same host, which must answer. Computes added before are
read when another one is checked.
2026-11-12 09:19:03 +03:00
..
api fix(computes): a libvirt host is one compute, and a compute's VMs stay on their host 2026-11-12 09:19:03 +03:00
migrations fix(computes): a libvirt host is one compute, and a compute's VMs stay on their host 2026-11-12 09:19:03 +03:00
templates fix(i18n): chart series and the preset announcement in the page's language 2026-11-09 14:41:48 +03:00
tests fix(computes): a libvirt host is one compute, and a compute's VMs stay on their host 2026-11-12 09:19:03 +03:00
__init__.py Initial commit 2015-02-27 10:53:51 +02:00
apps.py fix: track migrations; installs apply them instead of generating them 2026-10-04 01:08:11 +03:00
forms.py feat(computes): the host form names its connection and folds the advanced fields 2026-10-31 18:10:05 +03:00
models.py fix(computes): a libvirt host is one compute, and a compute's VMs stay on their host 2026-11-12 09:19:03 +03:00
urls.py fix(storages): a refused new volume comes back in its dialog 2026-10-31 18:35:09 +03:00
utils.py fix(computes): a libvirt host is one compute, and a compute's VMs stay on their host 2026-11-12 09:19:03 +03:00
validators.py chore: remove code nothing uses 2026-11-06 10:53:37 +03:00
views.py fix(computes): a libvirt host is one compute, and a compute's VMs stay on their host 2026-11-12 09:19:03 +03:00