mirror of
https://github.com/retspen/webvirtcloud
synced 2026-11-09 03:36:48 +00:00
A user's quota counted each VM's running vCPUs, memory and disks, so a larger value set for the VM's next start was not counted, and a clone counted only once its VM was recorded, so a user could queue clones past the quota. Now: - Each VM counts the larger of its running and its next-start values. - A clone job counts as one VM with the source's persistent vCPUs, memory and disk size, which its plan stores, from its admission until its VM is recorded; a failed, cancelled or resolved job no longer counts. The clone's VM and its owner are recorded in one transaction, so the quota counts either the job or the VM, never neither. - The quota reads each VM's definition once (cached_reads). |
||
|---|---|---|
| .. | ||
| tests | ||
| __init__.py | ||
| connection.py | ||
| create.py | ||
| hostdetails.py | ||
| instance.py | ||
| interface.py | ||
| libvirt-ssh | ||
| network.py | ||
| nodedevs.py | ||
| nwfilters.py | ||
| rwlock.py | ||
| storage.py | ||
| util.py | ||
| virtsecrets.py | ||