1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-11 12:46:49 +00:00
webvirtcloud/vrtManager
catborise e83bdcbd44 fix: worker warnings and CPU windows do not depend on a wall clock
The job panel warned "Worker unavailable" when the worker's last
heartbeat was more than 60 s older than the browser's clock: a browser
set two minutes ahead warned about a worker that had just beaten, and
one behind hid a worker that had stopped. The server now says whether
the worker is gone (worker_gone in the job panel's answer), by the same
rule as the Jobs page.

A host's CPU graph measured its averaging window with time.time(): a
clock set back between two polls gave a negative window. It now uses
time.monotonic(), as a VM's usage already does; a sample from before
the server restarted is measured over a second again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Kk4h2TcUiaWmU5MUszYSea
2026-11-10 12:21:36 +03:00
..
tests fix: worker warnings and CPU windows do not depend on a wall clock 2026-11-10 12:21:36 +03:00
__init__.py Initial commit 2015-02-27 10:53:51 +02:00
connection.py fix(vrtManager): reconnect after a host's storage or network daemon restarts 2026-11-10 11:12:08 +03:00
create.py fix(vrtManager): a new VM's disk path, network and filter names are XML text 2026-11-08 14:42:47 +03:00
hostdetails.py fix: worker warnings and CPU windows do not depend on a wall clock 2026-11-10 12:21:36 +03:00
instance.py fix: backups and snapshots keep their order when the clock goes back 2026-11-10 12:21:36 +03:00
interface.py feat(vrtManager): the libvirt layer's messages show in the reader's language 2026-11-03 00:05:34 +03:00
libvirt-ssh fix(vrtManager): libvirt connections open within a time limit 2026-10-05 09:06:52 +03:00
network.py chore: remove code nothing uses 2026-11-06 10:53:37 +03:00
nodedevs.py feat(vrtManager): the libvirt layer's messages show in the reader's language 2026-11-03 00:05:34 +03:00
nwfilters.py feat(vrtManager): the libvirt layer's messages show in the reader's language 2026-11-03 00:05:34 +03:00
storage.py fix(vrtManager): an RBD disk takes its pool's auth and monitors as they are 2026-11-08 14:42:20 +03:00
util.py refactor(vrtManager): new VM UUIDs come from uuid.uuid4() 2026-11-08 12:24:47 +03:00
virtsecrets.py feat(vrtManager): the libvirt layer's messages show in the reader's language 2026-11-03 00:05:34 +03:00