<div dir="ltr">Here is my versions:<div><br></div><div><div>Name        : ovirt-engine</div><div>Version     : 3.6.0.3</div><div>Release     : 1.el7.centos</div></div><div><br></div><div><div>Name        : ovirt-engine-extension-aaa-jdbc</div><div>Version     : 1.0.1</div><div>Release     : 1.el7</div></div><div><br></div><div>About the log:</div><div><br></div><div>engile.log contains only one line related to this error, you can see it in the first message. But server.log has a bit more.</div><div><br></div><div>Currently, I do the following:</div><div><br></div><div>I am running the script which is asking for API every 10 sec for a list of current running VMs. </div><div>After some hours (1-2 hours) the script reporting that there are no VMs. </div><div>I went to the API endpoint by myself and everything that I was able to see is Internal error. </div><div>I stopped the script and in a couple of minutes API worked again. </div><div><br></div><div>Thank you</div><div><br></div><div>SERVER.LOG</div><div><br></div><div><div><font face="monospace, monospace">2015-11-18 18:13:40,833 ERROR [io.undertow.request] (default task-291) UT005023: Exception handling request to /api/vms: Class: class org.ovirt.engine.core.extensions.mgr.ExtensionInvokeCommandFailedException</font></div><div><font face="monospace, monospace">Input:</font></div><div><font face="monospace, monospace">{Extkey[name=AAA_AUTHN_CREDENTIALS;type=class java.lang.String;uuid=AAA_AUTHN_CREDENTIALS[03b96485-4bb5-4592-8167-810a5c909706];]=***, Extkey[name=EXTENSION_INVOKE_CONTEXT;type=class org.ovirt.engine.api.extensions.ExtMap;uuid=EXTENSION_INVOKE_CONTEXT[886d2ebb-312a-49ae-9cc3-e1f849834b7d];]={Extkey[name=EXTENSION_INTERFACE_VERSION_MAX;type=class java.lang.Integer;uuid=EXTENSION_INTERFACE_VERSION_MAX[f4cff49f-2717-4901-8ee9-df362446e3e7];]=0, Extkey[name=EXTENSION_LICENSE;type=class java.lang.String;uuid=EXTENSION_LICENSE[8a61ad65-054c-4e31-9c6d-1ca4d60a4c18];]=ASL 2.0, Extkey[name=EXTENSION_NOTES;type=class java.lang.String;uuid=EXTENSION_NOTES[2da5ad7e-185a-4584-aaff-97f66978e4ea];]=Display name: &quot;ovirt-engine-extension-aaa-jdbc&quot;, Extkey[name=EXTENSION_HOME_URL;type=class java.lang.String;uuid=EXTENSION_HOME_URL[4ad7a2f4-f969-42d4-b399-72d192e18304];]=<a href="http://www.ovirt.org">http://www.ovirt.org</a>, Extkey[name=EXTENSION_LOCALE;type=class java.lang.String;uuid=EXTENSION_LOCALE[0780b112-0ce0-404a-b85e-8765d778bb29];]=en_US, Extkey[name=EXTENSION_NAME;type=class java.lang.String;uuid=EXTENSION_NAME[651381d3-f54f-4547-bf28-b0b01a103184];]=&quot;ovirt-engine-extension-aaa-jdbc&quot;.authn, Extkey[name=EXTENSION_INTERFACE_VERSION_MIN;type=class java.lang.Integer;uuid=EXTENSION_INTERFACE_VERSION_MIN[2b84fc91-305b-497b-a1d7-d961b9d2ce0b];]=0, Extkey[name=EXTENSION_CONFIGURATION;type=class java.util.Properties;uuid=EXTENSION_CONFIGURATION[2d48ab72-f0a1-4312-b4ae-5068a226b0fc];]=***, Extkey[name=EXTENSION_AUTHOR;type=class java.lang.String;uuid=EXTENSION_AUTHOR[ef242f7a-2dad-4bc5-9aad-e07018b7fbcc];]=The oVirt Project, Extkey[name=EXTENSION_INSTANCE_NAME;type=class java.lang.String;uuid=EXTENSION_INSTANCE_NAME[65c67ff6-aeca-4bd5-a245-8674327f011b];]=internal-authn, Extkey[name=EXTENSION_BUILD_INTERFACE_VERSION;type=class java.lang.Integer;uuid=EXTENSION_BUILD_INTERFACE_VERSION[cb479e5a-4b23-46f8-aed3-56a4747a8ab7];]=0, Extkey[name=EXTENSION_CONFIGURATION_SENSITIVE_KEYS;type=interface java.util.Collection;uuid=EXTENSION_CONFIGURATION_SENSITIVE_KEYS[a456efa1-73ff-4204-9f9b-ebff01e35263];]=[], Extkey[name=AAA_AUTHN_CAPABILITIES;type=class java.lang.Long;uuid=AAA_AUTHN_CAPABILITIES[9d16bee3-10fd-46f2-83f9-3d3c54cf258d];]=44, Extkey[name=EXTENSION_GLOBAL_CONTEXT;type=class org.ovirt.engine.api.extensions.ExtMap;uuid=EXTENSION_GLOBAL_CONTEXT[9799e72f-7af6-4cf1-bf08-297bc8903676];]=*skip*, Extkey[name=EXTENSION_VERSION;type=class java.lang.String;uuid=EXTENSION_VERSION[fe35f6a8-8239-4bdb-ab1a-af9f779ce68c];]=&quot;1.0.1&quot;, Extkey[name=EXTENSION_MANAGER_TRACE_LOG;type=interface 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.&quot;ovirt-engine-extension-aaa-jdbc&quot;.authn.internal-authn), Extkey[name=EXTENSION_PROVIDES;type=interface java.util.Collection;uuid=EXTENSION_PROVIDES[8cf373a6-65b5-4594-b828-0e275087de91];]=[org.ovirt.engine.api.extensions.aaa.Authn], Extkey[name=EXTENSION_CONFIGURATION_FILE;type=class java.lang.String;uuid=EXTENSION_CONFIGURATION_FILE[4fb0ffd3-983c-4f3f-98ff-9660bd67af6a];]=/etc/ovirt-engine/extensions.d/internal-authn.properties}, Extkey[name=AAA_AUTHN_USER;type=class java.lang.String;uuid=AAA_AUTHN_USER[1ceaba26-1bdc-4663-a3c6-5d926f9dd8f0];]=admin, Extkey[name=EXTENSION_INVOKE_COMMAND;type=class org.ovirt.engine.api.extensions.ExtUUID;uuid=EXTENSION_INVOKE_COMMAND[485778ab-bede-4f1a-b823-77b262a2f28d];]=AAA_AUTHN_AUTHENTICATE_CREDENTIALS[d9605c75-6b43-4b00-b32c-06bdfa80244c]}</font></div><div><font face="monospace, monospace">Output:</font></div><div><font face="monospace, monospace">{Extkey[name=EXTENSION_INVOKE_RESULT;type=class java.lang.Integer;uuid=EXTENSION_INVOKE_RESULT[0909d91d-8bde-40fb-b6c0-099c772ddd4e];]=2}</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at org.ovirt.engine.core.extensions.mgr.ExtensionProxy.invoke(ExtensionProxy.java:91)</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at org.ovirt.engine.core.extensions.mgr.ExtensionProxy.invoke(ExtensionProxy.java:109)</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at org.ovirt.engine.core.aaa.filters.BasicAuthenticationFilter.handleCredentials(BasicAuthenticationFilter.java:134) [aaa.jar:]</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at org.ovirt.engine.core.aaa.filters.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:84) [aaa.jar:]</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60) [undertow-servlet.jar:1.1.5.Final]</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132) [undertow-servlet.jar:1.1.5.Final]</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at org.ovirt.engine.core.aaa.filters.SessionValidationFilter.doFilter(SessionValidationFilter.java:77) [aaa.jar:]</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60) [undertow-servlet.jar:1.1.5.Final]</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132) [undertow-servlet.jar:1.1.5.Final]</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at org.ovirt.engine.core.aaa.filters.EngineSessionTokenAuthenticationFilter.doFilter(EngineSessionTokenAuthenticationFilter.java:31) [aaa.jar:]</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60) [undertow-servlet.jar:1.1.5.Final]</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132) [undertow-servlet.jar:1.1.5.Final]</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at org.ovirt.engine.core.aaa.filters.RestApiSessionValidationFilter.doFilter(RestApiSessionValidationFilter.java:35) [aaa.jar:]</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60) [undertow-servlet.jar:1.1.5.Final]</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132) [undertow-servlet.jar:1.1.5.Final]</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at org.ovirt.engine.api.common.security.CSRFProtectionFilter.doFilter(CSRFProtectionFilter.java:111) [interface-common-jaxrs.jar:]</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at org.ovirt.engine.api.common.security.CSRFProtectionFilter.doFilter(CSRFProtectionFilter.java:102) [interface-common-jaxrs.jar:]</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60) [undertow-servlet.jar:1.1.5.Final]</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132) [undertow-servlet.jar:1.1.5.Final]</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at org.ovirt.engine.api.common.security.CORSSupportFilter.doFilter(CORSSupportFilter.java:183) [interface-common-jaxrs.jar:]</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60) [undertow-servlet.jar:1.1.5.Final]</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132) [undertow-servlet.jar:1.1.5.Final]</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:85) [undertow-servlet.jar:1.1.5.Final]</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62) [undertow-servlet.jar:1.1.5.Final]</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) [undertow-servlet.jar:1.1.5.Final]</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core.jar:1.1.5.Final]</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131) [undertow-servlet.jar:1.1.5.Final]</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57) [undertow-servlet.jar:1.1.5.Final]</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core.jar:1.1.5.Final]</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at io.undertow.security.handlers.AuthenticationConstraintHandler.handleRequest(AuthenticationConstraintHandler.java:51) [undertow-core.jar:1.1.5.Final]</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46) [undertow-core.jar:1.1.5.Final]</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64) [undertow-servlet.jar:1.1.5.Final]</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at io.undertow.servlet.handlers.security.ServletSecurityConstraintHandler.handleRequest(ServletSecurityConstraintHandler.java:56) [undertow-servlet.jar:1.1.5.Final]</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:58) [undertow-core.jar:1.1.5.Final]</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:70) [undertow-servlet.jar:1.1.5.Final]</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76) [undertow-core.jar:1.1.5.Final]</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core.jar:1.1.5.Final]</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core.jar:1.1.5.Final]</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core.jar:1.1.5.Final]</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:261) [undertow-servlet.jar:1.1.5.Final]</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:248) [undertow-servlet.jar:1.1.5.Final]</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:77) [undertow-servlet.jar:1.1.5.Final]</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:167) [undertow-servlet.jar:1.1.5.Final]</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at io.undertow.server.Connectors.executeRootHandler(Connectors.java:199) [undertow-core.jar:1.1.5.Final]</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:766) [undertow-core.jar:1.1.5.Final]</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_91]</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_91]</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_91]</font></div></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 18, 2015 at 6:05 PM, Martin Perina <span dir="ltr">&lt;<a href="mailto:mperina@redhat.com" target="_blank">mperina@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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>
<span class="HOEnZb"><font color="#888888"><br>
Martin Perina<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
----- Original Message -----<br>
&gt; From: &quot;Maksim Naumov&quot; &lt;<a href="mailto:maksim.naumov@hitmeister.de">maksim.naumov@hitmeister.de</a>&gt;<br>
&gt; To: &quot;users&quot; &lt;<a href="mailto:users@ovirt.org">users@ovirt.org</a>&gt;<br>
&gt; Sent: Wednesday, November 18, 2015 5:56:53 PM<br>
&gt; Subject: [ovirt-users] [3.6] API - Internal Server Error<br>
&gt;<br>
&gt; After some time, API stopped work.<br>
&gt; When I try to run any request I see only &quot;Internal Server Error&quot; and the log<br>
&gt; like this:<br>
&gt;<br>
&gt; 2015-11-18 17:53:05,634 ERROR<br>
&gt; [org.ovirt.engine.extension.aaa.jdbc.binding.api.AuthnExtension] (default<br>
&gt; task-314) [] Unexpected Exception invoking:<br>
&gt; AAA_AUTHN_AUTHENTICATE_CREDENTIALS[d9605c75-6b43-4b00-b32c-06bdfa80244c]<br>
&gt;<br>
&gt; How can fix it?<br>
&gt;<br>
&gt; --<br>
&gt; Maksim Naumov<br>
&gt; Hitmeister GmbH<br>
&gt; Softwareentwickler<br>
&gt;<br>
&gt; Habsburgerring 2<br>
&gt; 50674 Köln<br>
&gt;<br>
&gt; E: <a href="mailto:maksim.naumov@hitmeister.de">maksim.naumov@hitmeister.de</a><br>
&gt; <a href="http://www.hitmeister.de" rel="noreferrer" target="_blank">www.hitmeister.de</a><br>
&gt;<br>
&gt; HRB 59046, Amtsgericht Köln<br>
&gt; Geschäftsführer: Dr. Gerald Schönbucher<br>
&gt;<br>
</div></div><div class="HOEnZb"><div class="h5">&gt; _______________________________________________<br>
&gt; Users mailing list<br>
&gt; <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
&gt; <a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
&gt;<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>