mirror of
https://github.com/retspen/webvirtcloud
synced 2026-12-03 17:36:05 +00:00
No description
The worker's SIGTERM/SIGINT handler called stopping.set(). A signal runs its handler in the main thread, which spends its time inside stopping.wait() holding the event's lock; set() then waited for that lock forever and the worker never stopped (systemd or docker stop had to kill it, leaving jobs to recovery). The handler now sets the event from a thread of its own. A standalone repro hung 3 times in 300 signals before and none after. |
||
|---|---|---|
| .github/workflows | ||
| accounts | ||
| admin | ||
| appsettings | ||
| computes | ||
| conf | ||
| console | ||
| datasource | ||
| dev | ||
| doc | ||
| instances | ||
| interfaces | ||
| locale | ||
| logs | ||
| networks | ||
| nodedevs | ||
| nwfilters | ||
| operations | ||
| static | ||
| storages | ||
| templates | ||
| virtsecrets | ||
| vmbackups | ||
| vrtManager | ||
| webvirtcloud | ||
| .dockerignore | ||
| .gitignore | ||
| .hadolint.yaml | ||
| _config.yml | ||
| CONTRIBUTING.md | ||
| docker-compose.yml | ||
| Dockerfile | ||
| gunicorn.conf.py | ||
| install.sh | ||
| LICENSE | ||
| manage.py | ||
| pyproject.toml | ||
| README.md | ||
| update.sh | ||
| Vagrantfile | ||
| webvirtcloud.sh | ||
WebVirtCloud
Manage libvirt and KVM hosts from the browser, with users, roles and quotas.
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.
flowchart TB
people["Administrators and users"]
panel["WebVirtCloud<br/>web panel"]
tools["virt-manager / virsh"]
libvirt["libvirt on every host<br/>QEMU / KVM<br/><b>the source of truth</b>"]
people -- web browser --> panel
people --> tools
panel -- libvirt API --> libvirt
tools -- libvirt API --> libvirt
classDef truth stroke-width:3px
class libvirt truth
- An administrator can connect to libvirt directly with
virt-managerorvirshand create, delete, rename or reconfigure virtual machines. WebVirtCloud picks these changes up the next time the VM list is loaded. - 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.
Features
Hosts
|
Virtual machines
|
Users and access
|
Operations
|
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 |
|---|---|
![]() |
![]() |
| Computes | Host overview |
|---|---|
![]() |
![]() |
| New VM | Logs |
|---|---|
![]() |
![]() |
| Backups |
|---|
![]() |
License
WebVirtCloud is licensed under the Apache License, Version 2.0.






