Project

General

Profile

Actions

action #17658

closed

VNC reconnect feature needed for xen/svirt and stalled VNC connections

Added by michalnowak about 7 years ago. Updated almost 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Feature requests
Target version:
-
Start date:
2017-03-10
Due date:
% Done:

0%

Estimated time:

Description

Because Xen resets guest's VNC connection, we have couple of following provisions for Xen over svirt to make sure we have a live VNC connection after guest restarts:

    script_run 'reboot';
    reset_consoles;
    if (check_var('VIRSH_VMM_FAMILY', 'xen')) {
        sleep 4;
        select_console 'sut';
    }

That is: when the system is restarting, reset consoles, wait some time and re-connect to 'sut' console, when the system is booting. Of course this is prone to fail as we don't know how long to wait.

Decent workaround would be wait_serial for serial device output from GRUB. But a proper one seems to me a VNC reconnect feature in os-autoinst, via polling or DOM events. virt-install has it: https://github.com/SPICE/virt-viewer/blob/master/src/virt-viewer.c.


Related issues 2 (0 open2 closed)

Has duplicate openQA Tests - action #18550: [migration] test fails in first_boot with s390x zkvm-image workerRejectedokurz2017-04-13

Actions
Blocks openQA Tests - action #10206: [tools]libvirt tests (Xen, Hyper-V, VMware)Resolvedmichalnowak2016-01-13

Actions
Actions

Also available in: Atom PDF