Re: [ovirt-users] [3.6] API - Internal Server Error

2015-11-20 Thread Maksim Naumov
Thank you. Hope we will have the fix soon.

On Fri, Nov 20, 2015 at 11:45 AM, Martin Perina <mper...@redhat.com> wrote:

> Hi,
>
> database connections in aaa-jdbc extension are not closed properly,
> I've created following bug [1] to track this issue.
>
> Thanks
>
> Martin Perina
>
> [1] https://bugzilla.redhat.com/show_bug.cgi?id=1283936
>
> - Original Message -
> > From: "Maksim Naumov" <maksim.nau...@hitmeister.de>
> > To: "Martin Perina" <mper...@redhat.com>
> > Cc: "users" <users@ovirt.org>
> > Sent: Thursday, November 19, 2015 3:52:57 PM
> > Subject: Re: [ovirt-users] [3.6] API - Internal Server Error
> >
> > Here is the new log entries:
> >
> >
> > 2015-11-19 15:51:05,453 ERROR
> > [org.ovirt.engine.extension.aaa.jdbc.binding.api.AuthnExtension] (default
> > task-285) [] Unexpected Exception invoking:
> > AAA_AUTHN_AUTHENTICATE_CREDENTIALS[d9605c75-6b43-4b00-b32c-06bdfa80244c]
> > 2015-11-19 15:51:05,453 DEBUG
> > [org.ovirt.engine.extension.aaa.jdbc.binding.api.AuthnExtension] (default
> > task-285) [] Exception:: org.postgresql.util.PSQLException: FATAL:
> > remaining connection slots are reserved for non-replication superuser
> > connections
> > at
> >
> org.postgresql.core.v3.ConnectionFactoryImpl.readStartupMessages(ConnectionFactoryImpl.java:471)
> > [postgresql.jar:]
> > at
> >
> org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:112)
> > [postgresql.jar:]
> > at
> >
> org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:66)
> > [postgresql.jar:]
> > at
> >
> org.postgresql.jdbc2.AbstractJdbc2Connection.(AbstractJdbc2Connection.java:125)
> > [postgresql.jar:]
> > at
> >
> org.postgresql.jdbc3.AbstractJdbc3Connection.(AbstractJdbc3Connection.java:30)
> > [postgresql.jar:]
> > at
> >
> org.postgresql.jdbc3g.AbstractJdbc3gConnection.(AbstractJdbc3gConnection.java:22)
> > [postgresql.jar:]
> > at
> >
> org.postgresql.jdbc4.AbstractJdbc4Connection.(AbstractJdbc4Connection.java:32)
> > [postgresql.jar:]
> > at org.postgresql.jdbc4.Jdbc4Connection.(Jdbc4Connection.java:24)
> > [postgresql.jar:]
> > at org.postgresql.Driver.makeConnection(Driver.java:393)
> [postgresql.jar:]
> > at org.postgresql.Driver.connect(Driver.java:267) [postgresql.jar:]
> > at java.sql.DriverManager.getConnection(DriverManager.java:571)
> > [rt.jar:1.7.0_91]
> > at java.sql.DriverManager.getConnection(DriverManager.java:215)
> > [rt.jar:1.7.0_91]
> > at
> >
> org.ovirt.engine.extension.aaa.jdbc.core.datasource.DataSourceProvider$1.invoke(DataSourceProvider.java:86)
> > [ovirt-engine-extension-aaa-jdbc.jar:]
> > at com.sun.proxy.$Proxy162.getConnection(Unknown Source)
> > at
> >
> org.ovirt.engine.extension.aaa.jdbc.core.datasource.SchemaAwareDataSource.getConnection(SchemaAwareDataSource.java:40)
> > [ovirt-engine-extension-aaa-jdbc.jar:]
> > at
> >
> org.ovirt.engine.extension.aaa.jdbc.core.datasource.Sql$Query.asResults(Sql.java:298)
> > [ovirt-engine-extension-aaa-jdbc.jar:]
> > at
> >
> org.ovirt.engine.extension.aaa.jdbc.core.datasource.Sql$Query.asResults(Sql.java:285)
> > [ovirt-engine-extension-aaa-jdbc.jar:]
> > at org.ovirt.engine.extension.aaa.jdbc.core.Schema.get(Schema.java:743)
> > [ovirt-engine-extension-aaa-jdbc.jar:]
> > at org.ovirt.engine.extension.aaa.jdbc.core.Tasks.execute(Tasks.java:49)
> > [ovirt-engine-extension-aaa-jdbc.jar:]
> > at
> >
> org.ovirt.engine.extension.aaa.jdbc.binding.api.AuthnExtension.invoke(AuthnExtension.java:50)
> > [ovirt-engine-extension-aaa-jdbc.jar:]
> > at
> >
> org.ovirt.engine.core.extensions.mgr.ExtensionProxy.invoke(ExtensionProxy.java:49)
> > at
> >
> org.ovirt.engine.core.extensions.mgr.ExtensionProxy.invoke(ExtensionProxy.java:73)
> > at
> >
> org.ovirt.engine.core.extensions.mgr.ExtensionProxy.invoke(ExtensionProxy.java:109)
> > at
> >
> org.ovirt.engine.core.aaa.filters.BasicAuthenticationFilter.handleCredentials(BasicAuthenticationFilter.java:134)
> > at
> >
> org.ovirt.engine.core.aaa.filters.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:84)
> > at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
> > at
> >
> io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
> > at
> >
> org.ovirt.engine.core.aaa.filters.SessionValidationFilter.doFilter(SessionValidationFilter.j

Re: [ovirt-users] [3.6] API - Internal Server Error

2015-11-20 Thread Martin Perina
Hi,

database connections in aaa-jdbc extension are not closed properly,
I've created following bug [1] to track this issue.

Thanks

Martin Perina

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1283936

- Original Message -
> From: "Maksim Naumov" <maksim.nau...@hitmeister.de>
> To: "Martin Perina" <mper...@redhat.com>
> Cc: "users" <users@ovirt.org>
> Sent: Thursday, November 19, 2015 3:52:57 PM
> Subject: Re: [ovirt-users] [3.6] API - Internal Server Error
> 
> Here is the new log entries:
> 
> 
> 2015-11-19 15:51:05,453 ERROR
> [org.ovirt.engine.extension.aaa.jdbc.binding.api.AuthnExtension] (default
> task-285) [] Unexpected Exception invoking:
> AAA_AUTHN_AUTHENTICATE_CREDENTIALS[d9605c75-6b43-4b00-b32c-06bdfa80244c]
> 2015-11-19 15:51:05,453 DEBUG
> [org.ovirt.engine.extension.aaa.jdbc.binding.api.AuthnExtension] (default
> task-285) [] Exception:: org.postgresql.util.PSQLException: FATAL:
> remaining connection slots are reserved for non-replication superuser
> connections
> at
> org.postgresql.core.v3.ConnectionFactoryImpl.readStartupMessages(ConnectionFactoryImpl.java:471)
> [postgresql.jar:]
> at
> org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:112)
> [postgresql.jar:]
> at
> org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:66)
> [postgresql.jar:]
> at
> org.postgresql.jdbc2.AbstractJdbc2Connection.(AbstractJdbc2Connection.java:125)
> [postgresql.jar:]
> at
> org.postgresql.jdbc3.AbstractJdbc3Connection.(AbstractJdbc3Connection.java:30)
> [postgresql.jar:]
> at
> org.postgresql.jdbc3g.AbstractJdbc3gConnection.(AbstractJdbc3gConnection.java:22)
> [postgresql.jar:]
> at
> org.postgresql.jdbc4.AbstractJdbc4Connection.(AbstractJdbc4Connection.java:32)
> [postgresql.jar:]
> at org.postgresql.jdbc4.Jdbc4Connection.(Jdbc4Connection.java:24)
> [postgresql.jar:]
> at org.postgresql.Driver.makeConnection(Driver.java:393) [postgresql.jar:]
> at org.postgresql.Driver.connect(Driver.java:267) [postgresql.jar:]
> at java.sql.DriverManager.getConnection(DriverManager.java:571)
> [rt.jar:1.7.0_91]
> at java.sql.DriverManager.getConnection(DriverManager.java:215)
> [rt.jar:1.7.0_91]
> at
> org.ovirt.engine.extension.aaa.jdbc.core.datasource.DataSourceProvider$1.invoke(DataSourceProvider.java:86)
> [ovirt-engine-extension-aaa-jdbc.jar:]
> at com.sun.proxy.$Proxy162.getConnection(Unknown Source)
> at
> org.ovirt.engine.extension.aaa.jdbc.core.datasource.SchemaAwareDataSource.getConnection(SchemaAwareDataSource.java:40)
> [ovirt-engine-extension-aaa-jdbc.jar:]
> at
> org.ovirt.engine.extension.aaa.jdbc.core.datasource.Sql$Query.asResults(Sql.java:298)
> [ovirt-engine-extension-aaa-jdbc.jar:]
> at
> org.ovirt.engine.extension.aaa.jdbc.core.datasource.Sql$Query.asResults(Sql.java:285)
> [ovirt-engine-extension-aaa-jdbc.jar:]
> at org.ovirt.engine.extension.aaa.jdbc.core.Schema.get(Schema.java:743)
> [ovirt-engine-extension-aaa-jdbc.jar:]
> at org.ovirt.engine.extension.aaa.jdbc.core.Tasks.execute(Tasks.java:49)
> [ovirt-engine-extension-aaa-jdbc.jar:]
> at
> org.ovirt.engine.extension.aaa.jdbc.binding.api.AuthnExtension.invoke(AuthnExtension.java:50)
> [ovirt-engine-extension-aaa-jdbc.jar:]
> at
> org.ovirt.engine.core.extensions.mgr.ExtensionProxy.invoke(ExtensionProxy.java:49)
> at
> org.ovirt.engine.core.extensions.mgr.ExtensionProxy.invoke(ExtensionProxy.java:73)
> at
> org.ovirt.engine.core.extensions.mgr.ExtensionProxy.invoke(ExtensionProxy.java:109)
> at
> org.ovirt.engine.core.aaa.filters.BasicAuthenticationFilter.handleCredentials(BasicAuthenticationFilter.java:134)
> at
> org.ovirt.engine.core.aaa.filters.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:84)
> at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
> at
> io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
> at
> org.ovirt.engine.core.aaa.filters.SessionValidationFilter.doFilter(SessionValidationFilter.java:77)
> at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
> at
> io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
> at
> org.ovirt.engine.core.aaa.filters.EngineSessionTokenAuthenticationFilter.doFilter(EngineSessionTokenAuthenticationFilter.java:31)
> at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
> at
> io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
> at
> org.ovirt.engine.core.aaa.filters.RestApiSessionValidationFilter.doFilter(RestApiSessionValidationFilter.java:35)
> at io.undertow.servlet.core.ManagedFilter.doFilter(Man

Re: [ovirt-users] [3.6] API - Internal Server Error

2015-11-19 Thread Maksim Naumov
)
at
io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
at
org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at
io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)
at
io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at
io.undertow.security.handlers.AuthenticationConstraintHandler.handleRequest(AuthenticationConstraintHandler.java:51)
at
io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
at
io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
at
io.undertow.servlet.handlers.security.ServletSecurityConstraintHandler.handleRequest(ServletSecurityConstraintHandler.java:56)
at
io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:58)
at
io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:70)
at
io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76)
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at
org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at
io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:261)
at
io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:248)
at
io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:77)
at
io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:167)
at io.undertow.server.Connectors.executeRootHandler(Connectors.java:199)
at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:766)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[rt.jar:1.7.0_91]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_91]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_91]

On Wed, Nov 18, 2015 at 7:51 PM, Martin Perina <mper...@redhat.com> wrote:

> Hi,
>
> I'm sorry, but I'm not able to find out the cause. Could you please
> enable debug log for aaa-jdbc extension using following steps and
> send me logs again?
>
> 1. Edit file
> /usr/share/ovirt-engine/share/ovirt-engine/services/ovirt-engine/
> ovirt-engine.xml.in
>
> 2. Locate line that contains following comment:
>
>  
>
>and append following lines:
>
>  
> 
>   
>
> 3. Restart ovirt-engine service:
>
>EL7/Fedora22:
>  systemctl restart ovirt-engine
>
>EL6:
>  service ovirt-engine restart
>
>
> Thanks
>
> Martin Perina
>
>
> - Original Message -
> > From: "Maksim Naumov" <maksim.nau...@hitmeister.de>
> > To: "Martin Perina" <mper...@redhat.com>
> > Cc: "users" <users@ovirt.org>
> > Sent: Wednesday, November 18, 2015 6:15:35 PM
> > Subject: Re: [ovirt-users] [3.6] API - Internal Server Error
> >
> > Here is my versions:
> >
> > Name: ovirt-engine
> > Version : 3.6.0.3
> > Release : 1.el7.centos
> >
> > Name: ovirt-engine-extension-aaa-jdbc
> > Version : 1.0.1
> > Release : 1.el7
> >
> > About the log:
> >
> > 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.
> >
> > Currently, I do the following:
> >
> > I am running the script which is asking for API every 10 sec for a list
> of
> > current running VMs.
> > After some hours (1-2 hours) the script reporting that there are no VMs.
> > I went to the API endpoint by myself and everything that I was able to
> see
> > is Internal error.
> > I stopped the script and in a couple of minutes API worked again.
> >
> > Thank you
> >
> > SERVER.LOG
> >
> > 2015-11-18 18:13:40,833 ERROR [io.undertow.request] (default task-291)
> > UT005023: Exception handling request to /api/vms: Class: class
>

[ovirt-users] [3.6] API - Internal Server Error

2015-11-18 Thread Maksim Naumov
After some time, API stopped work.
When I try to run any request I see only "Internal Server Error" and the
log like this:

2015-11-18 17:53:05,634 ERROR
[org.ovirt.engine.extension.aaa.jdbc.binding.api.AuthnExtension] (default
task-314) [] Unexpected Exception invoking:
AAA_AUTHN_AUTHENTICATE_CREDENTIALS[d9605c75-6b43-4b00-b32c-06bdfa80244c]

How can fix it?

-- 
Maksim Naumov
Hitmeister GmbH
Softwareentwickler

Habsburgerring 2
50674 Köln

E: maksim.nau...@hitmeister.de
www.hitmeister.de

HRB 59046, Amtsgericht Köln
Geschäftsführer: Dr. Gerald Schönbucher
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [3.6] API - Internal Server Error

2015-11-18 Thread Maksim Naumov
ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:261)
[undertow-servlet.jar:1.1.5.Final]
at
io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:248)
[undertow-servlet.jar:1.1.5.Final]
at
io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:77)
[undertow-servlet.jar:1.1.5.Final]
at
io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:167)
[undertow-servlet.jar:1.1.5.Final]
at io.undertow.server.Connectors.executeRootHandler(Connectors.java:199)
[undertow-core.jar:1.1.5.Final]
at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:766)
[undertow-core.jar:1.1.5.Final]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[rt.jar:1.7.0_91]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_91]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_91]



On Wed, Nov 18, 2015 at 6:05 PM, Martin Perina <mper...@redhat.com> wrote:

> Hi,
>
> could you please take a look what versions do you have installed?
>
>   rpm -qi ovirt-engine
>   rpm -qi ovirt-engine-extension-aaa-jdbc
>
> Could you please also send your server.log and engine.log?
>
> Thanks
>
> Martin Perina
>
>
> - Original Message -
> > From: "Maksim Naumov" <maksim.nau...@hitmeister.de>
> > To: "users" <users@ovirt.org>
> > Sent: Wednesday, November 18, 2015 5:56:53 PM
> > Subject: [ovirt-users] [3.6] API - Internal Server Error
> >
> > After some time, API stopped work.
> > When I try to run any request I see only "Internal Server Error" and the
> log
> > like this:
> >
> > 2015-11-18 17:53:05,634 ERROR
> > [org.ovirt.engine.extension.aaa.jdbc.binding.api.AuthnExtension] (default
> > task-314) [] Unexpected Exception invoking:
> > AAA_AUTHN_AUTHENTICATE_CREDENTIALS[d9605c75-6b43-4b00-b32c-06bdfa80244c]
> >
> > How can fix it?
> >
> > --
> > Maksim Naumov
> > Hitmeister GmbH
> > Softwareentwickler
> >
> > Habsburgerring 2
> > 50674 Köln
> >
> > E: maksim.nau...@hitmeister.de
> > www.hitmeister.de
> >
> > HRB 59046, Amtsgericht Köln
> > Geschäftsführer: Dr. Gerald Schönbucher
> >
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> >
>



-- 
Maksim Naumov
Hitmeister GmbH
Softwareentwickler

Habsburgerring 2
50674 Köln

E: maksim.nau...@hitmeister.de
www.hitmeister.de

HRB 59046, Amtsgericht Köln
Geschäftsführer: Dr. Gerald Schönbucher
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [3.6] API - Internal Server Error

2015-11-18 Thread Martin Perina
Hi,

could you please take a look what versions do you have installed?

  rpm -qi ovirt-engine
  rpm -qi ovirt-engine-extension-aaa-jdbc

Could you please also send your server.log and engine.log?

Thanks

Martin Perina


- Original Message -
> From: "Maksim Naumov" <maksim.nau...@hitmeister.de>
> To: "users" <users@ovirt.org>
> Sent: Wednesday, November 18, 2015 5:56:53 PM
> Subject: [ovirt-users] [3.6] API - Internal Server Error
> 
> After some time, API stopped work.
> When I try to run any request I see only "Internal Server Error" and the log
> like this:
> 
> 2015-11-18 17:53:05,634 ERROR
> [org.ovirt.engine.extension.aaa.jdbc.binding.api.AuthnExtension] (default
> task-314) [] Unexpected Exception invoking:
> AAA_AUTHN_AUTHENTICATE_CREDENTIALS[d9605c75-6b43-4b00-b32c-06bdfa80244c]
> 
> How can fix it?
> 
> --
> Maksim Naumov
> Hitmeister GmbH
> Softwareentwickler
> 
> Habsburgerring 2
> 50674 Köln
> 
> E: maksim.nau...@hitmeister.de
> www.hitmeister.de
> 
> HRB 59046, Amtsgericht Köln
> Geschäftsführer: Dr. Gerald Schönbucher
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [3.6] API - Internal Server Error

2015-11-18 Thread Ondra Machacek

Can you send debug log please?

On 11/18/2015 05:56 PM, Maksim Naumov wrote:

After some time, API stopped work.
When I try to run any request I see only "Internal Server Error" and 
the log like this:


2015-11-18 17:53:05,634 ERROR 
[org.ovirt.engine.extension.aaa.jdbc.binding.api.AuthnExtension] 
(default task-314) [] Unexpected Exception invoking: 
AAA_AUTHN_AUTHENTICATE_CREDENTIALS[d9605c75-6b43-4b00-b32c-06bdfa80244c]


How can fix it?

--
Maksim Naumov
Hitmeister GmbH
Softwareentwickler

Habsburgerring 2
50674 Köln

E: maksim.nau...@hitmeister.de 
www.hitmeister.de 

HRB 59046, Amtsgericht Köln
Geschäftsführer: Dr. Gerald Schönbucher


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [3.6] API - Internal Server Error

2015-11-18 Thread Martin Perina
Hi,

I'm sorry, but I'm not able to find out the cause. Could you please
enable debug log for aaa-jdbc extension using following steps and
send me logs again?

1. Edit file 
/usr/share/ovirt-engine/share/ovirt-engine/services/ovirt-engine/ovirt-engine.xml.in

2. Locate line that contains following comment:

 

   and append following lines:

 

  

3. Restart ovirt-engine service:

   EL7/Fedora22:
 systemctl restart ovirt-engine

   EL6:
 service ovirt-engine restart


Thanks

Martin Perina


- Original Message -
> From: "Maksim Naumov" <maksim.nau...@hitmeister.de>
> To: "Martin Perina" <mper...@redhat.com>
> Cc: "users" <users@ovirt.org>
> Sent: Wednesday, November 18, 2015 6:15:35 PM
> Subject: Re: [ovirt-users] [3.6] API - Internal Server Error
> 
> Here is my versions:
> 
> Name: ovirt-engine
> Version : 3.6.0.3
> Release : 1.el7.centos
> 
> Name: ovirt-engine-extension-aaa-jdbc
> Version : 1.0.1
> Release : 1.el7
> 
> About the log:
> 
> 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.
> 
> Currently, I do the following:
> 
> I am running the script which is asking for API every 10 sec for a list of
> current running VMs.
> After some hours (1-2 hours) the script reporting that there are no VMs.
> I went to the API endpoint by myself and everything that I was able to see
> is Internal error.
> I stopped the script and in a couple of minutes API worked again.
> 
> Thank you
> 
> SERVER.LOG
> 
> 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
> Input:
> {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: "ovirt-engine-extension-aaa-jdbc",
> Extkey[name=EXTENSION_HOME_URL;type=class
> java.lang.String;uuid=EXTENSION_HOME_URL[4ad7a2f4-f969-42d4-b399-72d192e18304];]=
> http://www.ovirt.org, 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];]="ovirt-engine-extension-aaa-jdbc".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];]="1.0.1",
> 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."ovirt-engine-extension-aaa-jdbc".authn.internal-authn),
> Extkey[name=EXTE