Bug 1964789

Summary: Send keys and disconnect does not work for VNC console
Product: OpenShift Container Platform Reporter: Guohua Ouyang <gouyang>
Component: Console Kubevirt PluginAssignee: Phillip Bailey <phbailey>
Status: CLOSED ERRATA QA Contact: Guohua Ouyang <gouyang>
Severity: high Docs Contact:
Priority: high    
Version: 4.8CC: aos-bugs, carl-johan.schenstrom, cwilkers, dholler, gouyang, mguetta, mmuench, mouimet, pelauter, phbailey, tnisan, welin, yzamir
Target Milestone: ---   
Target Release: 4.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: Old version of patternfly console component did not persist connection Consequence: the rfb instance wasn't persisting properly and was undefined Fix: Use new fixed version of patternfly console component Result: buttons send to vnc server
Story Points: ---
Clone Of:
: 2010677 (view as bug list) Environment:
Last Closed: 2022-03-12 04:35:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2010677    
Attachments:
Description Flags
buttons on vnc console does not work none

Description Guohua Ouyang 2021-05-26 05:41:53 UTC
Created attachment 1787087 [details]
buttons on vnc console does not work

Description of problem:
Send keys and disconnect does not work for VNC console

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

How reproducible:
100%

Steps to Reproduce:
1. Have a VM running
2. Visit vnc console on VM console tab
3. Click send keys or disconnect

Actual results:
Nothing happens after click the buttons

Expected results:
VM should respond to these buttons

Additional info:

Comment 1 Yaacov Zamir 2021-05-26 06:32:34 UTC
Note:
We use a patternfly component: https://github.com/patternfly/patternfly-react/tree/master/packages/react-console
We only send this component a VMI resource, It looks like the bug is in PF - once a fix is found, it should be propagated to PF

Comment 2 Yaacov Zamir 2021-05-26 06:34:15 UTC
Note II:
this bug is in the same PF component as https://bugzilla.redhat.com/show_bug.cgi?id=1964786

Comment 3 Yaacov Zamir 2021-06-02 05:49:44 UTC
*** Bug 1961809 has been marked as a duplicate of this bug. ***

Comment 4 Phillip Bailey 2021-07-13 01:24:01 UTC
Root problem is in PatternFly. https://github.com/patternfly/patternfly-react/issues/6007 was opened to track it on the PF side and https://github.com/patternfly/patternfly-react/pull/6012 was opened to fix the issue. Once fix is merged on the PF side and a new release is available, we will need to update to that release to see the fix on our side.

Comment 5 Phillip Bailey 2021-08-04 13:12:53 UTC
*** Bug 1988140 has been marked as a duplicate of this bug. ***

Comment 6 Maayan Hadasi 2021-08-17 11:51:46 UTC
*** Bug 1994426 has been marked as a duplicate of this bug. ***

Comment 7 Guohua Ouyang 2021-09-10 07:03:54 UTC
*** Bug 2002011 has been marked as a duplicate of this bug. ***

Comment 9 Yaacov Zamir 2021-09-30 07:18:41 UTC
partial non-critical functionality loss, no critical tasks disabled, setting blocker to -

Comment 13 Guohua Ouyang 2021-10-21 06:49:14 UTC
Verified on master.

Comment 16 errata-xmlrpc 2022-03-12 04:35:20 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Container Platform 4.10.3 security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:0056

Comment 17 Red Hat Bugzilla 2023-09-15 01:07:11 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days