1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-02 08:56:07 +00:00
No description
Find a file
catborise a629b98f31 docs: split the README into pages under doc/ and CONTRIBUTING.md
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.
2026-11-23 15:08:16 +03:00
.github/workflows fix(instances): the fault reasons on the libvirt of Debian 12 and Ubuntu 22.04; the update test from v4.3.0's commit 2026-11-23 11:06:11 +03:00
accounts fix(ui): sizes in the units the forms ask in, percentages as the language writes them 2026-11-22 21:03:46 +03:00
admin fix(ui): the settings index stays at hand on a phone; one wording in Turkish 2026-11-22 16:43:34 +03:00
appsettings fix(ui): the settings index stays at hand on a phone; one wording in Turkish 2026-11-22 16:43:34 +03:00
computes feat(instances): a VM a fault stopped or paused says why 2026-11-22 21:19:35 +03:00
conf docs: split the README into pages under doc/ and CONTRIBUTING.md 2026-11-23 15:08:16 +03:00
console fix(ui): the settings index stays at hand on a phone; one wording in Turkish 2026-11-22 16:43:34 +03:00
datasource refactor(datasource): user data names what its template gets 2026-11-14 13:36:06 +03:00
dev docs: split the README into pages under doc/ and CONTRIBUTING.md 2026-11-23 15:08:16 +03:00
doc docs: split the README into pages under doc/ and CONTRIBUTING.md 2026-11-23 15:08:16 +03:00
instances fix(instances): the fault reasons on the libvirt of Debian 12 and Ubuntu 22.04; the update test from v4.3.0's commit 2026-11-23 11:06:11 +03:00
interfaces fix(ui): a block or a job's cancel asks first; every delete and save says it is done 2026-11-21 21:02:20 +03:00
locale fix(instances): the fault reasons on the libvirt of Debian 12 and Ubuntu 22.04; the update test from v4.3.0's commit 2026-11-23 11:06:11 +03:00
logs fix(jobs): a busy message names what the job in the way works on 2026-11-19 21:35:28 +03:00
networks fix(ui): lists say they are empty plainly, filter by themselves and fit a phone 2026-11-21 20:34:51 +03:00
nodedevs fix(ui): a host's pages on a phone: one row of sections, tables that fit 2026-11-22 14:59:17 +03:00
nwfilters fix(ui): a host's pages on a phone: one row of sections, tables that fit 2026-11-22 14:59:17 +03:00
operations fix(ui): sizes in the units the forms ask in, percentages as the language writes them 2026-11-22 21:03:46 +03:00
static feat(instances): a VM a fault stopped or paused says why 2026-11-22 21:19:35 +03:00
storages fix(ui): sizes in the units the forms ask in, percentages as the language writes them 2026-11-22 21:03:46 +03:00
templates fix(ui): the settings index stays at hand on a phone; one wording in Turkish 2026-11-22 16:43:34 +03:00
virtsecrets fix(ui): a block or a job's cancel asks first; every delete and save says it is done 2026-11-21 21:02:20 +03:00
vmbackups fix(ui): sizes in the units the forms ask in, percentages as the language writes them 2026-11-22 21:03:46 +03:00
vrtManager feat(instances): a guest that crashes or hangs is restarted or stopped 2026-11-22 22:04:04 +03:00
webvirtcloud docs: split the README into pages under doc/ and CONTRIBUTING.md 2026-11-23 15:08:16 +03:00
.dockerignore feat: an installation's own settings in data/local_settings.py; settings.py is part of the code 2026-11-20 17:50:43 +03:00
.gitignore feat: an installation's own settings in data/local_settings.py; settings.py is part of the code 2026-11-20 17:50:43 +03:00
.hadolint.yaml fix(docker): resolve hadolint warnings in Dockerfile and add hadolint config 2026-09-25 22:39:31 +03:00
_config.yml Set theme jekyll-theme-cayman 2018-08-29 14:59:10 +03:00
CONTRIBUTING.md docs: split the README into pages under doc/ and CONTRIBUTING.md 2026-11-23 15:08:16 +03:00
docker-compose.yml fix(settings): TZ sets the panel time zone in Docker 2026-11-09 12:00:55 +03:00
Dockerfile feat: an installation's own settings in data/local_settings.py; settings.py is part of the code 2026-11-20 17:50:43 +03:00
gunicorn.conf.py chore: comments say what the code does 2026-11-06 13:48:04 +03:00
install.sh fix: write the admin password file without following symlinks 2026-10-02 23:17:32 +03:00
manage.py update django files to Django 2 2020-06-04 12:06:23 +03:00
pyproject.toml chore(ci): the coverage floor keeps one point of room on the PostgreSQL leg 2026-10-23 16:21:31 +03:00
README.md docs: split the README into pages under doc/ and CONTRIBUTING.md 2026-11-23 15:08:16 +03:00
update.sh docs: split the README into pages under doc/ and CONTRIBUTING.md 2026-11-23 15:08:16 +03:00
Vagrantfile docs: split the README into pages under doc/ and CONTRIBUTING.md 2026-11-23 15:08:16 +03:00
webvirtcloud.sh docs: split the README into pages under doc/ and CONTRIBUTING.md 2026-11-23 15:08:16 +03:00

WebVirtCloud

Python >=3.10 & Django 5.2 LTS (tested on Python 3.10 – 3.14)

WebVirtCloud is a web visualization and management layer for libvirt-based virtualization infrastructure.

From installation to a VM's first backup, in three and a half minutes:

https://github.com/user-attachments/assets/526fe16c-bfd7-46da-b986-689a37975e08

libvirt is the single source of truth. WebVirtCloud reads, displays and triggers actions on libvirt state, but it is never the primary orchestrator.

  • An administrator can connect to libvirt directly with virt-manager or virsh and create, delete, rename or reconfigure virtual machines. WebVirtCloud detects these changes and updates its database accordingly.
  • Virtual machines keep running even when WebVirtCloud is stopped; the application only reflects the current state of libvirt.
  • WebVirtCloud is not a full automation platform like Proxmox. Its goal is to expose libvirt's functionality through the browser in an accessible, role-based and secure way.
┌─────────────────────────────────────────────────────┐
│               Administrator / User                  │
└────────────┬───────────────────┬────────────────────┘
             │ Web browser        │ virt-manager / virsh
             ▼                   ▼
┌────────────────────┐  ┌─────────────────────────────┐
│   WebVirtCloud     │  │   libvirt API (direct)      │
│   (web UI layer)   │◄─┤   — separate, independent   │
└────────┬───────────┘  └──────────────┬──────────────┘
         │ libvirt API                  │
         ▼                             ▼
┌──────────────────────────────────────────────────────┐
│               libvirtd (hypervisor daemon)           │
│                    QEMU / KVM                        │
└──────────────────────────────────────────────────────┘

WebVirtCloud and virt-manager/virsh can manage the same libvirt host concurrently and independently. WebVirtCloud picks up external changes the next time the instance list page is loaded.

Features

  • QEMU/KVM hypervisor management (multiple compute nodes), with each host's capacity and what its VMs were given
  • Host maintenance: a host in maintenance takes no new VMs, incoming migrations or VM starts; putting it in maintenance offers to migrate its VMs away with Bulk Migrate
  • Balance: proposes migrations that even out the running VMs' memory, then vCPUs, as a share of each host's size
  • Virtual machine lifecycle: create, delete, power management, clone (also of a running VM, with libvirt 11.10 or later), migrate (with or without shared storage), bulk migrate (a host's chosen VMs to another host, the chosen number at once), disk moves between pools
  • Long operations (create, clone, delete, bulk power, snapshots, migration, disk moves, ISO upload, downloads from a URL, VM backups) run as jobs that the page follows; a queued job can be cancelled, and a running migration, ISO upload, download, backup or verification and the copy of a running VM (clone, disk move) too
  • External snapshots (memory optional; without memory, guest file systems can be frozen through the agent)
  • External change detection: VMs created, deleted or renamed via virt-manager or virsh are reconciled into the database automatically
  • Real-time host statistics (CPU, RAM) and VM statistics (CPU, RAM, disk, network)
  • A VM a fault stopped or paused says why (a disk error such as a full storage, a guest crash or kernel panic, its watchdog); its Settings tab chooses whether a guest that crashes, or hangs once it arms its watchdog, is restarted or stopped (new VMs get the panic device and watchdog this needs, older ones with the choice)
  • Storage pool and volume management; a superuser downloads a volume from its pool page (not one a running VM uses), or makes one from a file at a URL
  • Network (with DHCP leases), interface, network filter and secret management
  • PCI and USB devices of the host given to VMs
  • UEFI Secure Boot and TPM 2.0 for new VMs, as Windows 11 needs
  • Browser-based VNC console (noVNC) and serial console
  • Role-based access control: users see the VMs assigned to them, within their quota; an auditor permission shows every VM read-only
  • 2FA (OTP / TOTP) and failed-login lockout
  • SSH public key and root password management (guest agent for a running VM, gstfsd for a shut-off one)
  • Finding VMs by IP or MAC address, and a VM report as an Excel file
  • Tags on VMs and hosts, set by superusers: the lists filter by them, Bulk Migrate chooses VMs by them and a backup schedule backs up every VM with a chosen tag (templates left out)
  • Protected VMs, set by superusers on the VM's Settings tab: not deleted and not restored over until the protection is turned off
  • An audit log of who changed what, with its result
  • Cloud-init datasource interface (OpenStack metadata compatible) and NoCloud seed media
  • REST API — OpenAPI 3.0 (Swagger & ReDoc), with API tokens
  • LDAP / Active Directory integration (optional)
  • VM backups, of a running or shut-off VM, into a storage pool of your choice; a backup is restored as a new VM, over its own shut-off VM, or one disk as a new volume
  • Daily backups of the panel, with an optional off-site copy (restic over SFTP)
  • English, Turkish and Simplified Chinese

Quick start

On a supported Linux server:

curl -fsSL -O https://raw.githubusercontent.com/retspen/webvirtcloud/master/install.sh
chmod 744 install.sh
sudo ./install.sh

Or with Docker, replacing the example names/IPs with those the panel is reached by:

git clone https://github.com/retspen/webvirtcloud
cd webvirtcloud
cat > docker-compose.override.yml <<'EOF'
services:
  webvirtcloud:
    environment:
      - ALLOWED_HOSTS=wvc.example.com,192.0.2.10
EOF
docker compose up -d

Then sign in at http://<server-ip> as admin (first login shows where its password is) and add a compute node.

Documentation

Topic
Installation installer, Docker, manual installation, first login
Adding a Compute Node KVM hosts over SSH, TCP, TLS or a local socket; gstfsd; migration
Configuration environment variables, local settings, HTTPS and reverse proxy, cloud-init, OTP, alerts, serial console
LDAP LDAP / Active Directory login
Backups daily panel backups, off-site copy, VM backups
Updating update, restore and rollback, moving to a new machine, behavior changes
Users, Roles and Permissions superusers, staff, VM owners, auditors
REST API Swagger, ReDoc, API tokens
Architecture how the panel is built
Development dev setup, translations, tests

Screenshots

VM list VM page
VM list VM page
Computes Host overview
Computes Host overview
New VM Logs
New VM Logs

License

WebVirtCloud is licensed under the Apache Licence, Version 2.0.