Project

General

Profile

Actions

action #113201

closed

coordination #109668: [saga][epic] Stable and updated non-qemu backends for SLE validation

coordination #100688: [epic][virtualization][3rd party hypervisor] Add svirt backend compatibility for vmware 7.0

Integrate spike solution for accessing VMWare's VNC-over-websockets into os-autoinst's VNC console size:M

Added by mkittler almost 2 years ago. Updated almost 2 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Feature requests
Target version:
Start date:
2022-07-04
Due date:
% Done:

0%

Estimated time:

Description

Motivation

Acceptance criteria

  • AC1: It is possible to connect to a VMWare virtual machine via VMWare's VNC interface (e.g. by specifying credentials via some test variables, possibly also requiring to use a special/new VNC-console-API from test code)
  • AC2: The connection is attempted to be restored if it breaks (which involves requesting the websocket URL from scratch and invoking dewebsockify again)
  • AC3: Documentation for AC1 exists, e.g. under os-autoinst/doc/backends.md
  • AC4: Behavior is tested against a real VMWare instance
  • AC5: Relevant code has unit tests

Suggestions

  • See commit message of https://github.com/os-autoinst/os-autoinst/pull/2091 and build your changes on top of that PR
  • See https://progress.opensuse.org/issues/100688#note-25 for VMWare credentials for running a test against the real VMWare instance
    • e.g. invoke the test like this (password redacted, use URL encoding when inserting the password): OS_AUTOINST_TEST_AGAINST_REAL_VMWARE_INSTANCE='https://root:…@vh002.qa2.suse.asia/2' OS_AUTOINST_DEWEBSOCKIFY_PORT=5900 prove -vI. t/27-consoles-vmware.t
  • Extend unit tests as suggested in the mentioned commit message

Out of scope

  • Deal with poor performance; there's likely not much we can do
  • Implement JPEG compression in our VNC module (it might help with performance but likely also cause problems with the pattern matching)
Actions

Also available in: Atom PDF