mirror of
https://github.com/retspen/webvirtcloud
synced 2026-12-03 17:36:05 +00:00
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. |
||
|---|---|---|
| .. | ||
| api | ||
| management | ||
| migrations | ||
| static/operations | ||
| templates/operations | ||
| templatetags | ||
| tests | ||
| __init__.py | ||
| alerts.py | ||
| apps.py | ||
| claims.py | ||
| jobs.py | ||
| models.py | ||
| urls.py | ||
| utils.py | ||
| views.py | ||
| worker.py | ||