Bug 1347478
| Summary: | User and admin portal logout after a minute when using console | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Xiaodai Wang <xiaodwan> | ||||||||
| Component: | ovirt-engine | Assignee: | Ravi Nori <rnori> | ||||||||
| Status: | CLOSED ERRATA | QA Contact: | Petr Matyáš <pmatyas> | ||||||||
| Severity: | urgent | Docs Contact: | |||||||||
| Priority: | high | ||||||||||
| Version: | unspecified | CC: | cfergeau, gklein, juzhou, lsurette, mgoldboi, michal.skrivanek, mperina, mxie, mzhan, oourfali, pstehlik, rbalakri, rduda, rhev-integ, Rhev-m-bugs, srevivo, tzheng, xiaodwan, ykaul | ||||||||
| Target Milestone: | ovirt-4.0.0-rc3 | ||||||||||
| Target Release: | --- | ||||||||||
| Hardware: | x86_64 | ||||||||||
| OS: | Unspecified | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2016-08-23 20:42:55 UTC | Type: | Bug | ||||||||
| Regression: | --- | Mount Type: | --- | ||||||||
| Documentation: | --- | CRM: | |||||||||
| Verified Versions: | Category: | --- | |||||||||
| oVirt Team: | Infra | RHEL 7.3 requirements from Atomic Host: | |||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||
| Embargoed: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Xiaodai Wang
2016-06-17 03:24:36 UTC
Created attachment 1168897 [details]
remote-viewer log
What do you have set in UserSessionTimeOutInterval? e.g. engine-config -g UserSessionTimeOutInterval (In reply to Tomas Jelinek from comment #2) > What do you have set in UserSessionTimeOutInterval? > e.g. > engine-config -g UserSessionTimeOutInterval # engine-config -g UserSessionTimeOutInterval UserSessionTimeOutInterval: 1800 version: general 1800 minutes seems a lot, so this is for sure not the problem.
But it is not the default value either - have you been doing some changes around session timeouts?
> 3. I am always logged out of web portal in a very short time and have to
> loggin again and again.
How much is this very short time? Also about 1 minute of inactivity?
Seems as more generic problem than just with remote-viewer - please attach also the engine and server logs.
(In reply to Tomas Jelinek from comment #4) > 1800 minutes seems a lot, so this is for sure not the problem. > But it is not the default value either - have you been doing some changes > around session timeouts? yes, after i noticed this problem, i changed this value from 30 to 1800, then restarted ovirt-engine, but it still has same problem. > > > 3. I am always logged out of web portal in a very short time and have to > > loggin again and again. > > How much is this very short time? Also about 1 minute of inactivity? > Seems as more generic problem than just with remote-viewer - please attach > also the engine and server logs. 1 minute is more than actual time. I didn't calc the accurate time. but sometime i am logged out when i am still doing operation in web portal. Where to get the engine and server logs? > Where to get the engine and server logs?
On the machine where the engine is running here:
/var/log/ovirt-engine/engine.log
/var/log/ovirt-engine/server.log
Created attachment 1168971 [details]
ovirt server log
Created attachment 1168973 [details]
ovirt engine log
@Martin, any idea why would the session expire every e.g. 1 minute? *** Bug 1347706 has been marked as a duplicate of this bug. *** There is a bug in ovirt-engine SSO implementation, so moving bug to infra this causes logoff in a minute every time a user opens a console using virt-viewer (which is the default and recommended way now in 4.0 since we removed plugins) Verified on ovirt-engine-4.0.0.6-0.1.el7ev.noarch 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://rhn.redhat.com/errata/RHEA-2016-1743.html |