Bug 1964789 - Send keys and disconnect does not work for VNC console [NEEDINFO]
Summary: Send keys and disconnect does not work for VNC console
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Console Kubevirt Plugin
Version: 4.8
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.10.0
Assignee: Phillip Bailey
QA Contact: Guohua Ouyang
URL:
Whiteboard:
: 1961809 1988140 1994426 2002011 (view as bug list)
Depends On:
Blocks: 2010677
TreeView+ depends on / blocked
 
Reported: 2021-05-26 05:41 UTC by Guohua Ouyang
Modified: 2022-03-12 04:35 UTC (History)
13 users (show)

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
Clone Of:
: 2010677 (view as bug list)
Environment:
Last Closed: 2022-03-12 04:35:20 UTC
Target Upstream Version:
pelauter: needinfo? (tnisan)
yzamir: needinfo? (pelauter)


Attachments (Terms of Use)
buttons on vnc console does not work (2.91 MB, application/octet-stream)
2021-05-26 05:41 UTC, Guohua Ouyang
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 10193 0 None open Bug 1964789: Update patternfly/react-console version 2021-10-06 19:21:51 UTC
Github patternfly patternfly-react pull 6012 0 None Merged fix(VncConsole): persist rfc instance in VncConsole 2021-10-11 14:12:20 UTC
Red Hat Product Errata RHSA-2022:0056 0 None None None 2022-03-12 04:35:40 UTC

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


Note You need to log in before you can comment on or make changes to this bug.