mirror of
https://github.com/retspen/webvirtcloud
synced 2026-12-03 17:36:05 +00:00
feat(instances): a superuser limits a disk's I/O
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.
This commit is contained in:
parent
79f3b906dd
commit
2b60b79a5f
11 changed files with 1016 additions and 620 deletions
|
|
@ -866,6 +866,7 @@ What an update from an older version changes for operators and users. `manage.py
|
|||
- A template VM is changed or deleted only by superusers and staff owners with the matching permission; other owners can still view, open the console and clone it.
|
||||
- On a running VM the edit forms show the settings as they will be at the next start, so saving an edit no longer reverts another pending change.
|
||||
- External snapshots need libvirt 9.9 or newer on the computes. libvirt 9.10 (openEuler 24.03 LTS) refuses to revert a snapshot taken without memory of a running or paused VM ("Invalid target domain state 'disk-snapshot'"); 11.10 reverts it. A VM's snapshots form one chain: after a revert, delete the newer snapshots before taking another. An internal snapshot is reverted only on a shut-off VM. Snapshot names no longer get an `s1.` prefix. A snapshot an older version took of a UEFI VM can only be deleted, not reverted. On NFS, the qemu user needs write access to the image directory to remove merged snapshot files.
|
||||
- A superuser limits a disk's I/O (IOPS and MiB/s, reads and writes together) under its Device details on the Disks tab; a running VM gets the limit at once.
|
||||
- A storage volume a VM still needs (a disk, a backing file or a snapshot's file) is not deleted; deleting a VM with its files keeps a file another compute's VM or volume uses at the same path, and is refused before the VM is stopped when one of the other computes cannot be reached. A pool's page names the VMs of its host that use each volume and lists those the host does not use.
|
||||
- A VM that vanishes from its compute, or whose compute is deleted, keeps its owners, tags, protection and schedules for `INSTANCE_OWNERSHIP_RETENTION_DAYS` (30) in case the same UUID comes back, and its backups are linked to it again; superusers manage these records on the "Removed VMs" page.
|
||||
- The Logs page records who changed what (computes, users, groups, VM owners, settings, SSH keys, host networks, pools, volumes, interfaces, secrets and network filters), every login, failed login and lockout, and every page or API call answered 401 or 403 to a signed-in user or a request with credentials, with the address and the result (a VM hidden with 404 is not logged).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue