Project

General

Profile

action #107032

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

[timeboxed:20h] [spike] Create integration test of os-autoinst's VNC module with VMWare's VNC-over-websockets size:S

Added by mkittler 4 months ago. Updated 3 days ago.

Status:
In Progress
Priority:
High
Assignee:
Category:
Feature requests
Target version:
Start date:
2022-02-17
Due date:
2022-07-09
% Done:

0%

Estimated time:
Difficulty:

Description

Motivation

Explore usage of VMWare's VNC-over-websockets API, e.g. to determine whether we need PNG support.

Acceptance criteria

  • AC1: Have a Perl script using os-autoinst's VNC module connect to a VMWare 7.0 VM
  • AC2: Steps to have a mergable solution are documented

Suggestions

  • See parent ticket for more information about VMWare's VNC-over-websockets API
  • Create a Perl script using os-autoinst's VNC module plus some additional code to handle VMWare's API

History

#1 Updated by okurz 4 months ago

  • Priority changed from Normal to Low

#2 Updated by cdywan 4 months ago

  • Subject changed from [timeboxed:20h] [spike] Create integration test of os-autoinst's VNC module with VMWare's VNC-over-websockets to [timeboxed:20h] [spike] Create integration test of os-autoinst's VNC module with VMWare's VNC-over-websockets size:S
  • Status changed from New to Workable

#3 Updated by okurz 27 days ago

  • Priority changed from Low to High

#4 Updated by okurz 27 days ago

We should now prioritize the work on this timeboxed ticket to make sure we know about the feasibility of the integration. I bumped the ticket to high after a discussion with QE PrjMgr jstehlik and we found that we should soon find an answer to know where we need to continue or where others, e.g. the QE virtualization squad, need to continue.

#5 Updated by jstehlik 11 days ago

Any updates on this?

#6 Updated by mkittler 10 days ago

  • Status changed from Workable to In Progress
  • Assignee set to mkittler

No, nobody has looked into it for a while. I have only done the research task (see #106083#note-10 for results). I'm still able to start a VM on https://10.67.131.2/ui/#/host/vms/2 (with credentials from #100688#note-25) so the ticket is still workable. I'll try whether I can make our VNC module connect to it.

#7 Updated by openqa_review 9 days ago

  • Due date set to 2022-07-02

Setting due date based on mean cycle time of SUSE QE Tools

#8 Updated by mkittler 4 days ago

PR for a first step: https://github.com/os-autoinst/os-autoinst/pull/2091

Now needs to be integrated with the rest of os-autoinst.

#9 Updated by mkittler 4 days ago

It doesn't work unless I allow JPEG in VNC viewer (which then says "Pixelformat depth 24 (32bpp) little-endian rgb888 wird verwendet"). So we needed to implement JPEG support within our VNC viewer to make it work. However, that might not be very worthwhile because the compression artifacts (which were visible in my tests) screw up the pattern matching algorithm easily. We could still give it a shot. If the screen is still long enough the compression artifacts usually decrease a lot.

Maybe it can also be configured somehow on the VMWare-side.

#10 Updated by mkittler 3 days ago

It actually works with raw encoding as well. I just had to increase the max. size for web socket messages. The performance isn't great, though.

#11 Updated by okurz 3 days ago

  • Due date changed from 2022-07-02 to 2022-07-09

next step: Integration of the workflow into our VNC module

Also available in: Atom PDF