Bug 1816777
Summary: | Missing key 'path' when connecting to browser console in VM portal | ||
---|---|---|---|
Product: | [oVirt] ovirt-engine | Reporter: | Ivana Saranova <isaranov> |
Component: | WebSocket Proxy | Assignee: | Liran Rotenberg <lrotenbe> |
WebSocket Proxy sub component: | General | QA Contact: | Tamir <tamir> |
Status: | CLOSED CURRENTRELEASE | Docs Contact: | |
Severity: | high | ||
Priority: | unspecified | CC: | bugs, emarcus, lrotenbe, michal.skrivanek, sgratch |
Version: | 4.4.0 | Flags: | pm-rhel:
ovirt-4.4+
|
Target Milestone: | ovirt-4.4.0 | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | ovirt-engine-4.4.0_beta2 | Doc Type: | Bug Fix |
Doc Text: |
Previously, when initiating the console from the VM portal to noVNC, the console didn't work due to a missing 'path' parameter when initiating the console.
In this release,the 'path' is not mandatory, and the noVNC console can initiate even when 'path' isn't provided.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2020-08-05 06:10:08 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: | |||
Bug Depends On: | 1826454 | ||
Bug Blocks: |
Description
Ivana Saranova
2020-03-24 17:33:27 UTC
"path" is mandatory...I guess. Don't really recall. Ryan, can you pick that up? It could be that the path needs to be passed in the ticket now, in that case flip it back to UX please (though such code change would be tracked on ovirt-web-ui's github) Sure, I'll pick it up The value is missing in VM portal as it seems. From webadmin: ovirt-websocket-proxy[2822] INFO msg:871 WebSocket server settings: ovirt-websocket-proxy[2822] INFO msg:871 - Listen on *:6100 ovirt-websocket-proxy[2822] INFO msg:871 - Flash security policy server ovirt-websocket-proxy[2822] INFO msg:871 - SSL/TLS support ovirt-websocket-proxy[2822] INFO msg:871 - Deny non-SSL/TLS connections ovirt-websocket-proxy[2822] INFO msg:871 - proxying from *:6100 to targets generated by str {'host': '10.46.9.68', 'port': '5900', 'ssl_target': False, 'path': None, 'token': None} None ovirt-websocket-proxy[2868] INFO log_message:117 127.0.0.1 - - [31/Mar/2020 11:24:36] 127.0.0.1: SSL/TLS (wss://) WebSocket connection ovirt-websocket-proxy[2868] INFO log_message:117 127.0.0.1 - - [31/Mar/2020 11:24:36] 127.0.0.1: Version hybi-13, base64: 'False' And everything went fine. It might be a problem in the VM Portal (https://github.com/oVirt/ovirt-web-ui/blob/master/src/components/VmConsole/index.js#L129). But, we can easily fix it in the ovirt-websocket-proxy by setting None when this 'path' key is missing. I was trying to verify the bug on RHV 4.4.0-31 RHEL 8.2 (Both engine and hosts) Steps: In web admin: 1. I created a Host, Data center, Cluster with Enable VNC Encryption under console disabled, Storage domain and a VM. 2. I run the VM. 3. I set the console to open as VNC and console invocation as noVNC. 4. Added the CA to the browser and launched the console Everything worked as expected and I successfully launched the noVNC console and it worked. In the VM portal I couldn't open any sort of a Console because of a bug. I will search if the bug is opened and attach it and if not I will open it. I don't think we can mark this bug as verified yet until I will be able to verify it in the VM portal. I verified it again on RHV-4.4.1-4 and everything works This bugzilla is included in oVirt 4.4.0 release, published on May 20th 2020. Since the problem described in this bug report should be resolved in oVirt 4.4.0 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report. |