Bug 1376003 - Internal server error once automatically logged out from rhv-m and then trying to re-login back to the session
Summary: Internal server error once automatically logged out from rhv-m and then tryin...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Infra
Version: 4.1.0
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ovirt-4.0.5
: 4.0.5
Assignee: Ravi Nori
QA Contact: Pavel Novotny
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-14 12:39 UTC by Michael Burman
Modified: 2017-01-18 07:36 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-01-18 07:36:40 UTC
oVirt Team: Infra
Embargoed:
rule-engine: ovirt-4.0.z+
rule-engine: planning_ack+
mperina: devel_ack+
pstehlik: testing_ack+


Attachments (Terms of Use)
engine log (364.24 KB, application/x-gzip)
2016-09-14 12:41 UTC, Michael Burman
no flags Details
screenshot (290.36 KB, image/png)
2016-09-14 12:42 UTC, Michael Burman
no flags Details
logs in debug mode (736.03 KB, application/x-gzip)
2016-09-20 10:26 UTC, Michael Burman
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 64219 0 master MERGED aaa: Internal server error once automatically logged out 2020-09-14 14:20:23 UTC
oVirt gerrit 64268 0 ovirt-engine-4.0 MERGED aaa: Internal server error once automatically logged out 2020-09-14 14:20:22 UTC

Description Michael Burman 2016-09-14 12:39:10 UTC
Description of problem:
Internal server error once automatically logged out from rhv-m and then trying to re-login back to the session.

In rhv-m 4.0 once you automatically logged out by the system and then you trying to log in back again to the session(by entering name and password), first an 'internal server error' appears and you need click on 'Click here to continue'. Then you will see the 'Welcome to Red Hat Virtualization' page and will need to click on the 'Administration Portal' and only then i be back on the session.  

Version-Release number of selected component (if applicable):
4.0.4.2-0.1.el7ev

How reproducible:
Always -100

Steps to Reproduce:
1. Log in to webadmin portal rhv-m 4.0.4 and wait until you automatically logged out by the system
2. Enter username and password to log in back to the session

Actual results:
'Internal Server Error' page appears

Expected results:
No errors should appear when trying to log in back to the session

Comment 1 Michael Burman 2016-09-14 12:41:16 UTC
Created attachment 1200820 [details]
engine log

Comment 2 Michael Burman 2016-09-14 12:42:02 UTC
Created attachment 1200821 [details]
screenshot

Comment 3 Martin Perina 2016-09-14 14:49:29 UTC
Michael, could you please provide also server.log? And is it reproducable?

Comment 4 Michael Burman 2016-09-14 15:06:06 UTC
There is nothing relevant in the server.log
Yes it is, most of qe complaining about this issue for some time now

Comment 5 Michael Burman 2016-09-20 10:23:50 UTC
Hi Ravi, 

Attaching log in debug mode as agreed. Ping me on irc if you need more info.

2016-09-20 13:21:20,657 DEBUG [org.ovirt.engine.core.aaa.servlet.SsoPostLoginServlet] (default task-2) [] User login failure: java.lang.NullPointerException
        at io.undertow.servlet.spec.HttpServletResponseImpl.sendRedirect(HttpServletResponseImpl.java:186) [undertow-servlet.jar:1.3.24.Final-redhat-1]

Comment 6 Michael Burman 2016-09-20 10:26:52 UTC
Created attachment 1202816 [details]
logs in debug mode

Comment 7 Pavel Novotny 2016-10-04 14:27:44 UTC
Verified in rhevm-4.0.5-0.1.el7ev.noarch

Verification steps:
1. Log into webadmin and wait to be automatically logged out. 
2. Back on the login page, enter the credentials again and submit.

Result: User is logged into webadmin. No errors are thrown in the web UI nor are present in server.log/engine.log/ui.log.


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