Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2073375

Summary: Fix the issue "('unsupported configuration: VNC password is 12 characters long, only 8 permitted',)" when connect to a vnc+vga VM on RHV
Product: Red Hat Enterprise Virtualization Manager Reporter: zhoujunqin <juzhou>
Component: ovirt-engineAssignee: Liran Rotenberg <lrotenbe>
Status: CLOSED NOTABUG QA Contact: meital avital <mavital>
Severity: high Docs Contact:
Priority: high    
Version: 4.4.10CC: ahadas, chhu, fdelorey, hongzliu, michal.skrivanek, mxie, tyan, tzheng, vwu, xiaodwan
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-04-10 07:26:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description zhoujunqin 2022-04-08 10:44:09 UTC
Description of problem:
When connecting to the console of the VM which has configured with vnc+vga graphics on RHV-4.4(4.4.10.7-0.4.el8ev), met the following error:

VDSM host_1 command SetVmTicketVDS failed: General Exception: ('unsupported configuration: VNC password is 12 characters long, only 8 permitted',)


Version-Release number of selected component (if applicable):

RHV Server - Software Version:4.4.10.7-0.4.el8ev

RHV NODE(Registed with a RHEL-8.6 OS)
Package version:

libvirt-8.0.0-5.module+el8.6.0+14480+c0a3aa0f.x86_64
qemu-kvm-6.2.0-10.module+el8.6.0+14540+5dcf03db.x86_64
vdsm-4.40.100.2-1.el8ev.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Browse the RHV webadmin on a RHEL-8.6 OS via firefox.
https://$engine-name/ovirt-engine/

2. Prepare a VM which has configured with vnc+vga graphics on RHV-4.4(4.4.10.7-0.4.el8ev)

3. Start the VM, and click the console option (open with remote-viewer) to connect the VM's console.

Actual results:
Failed to connect to the VM's console with an error: 

VDSM host_1 command SetVmTicketVDS failed: General Exception: ('unsupported configuration: VNC password is 12 characters long, only 8 permitted',)


Expected results:
Fix it.

Additional info:
Referring to [1], the final version of RHEL with full RHV support will be RHEL 8.6.
And the libvirt version is 8 on RHEL-8.6, so I think there should be a fix, thanks.

[1]https://pp.engineering.redhat.com/pp/product/rhv/release/rhv-4-4/overview

Comment 1 Michal Skrivanek 2022-04-09 06:31:49 UTC
sorry, RHV-4.4(4.4.10.7-0.4.el8ev) does not support RHEL 8.6. 4.5-based builds do, test it with them.

Comment 2 Arik 2022-04-10 07:26:51 UTC
It is fixed on upstream - see bz 2064380
This issue is irrelevant for RHV because, as written in comment 1, 4.4.10 is not supported on RHEL 8.6