<div dir="ltr">Thank you. Hope we will have the fix soon.</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 20, 2015 at 11:45 AM, Martin Perina <span dir="ltr"><<a href="mailto:mperina@redhat.com" target="_blank">mperina@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
database connections in aaa-jdbc extension are not closed properly,<br>
I've created following bug [1] to track this issue.<br>
<br>
Thanks<br>
<br>
Martin Perina<br>
<br>
[1] <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1283936" rel="noreferrer" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=1283936</a><br>
<span class="im HOEnZb"><br>
----- Original Message -----<br>
> From: "Maksim Naumov" <<a href="mailto:maksim.naumov@hitmeister.de">maksim.naumov@hitmeister.de</a>><br>
> To: "Martin Perina" <<a href="mailto:mperina@redhat.com">mperina@redhat.com</a>><br>
> Cc: "users" <<a href="mailto:users@ovirt.org">users@ovirt.org</a>><br>
</span><span class="im HOEnZb">> Sent: Thursday, November 19, 2015 3:52:57 PM<br>
> Subject: Re: [ovirt-users] [3.6] API - Internal Server Error<br>
><br>
</span><div class="HOEnZb"><div class="h5">> Here is the new log entries:<br>
><br>
><br>
> 2015-11-19 15:51:05,453 ERROR<br>
> [org.ovirt.engine.extension.aaa.jdbc.binding.api.AuthnExtension] (default<br>
> task-285) [] Unexpected Exception invoking:<br>
> AAA_AUTHN_AUTHENTICATE_CREDENTIALS[d9605c75-6b43-4b00-b32c-06bdfa80244c]<br>
> 2015-11-19 15:51:05,453 DEBUG<br>
> [org.ovirt.engine.extension.aaa.jdbc.binding.api.AuthnExtension] (default<br>
> task-285) [] Exception:: org.postgresql.util.PSQLException: FATAL:<br>
> remaining connection slots are reserved for non-replication superuser<br>
> connections<br>
> at<br>
> org.postgresql.core.v3.ConnectionFactoryImpl.readStartupMessages(ConnectionFactoryImpl.java:471)<br>
> [postgresql.jar:]<br>
> at<br>
> org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:112)<br>
> [postgresql.jar:]<br>
> at<br>
> org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:66)<br>
> [postgresql.jar:]<br>
> at<br>
> org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:125)<br>
> [postgresql.jar:]<br>
> at<br>
> org.postgresql.jdbc3.AbstractJdbc3Connection.<init>(AbstractJdbc3Connection.java:30)<br>
> [postgresql.jar:]<br>
> at<br>
> org.postgresql.jdbc3g.AbstractJdbc3gConnection.<init>(AbstractJdbc3gConnection.java:22)<br>
> [postgresql.jar:]<br>
> at<br>
> org.postgresql.jdbc4.AbstractJdbc4Connection.<init>(AbstractJdbc4Connection.java:32)<br>
> [postgresql.jar:]<br>
> at org.postgresql.jdbc4.Jdbc4Connection.<init>(Jdbc4Connection.java:24)<br>
> [postgresql.jar:]<br>
> at org.postgresql.Driver.makeConnection(Driver.java:393) [postgresql.jar:]<br>
> at org.postgresql.Driver.connect(Driver.java:267) [postgresql.jar:]<br>
> at java.sql.DriverManager.getConnection(DriverManager.java:571)<br>
> [rt.jar:1.7.0_91]<br>
> at java.sql.DriverManager.getConnection(DriverManager.java:215)<br>
> [rt.jar:1.7.0_91]<br>
> at<br>
> org.ovirt.engine.extension.aaa.jdbc.core.datasource.DataSourceProvider$1.invoke(DataSourceProvider.java:86)<br>
> [ovirt-engine-extension-aaa-jdbc.jar:]<br>
> at com.sun.proxy.$Proxy162.getConnection(Unknown Source)<br>
> at<br>
> org.ovirt.engine.extension.aaa.jdbc.core.datasource.SchemaAwareDataSource.getConnection(SchemaAwareDataSource.java:40)<br>
> [ovirt-engine-extension-aaa-jdbc.jar:]<br>
> at<br>
> org.ovirt.engine.extension.aaa.jdbc.core.datasource.Sql$Query.asResults(Sql.java:298)<br>
> [ovirt-engine-extension-aaa-jdbc.jar:]<br>
> at<br>
> org.ovirt.engine.extension.aaa.jdbc.core.datasource.Sql$Query.asResults(Sql.java:285)<br>
> [ovirt-engine-extension-aaa-jdbc.jar:]<br>
> at org.ovirt.engine.extension.aaa.jdbc.core.Schema.get(Schema.java:743)<br>
> [ovirt-engine-extension-aaa-jdbc.jar:]<br>
> at org.ovirt.engine.extension.aaa.jdbc.core.Tasks.execute(Tasks.java:49)<br>
> [ovirt-engine-extension-aaa-jdbc.jar:]<br>
> at<br>
> org.ovirt.engine.extension.aaa.jdbc.binding.api.AuthnExtension.invoke(AuthnExtension.java:50)<br>
> [ovirt-engine-extension-aaa-jdbc.jar:]<br>
> at<br>
> org.ovirt.engine.core.extensions.mgr.ExtensionProxy.invoke(ExtensionProxy.java:49)<br>
> at<br>
> org.ovirt.engine.core.extensions.mgr.ExtensionProxy.invoke(ExtensionProxy.java:73)<br>
> at<br>
> org.ovirt.engine.core.extensions.mgr.ExtensionProxy.invoke(ExtensionProxy.java:109)<br>
> at<br>
> org.ovirt.engine.core.aaa.filters.BasicAuthenticationFilter.handleCredentials(BasicAuthenticationFilter.java:134)<br>
> at<br>
> org.ovirt.engine.core.aaa.filters.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:84)<br>
> at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)<br>
> at<br>
> io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)<br>
> at<br>
> org.ovirt.engine.core.aaa.filters.SessionValidationFilter.doFilter(SessionValidationFilter.java:77)<br>
> at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)<br>
> at<br>
> io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)<br>
> at<br>
> org.ovirt.engine.core.aaa.filters.EngineSessionTokenAuthenticationFilter.doFilter(EngineSessionTokenAuthenticationFilter.java:31)<br>
> at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)<br>
> at<br>
> io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)<br>
> at<br>
> org.ovirt.engine.core.aaa.filters.RestApiSessionValidationFilter.doFilter(RestApiSessionValidationFilter.java:35)<br>
> at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)<br>
> at<br>
> io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)<br>
> at<br>
> org.ovirt.engine.api.common.security.CSRFProtectionFilter.doFilter(CSRFProtectionFilter.java:111)<br>
> at<br>
> org.ovirt.engine.api.common.security.CSRFProtectionFilter.doFilter(CSRFProtectionFilter.java:102)<br>
> at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)<br>
> at<br>
> io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)<br>
> at<br>
> org.ovirt.engine.api.common.security.CORSSupportFilter.doFilter(CORSSupportFilter.java:183)<br>
> at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)<br>
> at<br>
> io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)<br>
> at<br>
> io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:85)<br>
> at<br>
> io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)<br>
> at<br>
> io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)<br>
> at<br>
> org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)<br>
> at<br>
> io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)<br>
> at<br>
> io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)<br>
> at<br>
> io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)<br>
> at<br>
> io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)<br>
> at<br>
> io.undertow.security.handlers.AuthenticationConstraintHandler.handleRequest(AuthenticationConstraintHandler.java:51)<br>
> at<br>
> io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)<br>
> at<br>
> io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)<br>
> at<br>
> io.undertow.servlet.handlers.security.ServletSecurityConstraintHandler.handleRequest(ServletSecurityConstraintHandler.java:56)<br>
> at<br>
> io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:58)<br>
> at<br>
> io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:70)<br>
> at<br>
> io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76)<br>
> at<br>
> io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)<br>
> at<br>
> org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)<br>
> at<br>
> io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)<br>
> at<br>
> io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)<br>
> at<br>
> io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:261)<br>
> at<br>
> io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:248)<br>
> at<br>
> io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:77)<br>
> at<br>
> io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:167)<br>
> at io.undertow.server.Connectors.executeRootHandler(Connectors.java:199)<br>
> at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:766)<br>
> at<br>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)<br>
> [rt.jar:1.7.0_91]<br>
> at<br>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)<br>
> [rt.jar:1.7.0_91]<br>
> at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_91]<br>
><br>
> On Wed, Nov 18, 2015 at 7:51 PM, Martin Perina <<a href="mailto:mperina@redhat.com">mperina@redhat.com</a>> wrote:<br>
><br>
> > Hi,<br>
> ><br>
> > I'm sorry, but I'm not able to find out the cause. Could you please<br>
> > enable debug log for aaa-jdbc extension using following steps and<br>
> > send me logs again?<br>
> ><br>
> > 1. Edit file<br>
> > /usr/share/ovirt-engine/share/ovirt-engine/services/ovirt-engine/<br>
> > <a href="http://ovirt-engine.xml.in" rel="noreferrer" target="_blank">ovirt-engine.xml.in</a><br>
> ><br>
> > 2. Locate line that contains following comment:<br>
> ><br>
> > <!-- Loggers for the engine: --><br>
> ><br>
> > and append following lines:<br>
> ><br>
> > <logger category="org.ovirt.engine.extension.aaa.jdbc"><br>
> > <level name="DEBUG"/><br>
> > </logger><br>
> ><br>
> > 3. Restart ovirt-engine service:<br>
> ><br>
> > EL7/Fedora22:<br>
> > systemctl restart ovirt-engine<br>
> ><br>
> > EL6:<br>
> > service ovirt-engine restart<br>
> ><br>
> ><br>
> > Thanks<br>
> ><br>
> > Martin Perina<br>
> ><br>
> ><br>
> > ----- Original Message -----<br>
> > > From: "Maksim Naumov" <<a href="mailto:maksim.naumov@hitmeister.de">maksim.naumov@hitmeister.de</a>><br>
> > > To: "Martin Perina" <<a href="mailto:mperina@redhat.com">mperina@redhat.com</a>><br>
> > > Cc: "users" <<a href="mailto:users@ovirt.org">users@ovirt.org</a>><br>
> > > Sent: Wednesday, November 18, 2015 6:15:35 PM<br>
> > > Subject: Re: [ovirt-users] [3.6] API - Internal Server Error<br>
> > ><br>
> > > Here is my versions:<br>
> > ><br>
> > > Name : ovirt-engine<br>
> > > Version : 3.6.0.3<br>
> > > Release : 1.el7.centos<br>
> > ><br>
> > > Name : ovirt-engine-extension-aaa-jdbc<br>
> > > Version : 1.0.1<br>
> > > Release : 1.el7<br>
> > ><br>
> > > About the log:<br>
> > ><br>
> > > engile.log contains only one line related to this error, you can see it<br>
> > in<br>
> > > the first message. But server.log has a bit more.<br>
> > ><br>
> > > Currently, I do the following:<br>
> > ><br>
> > > I am running the script which is asking for API every 10 sec for a list<br>
> > of<br>
> > > current running VMs.<br>
> > > After some hours (1-2 hours) the script reporting that there are no VMs.<br>
> > > I went to the API endpoint by myself and everything that I was able to<br>
> > see<br>
> > > is Internal error.<br>
> > > I stopped the script and in a couple of minutes API worked again.<br>
> > ><br>
> > > Thank you<br>
> > ><br>
> > > SERVER.LOG<br>
> > ><br>
> > > 2015-11-18 18:13:40,833 ERROR [io.undertow.request] (default task-291)<br>
> > > UT005023: Exception handling request to /api/vms: Class: class<br>
> > ><br>
> > org.ovirt.engine.core.extensions.mgr.ExtensionInvokeCommandFailedException<br>
> > > Input:<br>
> > > {Extkey[name=AAA_AUTHN_CREDENTIALS;type=class<br>
> > ><br>
> > java.lang.String;uuid=AAA_AUTHN_CREDENTIALS[03b96485-4bb5-4592-8167-810a5c909706];]=***,<br>
> > > Extkey[name=EXTENSION_INVOKE_CONTEXT;type=class<br>
> > ><br>
> > org.ovirt.engine.api.extensions.ExtMap;uuid=EXTENSION_INVOKE_CONTEXT[886d2ebb-312a-49ae-9cc3-e1f849834b7d];]={Extkey[name=EXTENSION_INTERFACE_VERSION_MAX;type=class<br>
> > ><br>
> > java.lang.Integer;uuid=EXTENSION_INTERFACE_VERSION_MAX[f4cff49f-2717-4901-8ee9-df362446e3e7];]=0,<br>
> > > Extkey[name=EXTENSION_LICENSE;type=class<br>
> > ><br>
> > java.lang.String;uuid=EXTENSION_LICENSE[8a61ad65-054c-4e31-9c6d-1ca4d60a4c18];]=ASL<br>
> > > 2.0, Extkey[name=EXTENSION_NOTES;type=class<br>
> > ><br>
> > java.lang.String;uuid=EXTENSION_NOTES[2da5ad7e-185a-4584-aaff-97f66978e4ea];]=Display<br>
> > > name: "ovirt-engine-extension-aaa-jdbc",<br>
> > > Extkey[name=EXTENSION_HOME_URL;type=class<br>
> > ><br>
> > java.lang.String;uuid=EXTENSION_HOME_URL[4ad7a2f4-f969-42d4-b399-72d192e18304];]=<br>
> > > <a href="http://www.ovirt.org" rel="noreferrer" target="_blank">http://www.ovirt.org</a>, Extkey[name=EXTENSION_LOCALE;type=class<br>
> > ><br>
> > java.lang.String;uuid=EXTENSION_LOCALE[0780b112-0ce0-404a-b85e-8765d778bb29];]=en_US,<br>
> > > Extkey[name=EXTENSION_NAME;type=class<br>
> > ><br>
> > java.lang.String;uuid=EXTENSION_NAME[651381d3-f54f-4547-bf28-b0b01a103184];]="ovirt-engine-extension-aaa-jdbc".authn,<br>
> > > Extkey[name=EXTENSION_INTERFACE_VERSION_MIN;type=class<br>
> > ><br>
> > java.lang.Integer;uuid=EXTENSION_INTERFACE_VERSION_MIN[2b84fc91-305b-497b-a1d7-d961b9d2ce0b];]=0,<br>
> > > Extkey[name=EXTENSION_CONFIGURATION;type=class<br>
> > ><br>
> > java.util.Properties;uuid=EXTENSION_CONFIGURATION[2d48ab72-f0a1-4312-b4ae-5068a226b0fc];]=***,<br>
> > > Extkey[name=EXTENSION_AUTHOR;type=class<br>
> > ><br>
> > java.lang.String;uuid=EXTENSION_AUTHOR[ef242f7a-2dad-4bc5-9aad-e07018b7fbcc];]=The<br>
> > > oVirt Project, Extkey[name=EXTENSION_INSTANCE_NAME;type=class<br>
> > ><br>
> > java.lang.String;uuid=EXTENSION_INSTANCE_NAME[65c67ff6-aeca-4bd5-a245-8674327f011b];]=internal-authn,<br>
> > > Extkey[name=EXTENSION_BUILD_INTERFACE_VERSION;type=class<br>
> > ><br>
> > java.lang.Integer;uuid=EXTENSION_BUILD_INTERFACE_VERSION[cb479e5a-4b23-46f8-aed3-56a4747a8ab7];]=0,<br>
> > > Extkey[name=EXTENSION_CONFIGURATION_SENSITIVE_KEYS;type=interface<br>
> > ><br>
> > java.util.Collection;uuid=EXTENSION_CONFIGURATION_SENSITIVE_KEYS[a456efa1-73ff-4204-9f9b-ebff01e35263];]=[],<br>
> > > Extkey[name=AAA_AUTHN_CAPABILITIES;type=class<br>
> > ><br>
> > java.lang.Long;uuid=AAA_AUTHN_CAPABILITIES[9d16bee3-10fd-46f2-83f9-3d3c54cf258d];]=44,<br>
> > > Extkey[name=EXTENSION_GLOBAL_CONTEXT;type=class<br>
> > ><br>
> > org.ovirt.engine.api.extensions.ExtMap;uuid=EXTENSION_GLOBAL_CONTEXT[9799e72f-7af6-4cf1-bf08-297bc8903676];]=*skip*,<br>
> > > Extkey[name=EXTENSION_VERSION;type=class<br>
> > ><br>
> > java.lang.String;uuid=EXTENSION_VERSION[fe35f6a8-8239-4bdb-ab1a-af9f779ce68c];]="1.0.1",<br>
> > > Extkey[name=EXTENSION_MANAGER_TRACE_LOG;type=interface<br>
> > ><br>
> > org.slf4j.Logger;uuid=EXTENSION_MANAGER_TRACE_LOG[863db666-3ea7-4751-9695-918a3197ad83];]=org.slf4j.impl.Slf4jLogger(org.ovirt.engine.core.extensions.mgr.ExtensionsManager.trace."ovirt-engine-extension-aaa-jdbc".authn.internal-authn),<br>
> > > Extkey[name=EXTENSION_PROVIDES;type=interface<br>
> > ><br>
> > java.util.Collection;uuid=EXTENSION_PROVIDES[8cf373a6-65b5-4594-b828-0e275087de91];]=[org.ovirt.engine.api.extensions.aaa.Authn],<br>
> > > Extkey[name=EXTENSION_CONFIGURATION_FILE;type=class<br>
> > ><br>
> > java.lang.String;uuid=EXTENSION_CONFIGURATION_FILE[4fb0ffd3-983c-4f3f-98ff-9660bd67af6a];]=/etc/ovirt-engine/extensions.d/internal-authn.properties},<br>
> > > Extkey[name=AAA_AUTHN_USER;type=class<br>
> > ><br>
> > java.lang.String;uuid=AAA_AUTHN_USER[1ceaba26-1bdc-4663-a3c6-5d926f9dd8f0];]=admin,<br>
> > > Extkey[name=EXTENSION_INVOKE_COMMAND;type=class<br>
> > ><br>
> > org.ovirt.engine.api.extensions.ExtUUID;uuid=EXTENSION_INVOKE_COMMAND[485778ab-bede-4f1a-b823-77b262a2f28d];]=AAA_AUTHN_AUTHENTICATE_CREDENTIALS[d9605c75-6b43-4b00-b32c-06bdfa80244c]}<br>
> > > Output:<br>
> > > {Extkey[name=EXTENSION_INVOKE_RESULT;type=class<br>
> > ><br>
> > java.lang.Integer;uuid=EXTENSION_INVOKE_RESULT[0909d91d-8bde-40fb-b6c0-099c772ddd4e];]=2}<br>
> > ><br>
> > > at<br>
> > ><br>
> > org.ovirt.engine.core.extensions.mgr.ExtensionProxy.invoke(ExtensionProxy.java:91)<br>
> > > at<br>
> > ><br>
> > org.ovirt.engine.core.extensions.mgr.ExtensionProxy.invoke(ExtensionProxy.java:109)<br>
> > > at<br>
> > ><br>
> > org.ovirt.engine.core.aaa.filters.BasicAuthenticationFilter.handleCredentials(BasicAuthenticationFilter.java:134)<br>
> > > [aaa.jar:]<br>
> > > at<br>
> > ><br>
> > org.ovirt.engine.core.aaa.filters.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:84)<br>
> > > [aaa.jar:]<br>
> > > at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)<br>
> > > [undertow-servlet.jar:1.1.5.Final]<br>
> > > at<br>
> > ><br>
> > io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)<br>
> > > [undertow-servlet.jar:1.1.5.Final]<br>
> > > at<br>
> > ><br>
> > org.ovirt.engine.core.aaa.filters.SessionValidationFilter.doFilter(SessionValidationFilter.java:77)<br>
> > > [aaa.jar:]<br>
> > > at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)<br>
> > > [undertow-servlet.jar:1.1.5.Final]<br>
> > > at<br>
> > ><br>
> > io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)<br>
> > > [undertow-servlet.jar:1.1.5.Final]<br>
> > > at<br>
> > ><br>
> > org.ovirt.engine.core.aaa.filters.EngineSessionTokenAuthenticationFilter.doFilter(EngineSessionTokenAuthenticationFilter.java:31)<br>
> > > [aaa.jar:]<br>
> > > at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)<br>
> > > [undertow-servlet.jar:1.1.5.Final]<br>
> > > at<br>
> > ><br>
> > io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)<br>
> > > [undertow-servlet.jar:1.1.5.Final]<br>
> > > at<br>
> > ><br>
> > org.ovirt.engine.core.aaa.filters.RestApiSessionValidationFilter.doFilter(RestApiSessionValidationFilter.java:35)<br>
> > > [aaa.jar:]<br>
> > > at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)<br>
> > > [undertow-servlet.jar:1.1.5.Final]<br>
> > > at<br>
> > ><br>
> > io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)<br>
> > > [undertow-servlet.jar:1.1.5.Final]<br>
> > > at<br>
> > ><br>
> > org.ovirt.engine.api.common.security.CSRFProtectionFilter.doFilter(CSRFProtectionFilter.java:111)<br>
> > > [interface-common-jaxrs.jar:]<br>
> > > at<br>
> > ><br>
> > org.ovirt.engine.api.common.security.CSRFProtectionFilter.doFilter(CSRFProtectionFilter.java:102)<br>
> > > [interface-common-jaxrs.jar:]<br>
> > > at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)<br>
> > > [undertow-servlet.jar:1.1.5.Final]<br>
> > > at<br>
> > ><br>
> > io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)<br>
> > > [undertow-servlet.jar:1.1.5.Final]<br>
> > > at<br>
> > ><br>
> > org.ovirt.engine.api.common.security.CORSSupportFilter.doFilter(CORSSupportFilter.java:183)<br>
> > > [interface-common-jaxrs.jar:]<br>
> > > at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)<br>
> > > [undertow-servlet.jar:1.1.5.Final]<br>
> > > at<br>
> > ><br>
> > io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)<br>
> > > [undertow-servlet.jar:1.1.5.Final]<br>
> > > at<br>
> > ><br>
> > io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:85)<br>
> > > [undertow-servlet.jar:1.1.5.Final]<br>
> > > at<br>
> > ><br>
> > io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)<br>
> > > [undertow-servlet.jar:1.1.5.Final]<br>
> > > at<br>
> > ><br>
> > io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)<br>
> > > [undertow-servlet.jar:1.1.5.Final]<br>
> > > at<br>
> > ><br>
> > org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)<br>
> > > at<br>
> > ><br>
> > io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)<br>
> > > [undertow-core.jar:1.1.5.Final]<br>
> > > at<br>
> > ><br>
> > io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)<br>
> > > [undertow-servlet.jar:1.1.5.Final]<br>
> > > at<br>
> > ><br>
> > io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)<br>
> > > [undertow-servlet.jar:1.1.5.Final]<br>
> > > at<br>
> > ><br>
> > io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)<br>
> > > [undertow-core.jar:1.1.5.Final]<br>
> > > at<br>
> > ><br>
> > io.undertow.security.handlers.AuthenticationConstraintHandler.handleRequest(AuthenticationConstraintHandler.java:51)<br>
> > > [undertow-core.jar:1.1.5.Final]<br>
> > > at<br>
> > ><br>
> > io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)<br>
> > > [undertow-core.jar:1.1.5.Final]<br>
> > > at<br>
> > ><br>
> > io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)<br>
> > > [undertow-servlet.jar:1.1.5.Final]<br>
> > > at<br>
> > ><br>
> > io.undertow.servlet.handlers.security.ServletSecurityConstraintHandler.handleRequest(ServletSecurityConstraintHandler.java:56)<br>
> > > [undertow-servlet.jar:1.1.5.Final]<br>
> > > at<br>
> > ><br>
> > io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:58)<br>
> > > [undertow-core.jar:1.1.5.Final]<br>
> > > at<br>
> > ><br>
> > io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:70)<br>
> > > [undertow-servlet.jar:1.1.5.Final]<br>
> > > at<br>
> > ><br>
> > io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76)<br>
> > > [undertow-core.jar:1.1.5.Final]<br>
> > > at<br>
> > ><br>
> > io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)<br>
> > > [undertow-core.jar:1.1.5.Final]<br>
> > > at<br>
> > ><br>
> > org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)<br>
> > > at<br>
> > ><br>
> > io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)<br>
> > > [undertow-core.jar:1.1.5.Final]<br>
> > > at<br>
> > ><br>
> > io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)<br>
> > > [undertow-core.jar:1.1.5.Final]<br>
> > > at<br>
> > ><br>
> > io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:261)<br>
> > > [undertow-servlet.jar:1.1.5.Final]<br>
> > > at<br>
> > ><br>
> > io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:248)<br>
> > > [undertow-servlet.jar:1.1.5.Final]<br>
> > > at<br>
> > ><br>
> > io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:77)<br>
> > > [undertow-servlet.jar:1.1.5.Final]<br>
> > > at<br>
> > ><br>
> > io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:167)<br>
> > > [undertow-servlet.jar:1.1.5.Final]<br>
> > > at io.undertow.server.Connectors.executeRootHandler(Connectors.java:199)<br>
> > > [undertow-core.jar:1.1.5.Final]<br>
> > > at<br>
> > io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:766)<br>
> > > [undertow-core.jar:1.1.5.Final]<br>
> > > at<br>
> > ><br>
> > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)<br>
> > > [rt.jar:1.7.0_91]<br>
> > > at<br>
> > ><br>
> > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)<br>
> > > [rt.jar:1.7.0_91]<br>
> > > at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_91]<br>
> > ><br>
> > ><br>
> > ><br>
> > > On Wed, Nov 18, 2015 at 6:05 PM, Martin Perina <<a href="mailto:mperina@redhat.com">mperina@redhat.com</a>><br>
> > wrote:<br>
> > ><br>
> > > > Hi,<br>
> > > ><br>
> > > > could you please take a look what versions do you have installed?<br>
> > > ><br>
> > > > rpm -qi ovirt-engine<br>
> > > > rpm -qi ovirt-engine-extension-aaa-jdbc<br>
> > > ><br>
> > > > Could you please also send your server.log and engine.log?<br>
> > > ><br>
> > > > Thanks<br>
> > > ><br>
> > > > Martin Perina<br>
> > > ><br>
> > > ><br>
> > > > ----- Original Message -----<br>
> > > > > From: "Maksim Naumov" <<a href="mailto:maksim.naumov@hitmeister.de">maksim.naumov@hitmeister.de</a>><br>
> > > > > To: "users" <<a href="mailto:users@ovirt.org">users@ovirt.org</a>><br>
> > > > > Sent: Wednesday, November 18, 2015 5:56:53 PM<br>
> > > > > Subject: [ovirt-users] [3.6] API - Internal Server Error<br>
> > > > ><br>
> > > > > After some time, API stopped work.<br>
> > > > > When I try to run any request I see only "Internal Server Error" and<br>
> > the<br>
> > > > log<br>
> > > > > like this:<br>
> > > > ><br>
> > > > > 2015-11-18 17:53:05,634 ERROR<br>
> > > > > [org.ovirt.engine.extension.aaa.jdbc.binding.api.AuthnExtension]<br>
> > (default<br>
> > > > > task-314) [] Unexpected Exception invoking:<br>
> > > > ><br>
> > AAA_AUTHN_AUTHENTICATE_CREDENTIALS[d9605c75-6b43-4b00-b32c-06bdfa80244c]<br>
> > > > ><br>
> > > > > How can fix it?<br>
> > > > ><br>
> > > > > --<br>
> > > > > Maksim Naumov<br>
> > > > > Hitmeister GmbH<br>
> > > > > Softwareentwickler<br>
> > > > ><br>
> > > > > Habsburgerring 2<br>
> > > > > 50674 Köln<br>
> > > > ><br>
> > > > > E: <a href="mailto:maksim.naumov@hitmeister.de">maksim.naumov@hitmeister.de</a><br>
> > > > > <a href="http://www.hitmeister.de" rel="noreferrer" target="_blank">www.hitmeister.de</a><br>
> > > > ><br>
> > > > > HRB 59046, Amtsgericht Köln<br>
> > > > > Geschäftsführer: Dr. Gerald Schönbucher<br>
> > > > ><br>
> > > > > _______________________________________________<br>
> > > > > Users mailing list<br>
> > > > > <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
> > > > > <a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
> > > > ><br>
> > > ><br>
> > ><br>
> > ><br>
> > ><br>
> > > --<br>
> > > Maksim Naumov<br>
> > > Hitmeister GmbH<br>
> > > Softwareentwickler<br>
> > ><br>
> > > Habsburgerring 2<br>
> > > 50674 Köln<br>
> > ><br>
> > > E: <a href="mailto:maksim.naumov@hitmeister.de">maksim.naumov@hitmeister.de</a><br>
> > > <a href="http://www.hitmeister.de" rel="noreferrer" target="_blank">www.hitmeister.de</a><br>
> > ><br>
> > > HRB 59046, Amtsgericht Köln<br>
> > > Geschäftsführer: Dr. Gerald Schönbucher<br>
> > ><br>
> ><br>
><br>
><br>
><br>
> --<br>
> Maksim Naumov<br>
> Hitmeister GmbH<br>
> Softwareentwickler<br>
><br>
> Habsburgerring 2<br>
> 50674 Köln<br>
><br>
> E: <a href="mailto:maksim.naumov@hitmeister.de">maksim.naumov@hitmeister.de</a><br>
> <a href="http://www.hitmeister.de" rel="noreferrer" target="_blank">www.hitmeister.de</a><br>
><br>
> HRB 59046, Amtsgericht Köln<br>
> Geschäftsführer: Dr. Gerald Schönbucher<br>
><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr">Maksim Naumov<div>Hitmeister GmbH </div><div>Softwareentwickler</div><div><br></div><div>Habsburgerring 2</div><div>50674 Köln</div><div><br></div><div>E: <a href="mailto:maksim.naumov@hitmeister.de" target="_blank">maksim.naumov@hitmeister.de</a></div><div><a href="http://www.hitmeister.de" target="_blank">www.hitmeister.de</a> </div><div><br></div><div>HRB 59046, Amtsgericht Köln</div><div>Geschäftsführer: Dr. Gerald Schönbucher<br></div></div></div></div></div>
</div>