Bug 1826454 - When accessing any type of console error "Sorry, VM Portal is currently having some issues"
Summary: When accessing any type of console error "Sorry, VM Portal is currently havin...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: General
Version: 4.4.0
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ovirt-4.4.1
: ---
Assignee: Hilda Stastna
QA Contact: Tamir
URL:
Whiteboard:
Depends On:
Blocks: 1816777
TreeView+ depends on / blocked
 
Reported: 2020-04-21 17:51 UTC by Tamir
Modified: 2020-07-08 08:25 UTC (History)
4 users (show)

Fixed In Version: rhv-4.4.1-4
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-07-08 08:25:28 UTC
oVirt Team: UX
Embargoed:
pm-rhel: ovirt-4.4+
pm-rhel: devel_ack+


Attachments (Terms of Use)
Includes image of the error, logs of the engine/vdsm and QEMU (660.58 KB, application/zip)
2020-04-21 17:51 UTC, Tamir
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github oVirt ovirt-web-ui pull 1192 0 None closed Allow opening a VM console for all console types 2020-11-09 11:10:03 UTC
oVirt gerrit 109214 0 master MERGED packaging: services: websocket handle missing token 2020-11-09 11:09:45 UTC
oVirt gerrit 109340 0 master ABANDONED WIP: test test 2020-11-09 11:09:45 UTC

Description Tamir 2020-04-21 17:51:51 UTC
Created attachment 1680645 [details]
Includes image of the error, logs of the engine/vdsm and QEMU

Description of problem:
When I try to access a VM's console (Any type of console VNC/Spice/NoVNC...) I see the error "Sorry, VM Portal is currently having some issues." instead of downloading a .vv file or a webpage for the noVNC.

Version-Release number of selected component (if applicable):
RHEV 4.4.0-31. RHEL 8.2 Both Hosts and Engine
RHEVM: org.ovirt.engine-root-4.4.0-33
VDSM: vdsm-4.30.44-1.el7ev
  
How reproducible:
100%

Steps to Reproduce:
1. Enter VM portal
2. Run a VM
3. Open the VM's console in any method (SPICE/VNC/noVNC...)

Actual results:
I get this text instead of the console's file/webpage: "Sorry, VM Portal is currently having some issues."

I get errors in the web console:
-"Uncaught saga error (store.js):  TypeError: (0 , g.setVmSessions) is not a function"

-"TypeError: (0 , g.setVmSessions) is not a function"


Expected results:
Enter console's noVNC webpage or download .vv file for virt viewer for any other console type.

Additional info:

Comment 1 Hilda Stastna 2020-05-22 10:48:03 UTC
Here's the patch for fixing the VNC Browser console issue: https://gerrit.ovirt.org/#/c/109214/

Comment 3 Tamir 2020-06-17 13:31:51 UTC
Checked on RHV 4.4.1-3 with RHEL 8.2 engine and hosts.

Steps:
1. Create a 4.4 data center and cluster, add a host and add a data storage.
2. Create a VM.
3. Login to the VM portal.
4. Access the VM's console (using VNC/Spice/noVNC).

Actual:
1-3 steps were executed successfully.
4. I successfully launched and downloaded the vv files for the VNC and SPICE (In both the Admin Portal and the VM portal)
But in the VM portal I wasn't able to launch the noVNC console of the same VM while in the Admin Portal I successfully launched it (same VM, noVNC). 

Expected:
4. All the VM consoles to be accessible and working correctly.

I attached browser's console log in attachments and engine.log.
I think this problem is connected to this bug, so I will move the status to assigned.

Comment 10 Tamir 2020-06-18 14:30:11 UTC
I verified it again on RHV 4.4.1-4 and everything works correctly.

Comment 11 Sandro Bonazzola 2020-07-08 08:25:28 UTC
This bugzilla is included in oVirt 4.4.1 release, published on July 8th 2020.

Since the problem described in this bug report should be resolved in oVirt 4.4.1 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.


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