Description of problem: When trying to connect to VM console, for VM on RHV provider, sometimes it fails. From browser it looks the same way as on screenshot: https://bugzilla.redhat.com/attachment.cgi?id=1213529 from bug: https://bugzilla.redhat.com/show_bug.cgi?id=1388180 (which is cloned by https://bugzilla.redhat.com/show_bug.cgi?id=1393520 ) Couldn't find anything useful in logs Version-Release number of selected component (if applicable): How reproducible: 60% Steps to Reproduce: 1. Manage RHEVM provider (say RHEVM 36 or 35) 2. Navigate to Compute ==> Infrastructure ==> Virtual Machines ==> Select a Virtual Machine 3. Click on the HTML5 icon in the vm details page Actual results: fails Expected results: should connect to VM's console Additional info: On some environments this fails randomly, but on other environments using the same CFME version it failed ~20 times and I wasn't able to connect to console at all
Michal - so isn't this a clone of that issue?
On CFME-5.7.0.9, VM console (Before bug 1393520 was fixed), failed to connect constantly. On CFME-5.7.0.11 (including bug 1393520 fix), we see it failing sometimes. This problem is seen on FF 49 & Chrome 50.0.2661.86. Martin, Would you please add your input on this?
Also, when this fails. Will another attempt just work or is it constantly failing?
When I tested it today, using Chrome, on first connection trial, it failed, but refreshing the page (pressing "F5") made it work. On the second time, I connected to the same VM console, connection worked well. After login again to CFME appliance, and connecting to the VM console didn't work, and F5 didn't help. I am not sure there's a constant pattern here, that make the problem reproduce/vanish.
Even on successful connection I can see this in JS console: Connected to wss://{cfme_ip}/ws/console/1335df39ab6ef0f0ff18b6bebd223875 spice-h...25b9.js (line 351) WARNING: Unimplemented function 108(Inval All Palettes) [ further notices suppressed ] spice-h...25b9.js (line 351) WARNING: Unimplemented function 102(Display Mark) [ further notices suppressed ] spice-h...25b9.js (line 351) Firefox can’t establish a connection to the server at wss://{cfme_ip}/ws/console/1335df39ab6ef0f0ff18b6bebd223875. spice-h...25b9.js (line 127, col 113) ERROR: WebSocket error: Can't connect to websocket on URL: wss://{cfme_ip}/ws/console/1335df39ab6ef0f0ff18b6bebd223875 spice-h...25b9.js (line 351) ERROR: [object Event] spice-h...25b9.js (line 351) uncaught exception: [object Event] and when this bug is reproduced, console says this: "NetworkError: 500 Internal Server Error - https://{cfme_ip}/ws/console/1335df39ab6ef0f0ff18b6bebd223875" 1335df3...d223875 Firefox can’t establish a connection to the server at wss://{cfme_ip}/ws/console/1335df39ab6ef0f0ff18b6bebd223875. spice-h...25b9.js (line 127, col 113) ERROR: WebSocket error: Can't connect to websocket on URL: wss://{cfme_ip}/ws/console/1335df39ab6ef0f0ff18b6bebd223875 spice-h...25b9.js (line 351) ERROR: [object Event] spice-h...25b9.js (line 351)
Adding requires_doc_text flag, so that this bug will be added in the release notes. It seems it will take some time to resolve this bug, and it won't be ready on time for CFME-5.7.0 GA
Ugh, my needinfo is from February... so at this point I think we can close this. I defer to Ilanit. Assuming this is working, please do so.
Tested 10 times in a role VM console for SPICE display type. Console was opened successfully.
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://access.redhat.com/errata/RHSA-2018:0380