Bug 1347706

Summary: Virt-viewer spontaneously logs out of the rhev-m portal
Product: Red Hat Enterprise Linux 7 Reporter: Radek Duda <rduda>
Component: virt-viewerAssignee: Virt Viewer Maint <virt-viewer-maint>
Status: CLOSED DUPLICATE QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.3CC: cfergeau, dblechte, mperina, rbalakri, spice-qe-bugs
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-18 08:48:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
engine.log none

Description Radek Duda 2016-06-17 12:30:44 UTC
Created attachment 1169116 [details]
engine.log

I am not sure if this bug is related to ovirt-engine or remote-viewer

Description of problem:
About 5 min. after connecting to guest VM with remote-viewer spontaneous log out from rhev-m user portal takes place.


Version-Release number of selected component (if applicable):
virt-viewer-2.0-8.el7.x86_64 or
virt-viewer-2.0-6.el7_2.1.x86_64
ovirt-engine-4.0.0.4-0.1.el7ev.noarch

How reproducible: always


Steps to Reproduce:
1.login to rhev-m user poortal
2. connect to some running guest VM :$ remote-viewer console.vv
3. wait approx. 5 minutes

Actual results: spontaneous logout from rhev-m user portal


Expected results: no logout


Additional info:
 * If I do not connect by remote-viewer to any VM, the spontaneous logout does not occur.

attached please find engine.log with time values:
Here are corresponding time values:
8:12 login
8:23:54 - connected to VM by console
8:24:59 - spontaneous log out

spice-debug:
(remote-viewer:2301): libsoup-CRITICAL **: soup_auth_authenticate: assertion 'username != NULL' failed

(remote-viewer:2301): remote-viewer-WARNING **: failed to fetch files for ISO storage domain: Unauthorized

Comment 1 Radek Duda 2016-06-17 13:53:38 UTC
I deleted sso-token from vv file and connected with remote-viewer. The CD menu item did not appear, but the user stays logged to rhev-m portal. So the bug has to be in SSO authentification.

It is probably duplication of bug 1347478

Comment 3 Christophe Fergeau 2016-06-17 14:05:44 UTC
(In reply to Radek Duda from comment #1)
> I deleted sso-token from vv file and connected with remote-viewer. The CD
> menu item did not appear, but the user stays logged to rhev-m portal. So the
> bug has to be in SSO authentification.
> 
> It is probably duplication of bug 1347478

This seems similar yes.

Comment 4 Martin Perina 2016-06-18 08:48:05 UTC
The issue is in SSO implementation of ovirt-engine, unfortunately it's not possible to move bug to RHEVM, because there's no way how to required fill-in 'oVirt Team' option :-(

So closing as a duplicate of BZ1347478

*** This bug has been marked as a duplicate of bug 1347478 ***