1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-08 11:16:47 +00:00
webvirtcloud/console
catborise 30864b507e fix(console): a serial console reports its VM's stop
When a VM stopped, its console's stream could end before the worker's
next check saw the VM shut off. The check then found no stream to drop and
said nothing, or, seeing the VM still running, opened the console again,
which libvirt refused, and the session ended. The worker now remembers
whether the VM ran at its last check, and a console that cannot be opened
again because the VM stopped meanwhile is a stop: the terminal says the VM
is not running and the console opens again when it starts. A new stream is
the console's before its callback is registered, which may end it at once.

The live serial test's VM now repeats its BIOS banner (it reboots right
after finding no boot disk), so a console attached late still gets one,
and the test waits for the superuser's console to show it before the VM
stops. A run of the whole live suite over the socket missed the banner of
the paused-then-resumed VM before.
2026-10-31 23:23:30 +03:00
..
layouts feat(console): typed text follows the VM's keyboard layout 2026-10-27 12:23:32 +03:00
migrations Add app 2015-02-27 14:25:41 +02:00
templates refactor(console): the console pages on Bootstrap classes instead of their own style blocks 2026-10-27 19:56:39 +03:00
tests fix(console): a serial console reports its VM's stop 2026-10-31 23:23:30 +03:00
__init__.py Add app 2015-02-27 14:25:41 +02:00
models.py ci: replace super-linter with ruff 2026-10-04 01:08:11 +03:00
novncd fix(console): the console page judges a TCP/TLS console by the running VM 2026-10-26 23:52:37 +03:00
socketiod feat(console): the serial console page on the panel's bar; a taken-over user learns by whom 2026-10-27 08:12:33 +03:00
sshtunnels.py fix(console): an SSH console tunnel neither stalls on its errors nor hangs on close 2026-10-26 23:52:37 +03:00
tokens.py fix(console): a serial session follows its user's access; a superuser takes over 2026-10-26 19:46:41 +03:00
views.py feat(console): typed text follows the VM's keyboard layout 2026-10-27 12:23:32 +03:00