Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1264456 - novnc and spice-html5 console do not work anymore
novnc and spice-html5 console do not work anymore
Status: CLOSED ERRATA
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine (Show other bugs)
3.6.0
Unspecified Unspecified
medium Severity high
: ovirt-3.6.1
: 3.6.1
Assigned To: jniederm
Jiri Belka
: Regression
Depends On:
Blocks: 1202356
  Show dependency treegraph
 
Reported: 2015-09-18 09:43 EDT by Jiri Belka
Modified: 2018-05-02 03:49 EDT (History)
12 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
The python-websockify 0.6 dependency package contained changes that resulted in novnc and spice-html5 consoles no longer being able to open. Fixed ovirt-websocket-proxy.py to work with python-websockify 0.6 so that the consoles now open as intended.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-03-09 16:13:19 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: Virt
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
websocket proxy debug, probably useless (6.88 KB, text/plain)
2015-09-18 09:43 EDT, Jiri Belka
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
oVirt gerrit 32138 None None None 2016-01-19 11:24 EST
oVirt gerrit 46440 None None None 2016-01-19 11:27 EST
Red Hat Product Errata RHEA-2016:0376 normal SHIPPED_LIVE Red Hat Enterprise Virtualization Manager 3.6.0 2016-03-09 20:20:52 EST

  None (edit)
Description Jiri Belka 2015-09-18 09:43:19 EDT
Created attachment 1074922 [details]
websocket proxy debug, probably useless

Description of problem:

novnc and spice-html5 consoles do not work anymore. tested from FF 38, FF 31 (supported), FF 39.

- spice-html5:

  > FF39: incorrect connection data
  > FF31: error: unexpected protocol mismatch
    sometimes also an error about can't connect but only for first try (hard
    to reproduce)

- novnc
  > FF31: failed to connect to server (code: 1006)


Version-Release number of selected component (if applicable):
rhevm-3.6.0-0.15.master.el6.noarch
novnc-0.5.1-2.el6.noarch
spice-html5-0.1.6-2.el6.noarch
rhevm-websocket-proxy-3.6.0-0.15.master.el6.noarch

How reproducible:
100%

Steps to Reproduce:
1. start two vms, one with spice and the latter with vnc
2. open web consoles (spice-html5, novnc)
3.

Actual results:
html-based consoles do not work (although the tab get opened)

Expected results:
should work

Additional info:
Comment 1 Douglas Schilling Landgraf 2015-09-18 15:38:57 EDT
(In reply to Jiri Belka from comment #0)
> Created attachment 1074922 [details]
> websocket proxy debug, probably useless
> 
> Description of problem:
> 
> novnc and spice-html5 consoles do not work anymore. tested from FF 38, FF 31
> (supported), FF 39.
> 
> - spice-html5:
> 
>   > FF39: incorrect connection data
>   > FF31: error: unexpected protocol mismatch
>     sometimes also an error about can't connect but only for first try (hard
>     to reproduce)
> 
> - novnc
>   > FF31: failed to connect to server (code: 1006)
> 
> 
> Version-Release number of selected component (if applicable):
> rhevm-3.6.0-0.15.master.el6.noarch
> novnc-0.5.1-2.el6.noarch
> spice-html5-0.1.6-2.el6.noarch
> rhevm-websocket-proxy-3.6.0-0.15.master.el6.noarch
> 
> How reproducible:
> 100%
> 
> Steps to Reproduce:
> 1. start two vms, one with spice and the latter with vnc
> 2. open web consoles (spice-html5, novnc)
> 3.
> 
> Actual results:
> html-based consoles do not work (although the tab get opened)
> 
> Expected results:
> should work
> 
> Additional info:

Hi Jiri,

Is it happening in RHEL-H and RHEV-H? I am not sure if the component you opened the bug is related. Could you please share a little bit why you decided to open this report against ovirt-node-plugin-vdsm? 

Thanks!
Comment 2 Jiri Belka 2015-09-19 05:10:22 EDT
ad component - mistake ;) changing to webadmin
Comment 3 Tomas Jelinek 2015-09-21 03:34:11 EDT
Looks like some compatibility issues between websocket proxy and the web clients.
Comment 5 jniederm 2015-09-23 09:20:58 EDT
It works for me (engine commit 5ef7702). The commit fixing that (https://gerrit.ovirt.org/#/c/46440/) probably wasn't in previous build. Next build (probably created today, 23.9.) should contain that.
Comment 6 Michal Skrivanek 2015-10-21 07:46:31 EDT
(In reply to jniederm from comment #5)
> It works for me (engine commit 5ef7702). The commit fixing that
> (https://gerrit.ovirt.org/#/c/46440/) probably wasn't in previous build.
> Next build (probably created today, 23.9.) should contain that.

the linked patch indicates it's fixed in build 14. This bug says tested on build 15
So is there anything else/more?
Comment 7 jniederm 2015-10-21 11:55:46 EDT
This bug was filed before (Sep 18) the patch (https://gerrit.ovirt.org/#/c/46440/) was merged (Sep 21). So nothing is missing.
Comment 9 Jiri Belka 2015-10-29 12:33:33 EDT
ok, rhevm-webadmin-portal-3.6.0.2-0.1.el6.noarch

i could open both spice-html5 and novnc consoles.
Comment 12 errata-xmlrpc 2016-03-09 16:13:19 EST
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, 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://rhn.redhat.com/errata/RHEA-2016-0376.html

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