With PostgreSQL the daily backup left the database out and only warned. It now
writes a pg_dump in its custom format as db.pgdump and fails when pg_dump is
missing or the dump fails. The Docker image ships postgresql-client; the restore
and move steps say how to put the dump back.
The name's side of the summary heading did not shrink, so a VM with several tags
wrapped OS details and Refresh onto a line of their own. From 576px the buttons
now keep the name's row and the tags wrap within the name's side.
The screen beside the VM summary was a 4:3 black box: wide screens got
bars, nothing said it was live or that a click opens the console, and on
phones it took the card's width. The picture now keeps its own shape on
the theme's background, a caption under it says "Live" (or "Suspended":
the picture of a suspended VM stays) and, when it is a button, "Open
console"; on phones it is a small picture beside its caption.
A running or paused VM with a VNC or SPICE console shows its screen
beside the summary (virDomainScreenshot, PNG), read again every 10 s
while the page is in view; clicking it opens the console. It is for
those who may open the console (the screen shows what the console
does) and is left out while there is none to show, also on a host whose
libvirt gives PPM. The VM list does not read screens: one a VM would
cost too much.
The Disks tab of a running VM gets "Free unused space": a job
(instance.fstrim) has the guest agent trim each mounted file system
(guest-fstrim, 30 minutes at most) and lists what each one trimmed. A
disk passes the trim to its image file only with the discard mode unmap:
the tab and the job say when no disk of the running VM has it, and where
to set it (the disk's device details, from the next start).
test_the_window_is_checked_again_after_the_host_answered started a
second timezone.now patch inside started()'s and stopped it last, so it
put started()'s frozen clock back for the tests after it: the worker's
heartbeat test then saw no time pass. The host's answer now moves the
clock started() set.
The VM page shows why a VM paused or stopped when nobody asked (a disk
error, a crash, a kernel panic: instances.states.REASONS), but nobody
learnt of it until they opened the page. While an alert channel is set,
the worker reads every host's VM states each minute (one call a host,
all hosts at once, 10 s at most) and queues one alert per fault; the VM
keeps the fault it was alerted for, so a fault is told once and again
only after the VM recovered.
The run history showed a run as "Started" once the job history (Job
Retention Days, which may be under 14) dropped its job. A run now takes
its job's end, and the reason it failed, when the job is deleted.
- A job cancelled without an error gives "The job was cancelled" as the
run's reason on the schedule page.
- The Schedules list's 14-day strip is a link to the schedule, so touch
and keyboard users reach the details its tooltips hold.
- The marks keep their colours in forced-colors (high contrast) mode.
The panel in Ukrainian, the language of the project's founder: a full
catalog of its 2610 messages, Ukrainian in the language list, and the CI
catalog check, the catalog test and CONTRIBUTING with locale/uk. Unit
symbols stay Latin (GiB, MiB/s), as the panel writes them in numbers
next to these texts.
A template installed from an ISO has no cloud-init, and the seed does
nothing there. The steps install it, clean the template and empty its
machine-id (a deleted one leaves a Debian 12 clone without a DHCP
address), then create VMs from its disk with the seed ticked. Run end
to end on AlmaLinux 8 (cloud-init 23.4) and Debian 12 (22.4) templates
without cloud-init.
The Schedules list marks each of the last 14 days by its worst run
(failed, skipped, running, backed up), the day's counts on hover. A
schedule's page opens with a grid of its VMs by day, each mark linking
to its job, and lists the runs that did not back up with their reason;
the settings form follows. A run's outcome now includes how its job
ended: before, every submitted run read "Backup job", a failed one too.
The forced first-login change was a plain settings form under a menu
whose every link led back to it, asked for an "Old password" the user
did not know was the temporary one, and listed Django's four rules as
long sentences, with their refusals under the confirmation field.
The page is now a card like the sign-in page: "Set your own password",
signed in as whom and why, the temporary password named as such, and no
menu but a Log out link. A rule list under the two new entries ticks
what the browser can check (8 characters, not only digits, both entries
match) and says the rest is checked on save; the server's refusals
join that list. The eye button shows both new entries. A change chosen
from the profile uses the same card with the menu and a Cancel link.
base.html gets a navbar block for it. Turkish and Chinese texts.
test_the_first_login_password_change made the last forced password
change with the real BASE_DIR, so the view deleted data/admin_password
of the checkout the tests ran in. It now runs under a temporary
BASE_DIR, as the other first-login tests do.
util.get_xml_path and the XML editor and "define from XML" pages parsed
the XML a superuser entered with lxml's default parser. lxml 6, which
the requirements ask for, does not load external entities by default,
but that was the library's default, not the panel's choice: with an
older lxml the same XML read a file of the panel's host into the VM's
name. util.xml_tree parses with resolve_entities=False and no_network,
as parse_xml already did, and the three places use it.
Taken from a fresh panel on a test host with example VMs, users, tags,
backups and a schedule: the VM list with tags and owners, the VM page,
Computes, the host overview, the new VM form, the Logs page with
actions of three users, and the Backups page.
The pages under doc/ are split where one paragraph or list item held
several topics, so a reader finds a step by its heading:
- install.md: what a re-run keeps and replaces as a list; first login
and a lost password apart.
- compute-nodes.md: a heading per step and per connection type (SSH,
TCP, TLS), the firewall rule first, the gstfsd network warning before
its commands, the migration certificates as a list.
- configuration.md: commands in code blocks; local settings rules as a
list; one place that says how to run manage.py; the proxy layouts
apart; the health check its own heading. The security headers move to
architecture.md.
- ldap.md: one complete example for Active Directory and one for
OpenLDAP. Pasting the old page's blocks gave OpenLDAP values over the
Active Directory ones.
- backups.md: panel and VM backups as two sections; VM backups by
target, backup, restore, owners, schedules and verification.
- upgrading.md: a list of its paths, the supervisor move after the
update it precedes, and the old settings.py rules as sub-items. The
behavior changes move to behavior-changes.md.
- api.md: the token, job and error rules in one page; architecture.md
links to it.
- permissions.md: template and console-setting rules under their own
headings instead of inside the table.
- CONTRIBUTING.md: local, live KVM and Vagrant tests apart.
No command changed.
The header holds the name, one line on what the panel does, badges
(test and installer CI, Python, Django, QEMU/KVM, license) and links to
the main sections. The ASCII diagram is a Mermaid diagram that GitHub
draws in light and dark themes, with libvirt marked as the source of
truth. The features are grouped into hosts, virtual machines, users and
access, and operations.
The README's features are one short line each. The installation page
lists the three ways to install with their systems, and each system's
manual steps are folded so a reader opens only theirs; the commands are
unchanged. The CI coverage moves to CONTRIBUTING.md, and moving gstfsd
off supervisor to the supervisor section of the upgrade guide.
The README had grown to 970 lines. It now keeps the introduction, the
features, a quick start, a table of the documentation pages, the
screenshots and the license. The sections moved without changes in
their text to doc/install.md, doc/compute-nodes.md, doc/configuration.md,
doc/ldap.md, doc/backups.md, doc/upgrading.md (with the behavior
changes), doc/api.md and CONTRIBUTING.md; links between them point at
the new pages. Code comments and installer messages that named a README
section name the page now.
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.
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.