Bug 1723351 - Webmks and VNC consoles do NOT work
Summary: Webmks and VNC consoles do NOT work
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.11.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.11.0
Assignee: Dávid Halász
QA Contact: Sudhir Mallamprabhakara
Red Hat CloudForms Documentation
URL:
Whiteboard:
Depends On:
Blocks: 1668437
TreeView+ depends on / blocked
 
Reported: 2019-06-24 10:55 UTC by Antonin Pagac
Modified: 2019-12-13 14:57 UTC (History)
8 users (show)

Fixed In Version: 5.11.0.13
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-12-13 14:57:55 UTC
Category: Bug
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Antonin Pagac 2019-06-24 10:55:34 UTC
Description of problem:
Webmks and VNC consoles do NOT work. Browser doesn't matter.

Webmks error:
"
WebSocket connection to 'wss://<IP>/ws/console/6502a18…' failed: Error during WebSocket handshake: Unexpected response code: 500
WMKS.WebSocket @ wmks.min.js:1
"

VNC error:
"
WebSocket connection to 'wss://<IP>/ws/console/9eaa1ae…' failed: Error during WebSocket handshake: Unexpected response code: 500
open @ vnc-d6cfe1f50ccd20ca…d89c584b4e9f.js:167

Msg: Server disconnected (code: 1006)
Util.Error @ vnc-d6cfe1f50ccd20ca…d89c584b4e9f.js:102

VNC undefined
onUpdateState @ vnc-d6cfe1f50ccd20ca…d89c584b4e9f.js:369
"

VMRC console works fine.

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

How reproducible:
Always

Steps to Reproduce:
1. Have relevant provider added
   - for VNC: vsphere 6.0 or rhv
   - for webmks: a vsphere provider
2. Create VM on the provider
3. Via OPS UI, try to Access -> VM Console from vm details page

Actual results:
Console does not work; errors in browser console

Expected results:
Console opens and connects

Additional info:
Works fine in 5.10

Comment 3 Dávid Halász 2019-07-01 07:03:55 UTC
https://github.com/ManageIQ/manageiq/pull/18919

Comment 4 CFME Bot 2019-07-02 20:26:19 UTC
New commit detected on ManageIQ/manageiq/master:

https://github.com/ManageIQ/manageiq/commit/9d336254a7c44aa957e41137c22f6dd28a37b28b
commit 9d336254a7c44aa957e41137c22f6dd28a37b28b
Author:     Dávid Halász <dhalasz>
AuthorDate: Thu Jun 27 03:45:40 2019 -0400
Commit:     Dávid Halász <dhalasz>
CommitDate: Thu Jun 27 03:45:40 2019 -0400

    Explicitly require the websocket driver in the remote console server

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1723351

 lib/remote_console/rack_server.rb | 1 +
 1 file changed, 1 insertion(+)

Comment 5 Antonin Pagac 2019-07-10 09:07:28 UTC
Verified with 5.11.0.13.


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