1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-02 08:56:07 +00:00
webvirtcloud/static/js
catborise ea20f12bc8 feat(computes): Bulk Migrate spreads a host's VMs over the others; host checks asked once
Bulk Migrate sent every chosen VM to one destination, without looking at
its memory. With several other hosts it now spreads them by default
(computes.balance.spread): the largest VMs first, each to the host that
has the least memory, then vCPUs, with it; a VM that holds its memory
(running or paused) only where it fits the memory the host's running and
paused VMs leave. The page shows where
each VM goes and makes the spread again when a VM is ticked or unticked;
a VM no host has room for says so. One destination stays a choice. The
host.bulk_migrate job takes a destination per VM ("moves").

The Balance and Bulk Migrate pages asked, for every VM and destination,
the host's identity and whether both hosts share each disk directory,
which writes a marker file on the shared storage: about 86 ms a pair,
sequential, so minutes with a few hundred VMs on ten hosts. A Reach
(computes/reach.py) asks each host pair and each directory once and
reads a VM's definitions once. vrtManager: wvmInstances.shares and
file_disks, also used by disk_plan.

read_fleet reads the hosts, their VMs and loads for both pages.
2026-11-16 10:29:07 +03:00
..
ace chore(deps): patch and minor updates of pinned and vendored libraries 2026-11-07 18:14:59 +03:00
novnc chore: remove files nothing uses 2026-11-06 10:53:43 +03:00
xterm build: xterm 6.0.0 for the serial console 2026-10-17 16:09:50 +03:00
back_links.js refactor(templates): the shared page scripts load from static files 2026-11-02 08:47:58 +03:00
balance.js fix(computes): the Balance page shows each host's load as bars 2026-11-16 08:11:47 +03:00
bootstrap.bundle.min.js build(deps): Bootstrap and Bootswatch 5.3.8 2026-10-12 08:44:31 +03:00
bootstrap.bundle.min.js.map build(deps): Bootstrap and Bootswatch 5.3.8 2026-10-12 08:44:31 +03:00
bulk_migrate.js feat(computes): Bulk Migrate spreads a host's VMs over the others; host checks asked once 2026-11-16 10:29:07 +03:00
chart.umd.min.js chore(deps): patch and minor updates of pinned and vendored libraries 2026-11-07 18:14:59 +03:00
charts.js fix(computes): a chart places each reading at the time it came 2026-11-13 16:38:42 +03:00
choice_dialog.js feat(networks): the network pages on Bootstrap's cards, tables and dialogs 2026-10-29 10:09:27 +03:00
confirm_dialog.js feat(templates): every confirmation asks in the page's own dialog 2026-10-31 20:44:39 +03:00
console_keys.js fix(console): a held key let go on the keyboard is let go in the VM 2026-10-27 12:30:42 +03:00
console_layouts.js feat(console): typed text follows the VM's keyboard layout 2026-10-27 12:23:32 +03:00
console_serial.js fix(console): a console the server closes says Connection lost, not Disconnected 2026-11-10 19:01:21 +03:00
console_vnc.js fix(console): a console the server closes says Connection lost, not Disconnected 2026-11-10 19:01:21 +03:00
console_window.js refactor(instances): the VM lists' scripts load from static files 2026-11-02 09:35:07 +03:00
create_instance.js fix(i18n): chart series and the preset announcement in the page's language 2026-11-09 14:41:48 +03:00
create_machine.js fix(logs): failures name their job, VM and user; the new VM form shows a list it could not load 2026-11-06 23:48:44 +03:00
error_focus.js fix(logs): failures name their job, VM and user; the new VM form shows a list it could not load 2026-11-06 23:48:44 +03:00
find_address.js fix(instances): the address search shows host names as they are 2026-10-25 21:33:41 +03:00
host_graphs.js fix(computes): a host's CPU chart counts I/O wait as idle, and its memory in GiB 2026-11-13 16:38:42 +03:00
host_groups.js refactor(instances): the VM lists' scripts load from static files 2026-11-02 09:35:07 +03:00
instance_page.js fix(instances): the clone form names each extensionless disk apart 2026-11-07 23:56:04 +03:00
instance_stats.js fix(i18n): chart series and the preset announcement in the page's language 2026-11-09 14:41:48 +03:00
instance_status.js fix(instances): an open VM page follows its VM's removal on the host 2026-11-10 13:19:39 +03:00
instance_tabs.js feat(instances): the top of a VM's page in one card 2026-10-29 22:46:24 +03:00
interface_dialog.js refactor(templates): the host pages' scripts load from static files 2026-11-02 09:45:26 +03:00
jquery.js build: jQuery 4.0.0 2026-10-17 12:40:56 +03:00
login_form.js refactor(templates): the shared page scripts load from static files 2026-11-02 08:47:58 +03:00
network_dialog.js refactor(templates): the host pages' scripts load from static files 2026-11-02 09:45:26 +03:00
network_page.js fix(networks): a fixed address has a host name, a host address and is changed as shown 2026-11-12 13:25:30 +03:00
new_vm_dialog.js refactor(instances): the VM lists' scripts load from static files 2026-11-02 09:35:07 +03:00
nwfilter_page.js refactor(templates): the host pages' scripts load from static files 2026-11-02 09:45:26 +03:00
nwfilters_page.js refactor(templates): the host pages' scripts load from static files 2026-11-02 09:45:26 +03:00
otp_qr.js fix(accounts): the mailed OTP link keeps its token out of the access logs 2026-11-09 12:00:55 +03:00
please_wait.js chore: remove code nothing uses 2026-11-06 10:53:37 +03:00
poll.js feat(instances): the VM lists follow changes by themselves 2026-11-01 19:53:45 +03:00
pool_dialog.js refactor(templates): the host pages' scripts load from static files 2026-11-02 09:45:26 +03:00
searchable_select.js feat(ui): the owner and VM lists of the ownership forms are searchable 2026-11-10 09:21:25 +03:00
secrets_page.js refactor(templates): the host pages' scripts load from static files 2026-11-02 09:45:26 +03:00
socket.io.js build: socket.io client 4.8.4 2026-10-16 22:42:30 +03:00
sort_tables.js feat(tables): tables sort with tablesort, the grouped VM list within each host 2026-10-24 19:02:51 +03:00
storage_page.js fix(storages): an ISO chunk answered with an HTML page is not counted as stored 2026-11-09 14:41:48 +03:00
table_filter.js fix(instances): the VM list keeps its state filter and finds names in any case 2026-11-13 16:07:01 +03:00
tablesort.min.js feat(tables): tables sort with tablesort, the grouped VM list within each host 2026-10-24 19:02:51 +03:00
tablesort.number.min.js feat(tables): tables sort with tablesort, the grouped VM list within each host 2026-10-24 19:02:51 +03:00
tom-select.complete.min.js build: Tom Select replaces bootstrap-multiselect 2026-10-16 23:25:15 +03:00
user_form.js style(admin): the user form asks who, what role, what quota, then what more 2026-11-04 22:33:07 +03:00
vm_addresses.js perf(instances): a VM page does not wait for the guest agent's addresses 2026-11-07 15:42:49 +03:00
vm_states.js fix(instances): a VM list notices a change made while the page was read 2026-11-11 15:17:59 +03:00
vm_states_start.js fix(instances): a VM list notices a change made while the page was read 2026-11-11 15:17:59 +03:00
xml_editor.js style(instances): the XML tab's editor is taller and its review marks the changed lines 2026-11-04 14:26:22 +03:00