Bug 1393525 - [AAA] OAuthException on engine restart
Summary: [AAA] OAuthException on engine restart
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: ovirt-engine-extension-aaa-jdbc
Classification: oVirt
Component: Core
Version: ---
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified vote
Target Milestone: ---
: ---
Assignee: Martin Perina
QA Contact: Ondra Machacek
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-09 18:21 UTC by Gonza
Modified: 2016-11-18 15:52 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-18 15:52:00 UTC
oVirt Team: Integration


Attachments (Terms of Use)
relevant log (296.48 KB, text/plain)
2016-11-09 18:21 UTC, Gonza
no flags Details

Description Gonza 2016-11-09 18:21:50 UTC
Created attachment 1219036 [details]
relevant log

Description of problem:
AAA throws an exception when engine is restarted:
2016-11-05 23:45:14,886 ERROR [org.ovirt.engine.core.sso.utils.SsoUtils] (default task-24) [] OAuthException server_error: String index out of range: -1
2016-11-05 23:45:14,893 ERROR [org.ovirt.engine.core.aaa.filters.SsoRestApiAuthFilter] (default task-23) [] Cannot authenticate using authentication Headers: server_error: String index out of r      ange: -1
2016-11-05 23:47:02,854 ERROR [org.ovirt.engine.core.utils.timer.SchedulerUtilQuartzImpl] (DefaultQuartzScheduler8) [] Failed to invoke scheduled method onTimer: null

Version-Release number of selected component (if applicable):
ovirt-engine-extension-aaa-ldap-1.2.2-1.el7ev.noarch

How reproducible:
Not been able to reproduce, opening bug for investigation.

Steps to Reproduce:
1. Check engine logs on engine restart

Actual results:
OAuthException

Expected results:
no exceptions

Additional info:
relevant log attached

Comment 1 Ondra Machacek 2016-11-09 18:25:34 UTC
The most important is (thus changing product) :

2016-11-05 23:37:17,456 ERROR [org.ovirt.engine.extension.aaa.jdbc.binding.api.AuthnExtension] (default task-6) [] Unexpected Exception invoking: AAA_AUTHN_AUTHENTICATE_CREDENTIALS[d9605c75-6b43-4b00-b32c-06bdfa80244c]

Comment 2 Martin Perina 2016-11-18 15:52:00 UTC
I haven't been able to reproduce this error with latest ovirt-engine 4.0.6 and ovirt-engine-extension-aaa-jdbc 1.1.1. If you are able to see this issue again, please turn on debug log for SSO and AAA and try to reproduce


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