Bug 1464006

Summary: Remote VNC/SPICE consoles lack logging when the remote endpoint is inaccessible
Product: Red Hat CloudForms Management Engine Reporter: Dávid Halász <dhalasz>
Component: UI - OPSAssignee: Dávid Halász <dhalasz>
Status: CLOSED CURRENTRELEASE QA Contact: Kedar Kulkarni <kkulkarn>
Severity: medium Docs Contact:
Priority: high    
Version: 5.7.0CC: dajohnso, hkataria, jhardy, kkulkarn, mpovolny, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ui:html5:console
Fixed In Version: 5.9.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1468613 1478436 (view as bug list) Environment:
Last Closed: 2018-03-06 15:06:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1468613, 1478436    

Description Dávid Halász 2017-06-22 09:12:15 UTC
Description of problem:
When a client tries to connect to a WebSocket-based remote console and it fails while the proxy is opening the remote endpoint, the websocket.log doesn't provide any helpful information.

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:
The websocket.log should provide some information about a failed connection.

Additional info:

Comment 3 CFME Bot 2017-07-04 11:16:53 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/73163cdec8a0085675a9dec64360bb4382a488a8

commit 73163cdec8a0085675a9dec64360bb4382a488a8
Author:     Dávid Halász <dhalasz>
AuthorDate: Thu Jun 22 11:03:25 2017 +0200
Commit:     Dávid Halász <dhalasz>
CommitDate: Mon Jun 26 11:34:41 2017 +0200

    Add additional logging into the websocket proxy for easier debugging
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1464006

 lib/websocket_proxy.rb           | 6 ++++--
 lib/websocket_server.rb          | 2 +-
 spec/lib/websocket_proxy_spec.rb | 3 ++-
 3 files changed, 7 insertions(+), 4 deletions(-)

Comment 6 Kedar Kulkarni 2017-10-10 22:16:41 UTC
Verified using reproduction steps in https://bugzilla.redhat.com/attachment.cgi?id=1326212