instances.states named VIR_DOMAIN_PAUSED_API_ERROR, which python-libvirt 9.0
(Debian 12) and 8.0 (Ubuntu 22.04) do not have: an installation there failed
at its first manage.py migrate. That rare reason (libvirt paused the VM on an
API error) is no longer told; every other name exists in both.
The installer workflow's update jobs start from v4.3.0's commit, not its tag:
the tag is the fork's, and upstream's runs found no such commit.
An authorization sweep of everything added since 2026-11-09 (tags, Balance,
maintenance, Bulk Migrate, volume download, protection, disk I/O limits,
crash action, bulk power/snapshot/tag, backup targets, schedules, verify and
restores, unlock and OTP reset) as a stranger, staff, a view_instances
auditor, a flagless owner and an owner with every flag found no gap.
- the VM details of the API carry state_reason when a fault put the VM in
its state, as the VM page tells it: libvirt's state and reason codes of
one read and the reason in the request's language; null otherwise. A
script watching the API can tell a VM a full storage paused from one
paused by hand, in any language
- the bulk actions name a refused VM to whoever sees it (a view_instances
auditor too), and a bulk snapshot no longer tells one who does not see a
VM that it is a template (_visible_vms, one filter for the three)
- doc/permissions.md: creating a VM and the VM report, host devices, video,
RNG, TPM, the crash and hang action, disk I/O limits, disk moves and
protection are a superuser's, so are verifying a backup, restoring one
disk, backing up a template and the backup API; deleting a VM takes its
disk files when chosen; notes on bulk actions, the Jobs page, the address
search, API tokens and LDAP passwords
The VM Settings "When the guest crashes" choice (on_crash, restart for new
VMs) never acted: a guest reports a crash through a panic device, and the
panel gave VMs none. A guest whose kernel panicked stayed "running" until
someone noticed.
- new VMs get the panic device the host offers (get_panic_model: x86 ISA
pvpanic, which Linux has built in and Windows gets with virtio-win; the
PCI one elsewhere; ISA on x86 when libvirt does not tell), and an x86
machine without a watchdog of its own (not q35, which has the iTCO; not
microvm, which has no PCI bus) an i6300esb
- choosing Restart or Stop adds the panic device to a VM without one, an
i6300esb when it has no watchdog (libvirt before 9.1 shows no iTCO on
q35), and gives its watchdogs the matching action (reset, poweroff): a
guest that arms its watchdog and hangs is met as one that crashed. A VM
without these devices shows no choice made and says it cannot report a
crash or a hang yet. From the next start, as before
Checked live on a Vagrant host with a guest whose init exits (kernel panic):
without the device it stayed "running (booted)"; after Stop it ended
"shut off (crashed)", after Restart it booted again.
libvirt gives each state its reason; the panel showed only the state, so a
VM QEMU paused because its storage filled up read "Suspended" like one an
administrator paused.
- instances.states.REASONS: the fault reasons told (disk error, watchdog,
guest crash or kernel panic, a crash of the guest or its QEMU process,
libvirt stopping it after a restart, failed post-copy migration, libvirt
error, failed start); the ordinary ones (user, migration, snapshot) are not
- the lists read the reason with the state in their one getAllDomainStats
call (get_domain_rows, get_domain_states: a change of reason reloads a
list) and show it under the state badge
- the VM page reads state and reason in one virDomainGetState (a reason
means something only with its own state) and tells it in an alert; a VM
paused by a disk error names each disk and what it met
(virDomainGetDiskErrors), and when a storage has no free space, what to
do: an administrator frees space and resumes it. Disk errors are read
only then: libvirt keeps the last one after a resume. The page's poll
reloads on a change of reason too
Checked live on a Vagrant host: a guest filling a disk on a 40 MiB pool was
paused (I/O error, vda: no space); the page said so, and after the pool grew
and the VM was resumed the alert was gone.
- binary_size filter (common_tags): every size on the pages is B/KiB/MiB/GiB/TiB
with the language's decimal mark; Django's filesizeformat said GB for GiB, so a
page showed "512,0 MB / 3,8 GB" beside "0,4 / 3,8 GiB" and a disk "20,0 GB"
next to a GiB field
- percent filter and Intl percent in charts.js, the job panel and the new-VM
dialog: 13% in English, %13 in Turkish (pages had "13 %", "%11" and "13%")
- the Jobs page and panel say in whole sentences that the job worker is not
running and that jobs wait for it, instead of a sentence glued to a date
- job state badges start with a capital, as the VM state badges (CSS, so the
label stays lowercase inside sentences)
- profile card shows the username under the name only when there is a full name
- Turkish: hostname, revert snapshot, snapshot count, API token and worker texts
On a phone the settings page opened with its group index on seven lines, and
the index was gone once the page, nine screens long, was scrolled. Below the lg
breakpoint it is now one row that scrolls sideways and sticks under the navbar
(navbar_height.js gives what sticks the navbar's height, which differs between
themes and grows when the phone menu opens).
Turkish said "VM" in 65 messages and "sanal makine" everywhere else; it now
says "sanal makine" throughout. Headings and buttons that still capitalised
every word follow the panel's sentence case, in English too (Change password,
SSH keys, Power off, ...). Wrong translations fixed: a password that is set
read as the command "Ayarla", the firmware setting was called a chip type,
Create flavor said Create user, the console viewport setting was called a port,
a DRBD typo, and host and interface are sunucu and arabirim as on every page.
A group's save button reads "Kaydet: <group>".
On a phone the host's section menu wrapped to three lines, each new line
starting with a divider. It is now one row that scrolls sideways, with the
current section in sight (scroll_rows.js, which also takes over the VM page's
tab rows from instance_page.js).
The filter list, a filter's rules and the PCI and USB device tables were wider
than a phone and hid their actions and users off screen; on a phone they now
keep the name, the key column and the actions, as the other lists do.
The overview's live CPU and memory figures, the chart axes and tooltips, and
the VM page's stats now write numbers as the page's language does (a decimal
comma in Turkish), like the cards beside them.
The capacity cards said "0 bytes running"; they now say what they count:
"0 bytes in running VMs".
A pool's type is written as libvirt names it on both the list and its page,
and the device search sits where the interfaces search does.
On a phone the VM card's facts, three rows of section buttons and up to three
rows of settings tabs pushed every tab's content below the first screen. Both
tab rows are now a single row that scrolls sideways, the chosen tab is kept in
sight, and the card's facts run inline below the lg breakpoint.
The Migrate tab of a VM that cannot be migrated shows only the reason, as Bulk
Migrate does, not an empty destination list and a disabled button.
The card's Refresh and OS details buttons are outlined, like the panel's other
secondary buttons; filled gray read as disabled in the united theme.
- A backup schedule asks Which VMs first (a compute's, chosen VMs or a
tag's) and shows that one field only (policy_scope.js); the other two
are not read, so a choice left in them is neither saved nor an error.
- A backup target's, a restore's and a disk restore's storage pool
field offers the chosen compute's active file pools, the ones a
restore copies into (a target's: directory and NFS only), from
vmbackups.views.pools, which reads them without a refresh
(pool_choices.js); a name can still be typed and is checked as before.
- A field's label is no longer repeated inside it as a placeholder, and
a list's empty choice says Choose… instead of Django's dashes
(webvirtcloud.bootstrap.FieldRenderer).
- The schedule, target, e-mail OTP and VM delete forms put Cancel and
their main button at the right, as the other forms do.
A session that ended while a page was open went unnoticed: the VM list,
the VM page and the job panel kept asking, were sent to the sign-in
page, and showed what they had as if it were current. A button pressed
then sent the user to sign in and, after it, to the form's own address
by GET, where its view answered an empty 405 and the action was lost.
The panel's LoginRequiredMiddleware (webvirtcloud.middleware) answers a
page's script 401, upon which session_end.js says the user was signed
out, with a link to sign in and come back, and the page stops asking
and reloading. A form sent after the end (or with a token a sign-in
elsewhere replaced) goes back, after the sign-in, to the page it was on,
and the sign-in page says it was not done. accounts.E002 asks for this
middleware; Django's own is a warning (W002), so an update keeps a
panel whose local settings name it running.
- A job's page and the Jobs list link what the job works on: a VM's
page for who may see the VM (not when a copy on another host has its
UUID); a host's, a backup target's, or the Computes page for a bulk
migration, for a superuser (operations.views.link_resources). A
backup's or a pool's job has none: a restore names the new VM, and a
pool may be gone.
- The Tags page's VM and host counts open the VM list or the Computes
page with that tag only: a list with that tag takes ?tag=name, and
the address loses it (the rest stays), so the list's own reload keeps
what is chosen afterwards. The bulk bar sends back to the list's path.
- A Backups row links its target, and a removed VM's badge the Removed
VMs page while the VM is listed there.
A form sent to the server showed nothing until the answer came: its
button stayed as it was and took a second click, though creating a
volume or starting a pool can take seconds. The button that sent it now
turns a spinner and takes no second click meanwhile, and a page's reload
or a job's result waits (submit_busy.js on every page, poll.js
pageInUse). It is as before when the page stays: its leaving asked about
unsaved work, or the browser's history brings it back. A form a script
sends itself is left alone.
The please-wait dialog of the VM start and the XML create, and the
sign-in forms' own spinner, go: they show the same as every other form.
- Block in the Users list asks first: the user is signed out and their
API tokens are deleted, which unblocking does not bring back. Block
and Unblock then say what they did.
- Cancel on a job's page and in the job panel asks first, naming the
job; the button says Cancel the job, apart from the dialog's Cancel.
- Deleting a user or a group, removing a host from the panel or an
owner from a VM, and deleting an interface, a network filter or a
secret say so, as the other deletes do.
- Renaming a tag and saving a VM's title and description say so.
libvirt names an unknown link state "unknown", which the interfaces
page showed as "Link unknown" in English in every language. It is now
the translated "Link unknown", as when there is no state.
- An empty list says so in gray text, as the VM list does, not in a
yellow warning or a blue notice (host pools, networks, filters,
secrets, interfaces, tags, removed VMs, backups, schedules, targets).
- The Jobs and Backups filters show only while there is something to
filter.
- The Jobs, Backups and Logs filters apply once a choice changes or
Enter is pressed (filter_form.js): no Filter or Search button, and
Clear the filters only while one is set.
- On a phone the Logs table shows the date, user, VM and message, with
the result under it, and the Computes table the host and its memory.
A host's Instances page had a table of its own, older than the VM list:
no state filter, no tag filter, no bulk bar, a two-line Name/Description
head and a round green button for a new VM. It now shows the VM list
itself, of that host's VMs and without a host column, beside the host's
tabs, Bulk Migrate and New VM. The bulk bar sends back to the list it
was used on.
The buttons beside a page's heading floated to its right, so on a phone
they came above the heading. The heading and its buttons are now one
wrapping row: the heading first, the buttons beside it or under it. The
Computes page, which had a heading of its own, uses the same row.
The actions on the chosen VMs stood above the table at all times, as two
rows of disabled buttons and empty text boxes. They are now a bar at the
foot of the window that appears once a VM is chosen and names how many
are. The snapshot name and the tag are asked in small menus of the bar,
and the table's head has the box that chooses the VMs shown.
A sweep of the panel in Turkish found English on screen where a field
had no label of its own: Django makes one from the field's name, and it
is not translated. A host's Hostname (TCP, TLS, socket forms), a new
user's Password, a new volume's Name and Format, and the VM owner form's
User and Instance showed in English, and so did the field names in the
error lists of a refused VM create form ("Hdd size: ...") and of the
new interface, network and pool dialogs ("Ipv4 addr: ..."). These fields
have the label the page shows elsewhere, and "qcow2 (recommended)" and
the navbar button's name are translated. A test checks that every field
these forms show has a label.
Left as they are: VM descriptions, log messages and libvirt's own words
are data; the XML editor's (Ace) screen-reader text is the library's.
An accessibility sweep (axe-core on 22 pages in four themes, and the
keyboard) found:
- No page had an h1: the page heading was an h3, and pages with their
own heading (sign-in, Computes, errors) kept an empty one. The heading
is an h1 at the same size; those pages leave the empty one out, and
Balance has a hidden h1 beside its breadcrumb. Tests check every page,
an error page and the lock page for one h1 and no empty heading.
- Keyboard users went through the whole menu on every page: a "Skip to
content" link shows when it has the focus, and brings the content up
below the sticky navbar. The OTP QR page takes only a signed token from
its fragment, not the link's #main.
- Tom Select moves a field's label to its own box, leaving the hidden
select it keeps unnamed (the Tags field of a host, the owner forms'
user and VM): the label names it too.
- Put in maintenance was yellow text on white (1.6:1), an outline
secondary button now.
- The pool page's Volumes heading skipped a level.
A user locked by failed sign-ins could only be unlocked with
manage.py axes_reset_username on the server, and nothing in the panel
showed the lock. The Users page and the user's page now mark a locked
user, counted as django-axes counts (a username's failures from one
address, over browsers, in any letter case), and the user's page has
Unlock sign-in for a superuser; it ends the lock from every address and
is on the Logs page.
A sign-in lasted Django's default two weeks, also after the browser was
closed. It now ends Session length (hours) after the sign-in, a setting
on the Settings page, 24 by default; a change applies from the next
sign-in. An idle timeout would not help: an open VM list refreshes
itself every five seconds.
Blocking a user signs them out. django-auth-ldap does not check
is_active for an open session, so a blocked LDAP user kept theirs.
The OTP sign-in page showed its error as a red list inside the red box;
it is plain text as on the other sign-in page, and django-otp's errors
are in Turkish and Chinese.
A locked user got django-axes' plain-text 429 reply, untranslated and with
no way back; it is now a page in the panel's layout that says within how
many minutes the lock ends, and leads back to the sign-in page with the
destination kept (AXES_LOCKOUT_CALLABLE).
A failed sign-in emptied the username; it is kept, the password is marked
invalid and has the cursor (a refused username keeps it). A line under the
password says when Caps Lock is on. The fields carry autocomplete
(username, current-password, one-time-code) for password managers and
phones, and the show-password button is reachable with Tab again.
The lines under the forms are gone: "KVM / Libvirt" with a green dot
looked like a status it did not check, and "2FA Protection Active" was
shown to users without 2FA.
A new setting, Sign-in notice (Settings, Login), is shown above both
sign-in forms when set, e.g. planned maintenance or a terms-of-use line.
The socket live suite runs as root inside a compute, where a 500 directory is still writable: the check that a failed write leaves no local settings put a directory where the part file goes instead. Found by the full live run before v5.0.0.
A review of every Markdown file against the code found steps that would
fail and statements that are no longer true:
- RHEL computes set up by hand enabled only virtqemud: the storage,
network and other host pages need their daemons' sockets too;
- moving to a new machine migrated without /etc/default/webvirtcloud
(a PostgreSQL panel would migrate the wrong database), and needed a
node_id an older backup may lack;
- a rollback left update.sh's marker of a stopped update, which the
next update would have gone on with;
- the manual installs' group and mode lines failed on hosts without one
of the groups or without sqlite; RHEL's CodeReady Builder repository;
- the NFS backup target was defined on the user's libvirt connection;
- the off-site restore picked a backup by name, not time;
- the features, the jobs list, the console token, the alert webhook
(ntfy does not take it), the API's submission_key, WS_* in the update,
the update's last failure, the doc/ API and app tables, permissions
of templates, protected VMs, backups and the .vv file.
An installer rerun kept WS_PORT in data/local_settings.py but pointed
nginx at that run's answer: it now takes the kept port.
Updating took four steps of commands copied from the README, with a
diff to read for settings.py and the nginx config. update.sh does them:
run from the repository (git show origin/master:update.sh | bash), it is
always the newest one, also on an installation that has none yet.
Nothing changes before its checks pass: root, an installation, with
PostgreSQL --database-backed-up, and an older version's own settings.py
moved into data/local_settings.py first (it stops and shows how that
settings.py differs from its version's template). Then it stops the
panel, backs it up into /root/webvirtcloud-backup-<date>, pulls master,
installs the requirements (LDAP's too when installed), migrates,
collects the static files, gives the files to the panel's user,
installs the units and starts the panel. It does not replace the nginx
config, which holds the installation's own lines: it prints what the
new version changes in it. The whole script is one function, so the
pull cannot change what runs.
dev/test-installer.sh IMAGE FROM installs FROM and updates it to HEAD;
the Installer workflow runs it from v4.3.0 on Debian 13 and AlmaLinux
10. The README's update section is the command and what it does.
Every update rebuilt settings.py from the template, and the operator put
back their own values by reading a diff: a forgotten DATABASES started
the panel on a new, empty sqlite database. Docker users who needed an
option only settings.py has (LDAP, OTP_ENABLED, LOGIN_TRUSTED_PROXIES)
mounted their own copy and kept it up to date by hand.
webvirtcloud/settings.py is now the tracked file (no template, no copy
in the installer, the image, the container's start or CI), and it runs
data/local_settings.py last: the installation's own values, which an
update does not touch, kept in Docker's data volume, in the panel's
backups and readable by the panel's user only. The installer writes the
time zone, the noVNC port (now checked to be a number), ALLOWED_HOSTS
and CSRF_TRUSTED_ORIGINS there instead of editing settings.py with sed.
LDAP is set up there too; settings.py keeps only python-ldap's
timeouts. The README's update steps move an older version's own
settings.py into the backup before git pull and have its values moved
into the local file once.
A stylesheet the login page links is fetched through nginx (a broken
static alias passed), the panel's units are checked after the page
loads (a daemon that died while it was waited for passed), a page
without the login form is retried with a pause, and the temporary clone
is no longer made readable by every local user.
Leap 16 builds the libvirt and lxml bindings for Python 3.13
(python313-*); the installer asked for python3-libvirt, which it does
not have, and stopped. On openSUSE it now installs the Python stack the
distribution builds the libvirt binding for: 3.11 on Leap 15 and SLES
15, 3.13 on Leap 16 and Tumbleweed. The installer workflow tests Leap
16.0 too, and the README says which installs CI tests.
A download writes its volume under its final name, so the volume was
offered while half written. #685 kept a copy and an attach away from
it; a new VM and a CD-ROM still took it. The VM create job now claims
the volumes it is made from (a writable one exclusive, a template or a
CD-ROM image shared), and adding a CD-ROM or inserting media holds the
ISO's volume shared and reads the ISO again in that pool under the
claim (iso_location, iso_path_in). Each is refused with the download
named.
A claim's key holds a pool's and a volume's names: longer than 255
characters on PostgreSQL it failed the request; Claim.resource is text.
A pool that belongs to more than one backup target is not stopped while
a backup to any of them runs (it took the first target only).
The download read 1 MiB at a time: on a slow server a cancel and the
progress waited for a whole MiB. It reads what has come (read1).
The installer was tested by hand in containers before a release; a
change to it, to what it installs or a distribution's packages could
break a fresh install unseen. dev/test-installer.sh installs the
committed HEAD with install.sh in a systemd container of one
distribution and checks that the panel's services run, it has a secret
key and an admin password, and the login page loads. The Installer
workflow runs it on Ubuntu 22.04/24.04/26.04, Debian 12/13, AlmaLinux
10, openSUSE Leap 15.6 and openEuler 24.03 when the installer or conf/
changes, and weekly.
A download into a pool listed its volume while it was written. The page
let a superuser copy it (the copy got a half-written file, live), attach
it to a VM, or stop the pool under it. Now:
- the copy job claims its source volume shared, and the worker refuses
a copy whose name the source's format changed before the claim;
- attaching an existing volume holds it exclusive from its first read,
so neither a download nor a copy is under way, and its format is read
after the download ended;
- stopping or deleting a pool (page and API) holds the pool exclusive,
and its backup target's claim if it is one; restores claim the pools
they write into shared.
Each is refused with the job in the way named, as a volume delete
already was.
The download recorded its progress every 16 MiB, so a slow server's
bar stayed empty for a long time; it records it each second, with the
cancel check. The worker checks the name is still free before it
starts. A snapshot name or tag typed in the VM list's bulk form keeps
the list from reloading, as a chosen VM did.
An ISO or a disk image on a web server had to be downloaded by hand and
uploaded, or copied onto the host. A pool of files (dir, fs, netfs) now has
"Download from a URL" for superusers: a volume.fetch job streams the file
(http or https, its size told by the server and within the pool's free
space) into a new volume through libvirt, as an upload is written, on any
connection type; the job panel shows its progress and it can be cancelled.
libvirt reads the file's format (qcow2, raw) when the pool is refreshed. A
cancel, a failure or a crash deletes what it wrote; an address that fails
says why.
Taking the same snapshot of many VMs, before an update say, took each one's
Snapshots tab. The VM list's bulk form now has a snapshot name with Take
snapshots: an external snapshot, without memory and without freezing file
systems (the tab has those choices), queued as a snapshot.create job for
each chosen VM, with the tab's rules (change rights and the snapshot
permission). A VM refused or held is named and the others are queued; the
Jobs page follows them. Enter in any text box of the form sends nothing.
The power and snapshot views share one queuing helper.
Audit and review (Codex, agy) of the host comparison and the bulk tag:
- a read of what a host's VMs need was used again for 5 minutes without a
new one, so a network added to fix a line was still reported: each load
reads again, the last read standing in only when the new one is late;
- a host that stopped answering kept what it said before, and was reported
both as not answering and as a destination lacking things: only hosts that
answer are compared;
- one listing of a host that could not be read (its secrets, say) dropped the
whole host: each listing is read on its own and only those read compared;
- the kept reads no longer keep whole VM definitions (plain strings);
- choosing more VMs than the bulk form takes made Django refuse the form:
past 500 the buttons are off and the count says so; the tag view refuses
them as the power view does.
Tagging many VMs took each one's Settings tab. The VM list's bulk form now
has, for a superuser, a tag box (every tag offered) with Add tag and Remove
tag: under the ownership lock the tag is checked as on the Settings tab,
made if new, and added to (or removed from) the chosen VMs that lack (or
have) it, each with its own log row. Enter in the tag box sends nothing (it
would press Start, the form's first button); only the two tag actions are
taken, and none of the chosen VMs left makes no tag.
A VM migrated to a host without its network, network filter or secret was
refused only when the migration was asked for. The box above the hosts now
names, for each pair of hosts it has read, what the VMs of one use (their
running definition and the one for the next start) that the other lacks: an
active network, a network filter or one of other rules, a secret by UUID or
usage; the migration check refuses moving those VMs there. A host in
maintenance is no destination. What a host's VMs need is read on its own
thread, apart from the pools and snapshots, and used again for 5 minutes, so
a host of many VMs is compared too. The rules of two hosts' filters are
compared as the migration check does (filter_rules, shared).
Audit and review (Codex) of the bulk power and disk I/O limit:
- the Jobs page showed "Power" for a start, a shut down and a force off
alike: each is a job kind of its own (instance.start, .shutdown,
.force_off) named by its action;
- forcing off a VM already shut off made libvirt refuse after the job had
recorded its intent: it ended uncertain and kept the VM locked. Each job now
refuses a VM its action does not apply to before anything changes, and
recovery reads the VM's state (running after a start, shut off after a
shut down or force off) instead of ending uncertain;
- the Jobs page left out its kind and state filters for owners, whom the VM
list sends there: they apply to every user;
- a running NBD disk's tls, which libvirt fills in, no longer makes it
another disk than the next start's;
- a disk whose running limit differs from the next start's shows both.
Powering many VMs took a click each. On the VM list each VM its user may
power (theirs, or every one for a superuser) has a box; "Choose the VMs
shown" chooses those on screen. Start, Shut down and Force off queue an
instance.power job for each chosen VM: each holds its VM and shares its host,
checks its user and the VM again when it runs, and has the checks of the
page's buttons (a template is not started, a host in maintenance starts none,
a VM an administrator paused is not an owner's to power), its own recovery
and its own log row. A VM the user may not power, or that another job holds,
is named and the others are queued; the Jobs page follows them. A VM a filter
or a collapsed host hides is neither counted nor sent, and the list does not
reload while VMs on screen are chosen.
One VM's busy disk could take its storage from all the others. Under a
disk's Device details on the Disks tab a superuser sets an I/O limit, IOPS
and MiB/s for reads and writes together (0: none). libvirt applies it to each
definition that has the disk: the running VM's at once, and the one for its
next start; a transient VM's live only. A disk whose tuning is more than this
(a throttle group, a burst, read and write apart, bytes not whole MiB/s)
shows "Set in the VM's XML" and is changed there; a disk the next start
replaces is refused until then.
Audit and review (Codex, agy) of the file system list:
- the table had a side margin on a full-width table and ran past the tab's
edge (on a phone its Used column was cut off); it now sits in a box that
scrolls a long mount point, and on a phone the labels above it wrap by word;
- an agent answer that is not a list, an entry that is not an object, a
negative, boolean or oversized size, or a null mount point or type no longer
fails the tab or shows "None"; a "filesystems" key of another command is not
taken for the list; the total is the whole file system's when the agent
tells it (total-bytes-privileged), so used no longer passes it;
- when the agent does not give the file systems, a note says so;
- Turkish labels: "Kernel Version" was "Çekirdek Sürümü" like "Kernel Release",
"OS Pretty-Name" read as a short name, "Timezone / Offset" as a location;
- the bulk migration live test's name no longer claims two at once, which its
unit test checks.
Since Bulk Migrate spreads VMs over hosts (#601) the job takes moves, each
VM with its destination, not a target and instances: the live test still
sent the old form and failed with KeyError 'moves'. Live suite on the
Vagrant computes: 3017 OK, 7 skipped.
A migration took all the network it could, its disk copies too, and the VMs
on both hosts felt it. Settings has a Migrations group with "Migration
bandwidth" (MiB/s, 0: libvirt's default, the default); every migration, by
hand, in bulk or for maintenance, passes it to libvirt, and its log line
names it. libvirt applies it to the memory until the final switchover and to
each copied disk on its own; the help and README say so. A refused setting
is now named in the page's language.
A disk filling up inside a guest was seen only from the guest. The Guest Info
tab now lists, from the guest agent, each mounted file system with its type
and used / total size, a bar turning amber from 85 %. File systems the agent
gives no size of (pseudo ones, Windows' System Reserved) are left out; an
agent without the command still shows the rest of the tab.
On a backup target's pool every backup file was "Not used on this host" and
listed with the unused volumes, though its deletion there is refused: it is
deleted with its backup. The column now says "Backup of <VM>" and counts it
as in use. A VM kept on the Removed VMs page for its schedules or backups
alone showed no owner and no reason; its row now names its schedules and
counts its backups.
A volume left behind (a disk kept when its VM was deleted, an old image) was
not told apart from one a VM needs until its deletion was refused. The pool
page now has a "Used by" column: the VMs of this host whose disks, UEFI
variables, saved state or snapshots are the volume or are built on it, "In
use" for one only another volume is built on, else "Not used on this host";
buttons list each kind, and a VM's name finds its volumes. Its deletion still
asks the other hosts, as one sharing the storage may use it. When the host's
VMs cannot be read the page lists the volumes without the column.
The scan that refuses deleting a used volume now also counts a VM's UEFI
variables file and a snapshot's block device, and reads each VM once.
A VM that vanished from its compute, or whose compute was deleted and added
again, came back with its owners and tags only: it was no longer protected,
its schedules no longer backed it up, and its backups stayed unlinked, so its
Backups tab no longer listed them and retention left them for good. The
Removed VMs record now keeps its protection, its schedules and its own
backups (not those of a copy under the same UUID), and gives them back.
Turning protection on or off waits for the ownership step, so a VM dropped
from its host's list meanwhile is not told protected.
Above the hosts, linked to where each is handled: hosts not answering,
pools filled to 85% (as last measured), VMs with snapshots older than 30
days, backup jobs failed and backups a schedule did not take in the last 7
days (per schedule; not for a host in maintenance), backups missing or
damaged (a new Damaged filter on the Backups page), and jobs that ended
uncertain or wait for over an hour. Nothing to look at: no box. The pools
and snapshots are read on threads of their own, waited for 2 seconds at
most: one slow host leaves out its lines, not the page.
Besides the newest N backups of each VM, a schedule keeps the newest backup
of each of the last N weeks and of the last N months that have one (panel
time zone); 0 keeps none. The schedules list shows them.