1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-02 17:06:09 +00:00
webvirtcloud/static/js
catborise 4941a8a048 feat(computes): Balance proposes migrations that even out the hosts
A Balance button on the Computes page opens computes/balance/: the memory
and vCPUs each host gives its running VMs, before and after, and the
proposed migrations. The proposal (computes/balance.py) takes, step by
step, the one move that most lowers the sum of the squared memory loads,
then of the squared vCPU loads, and stops when none does; each VM moves
once, and the VMs moved to a host fit in the memory its running and
paused VMs leave without counting those moved away, so the moves may
run in any order. Only running VMs count and
move; one that cannot move (no destination shares its disks) still
counts on its host and is listed with the reason. Unticking a VM keeps
it where it is and makes the proposal again.

Migrate runs the moves shown in one host.balance job. It shares the bulk
migration's loop (computes.jobs.Migrations): migrate jobs, the chosen
number at once, one bulk job at a time. Its migrations take only a
running VM (moveto running_only): one stopped since stays where it is.

A job another one started now shows only on its own page: a host's page
no longer lists a bulk migration's or a balance's migrations, and the
Computes page shows the bulk jobs.
2026-11-16 07:37:10 +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 feat(computes): Balance proposes migrations that even out the hosts 2026-11-16 07:37:10 +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 fix(computes): Bulk Migrate replaces Evacuate, and its list has Select all 2026-11-15 19:43:51 +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