On Thu, Nov 16, 2017 at 11:43 AM, Eyal Edri <eedri@redhat.com> wrote:Please give it highest priority, we can't let it fail into the weekend.On Thu, Nov 16, 2017 at 12:40 PM, Dafna Ron <dron@redhat.com> wrote:Hi,
we have a CQ failure in add_dc test. I can see at engine long that we have an issue with 'extension.aaa.jdbc.binding.ap
i.AuthnExtension' I don't think that the patch reported was the actual cause of the failure. Yesterday we were failing on missing package ovirt-cockpit-sso which we added to our repos. and I think perhaps we now exposed an issue with sso support which was undiscovered before.
Link to suspected patches:
These are the reported patches:
Here is the original patch for the sso support:
https://gerrit.ovirt.org/#/c/8
2997/
Link to Job:
http://jenkins.ovirt.org/job/ovirt-master_change-queue-teste r/3877/
http://jenkins.ovirt.org/job/o
virt-master_change-queue-teste r/3878/
Link to all logs:
http://jenkins.ovirt.org/job/o
virt-master_change-queue-teste r/3877/artifact/ http://jenkins.ovirt.org/job/o
virt-master_change-queue-teste r/3878/artifact/
(Relevant) error snippet from the log:
<error>
2017-11-15 16:50:07,115-05 INFO [org.ovirt.engine.core.extensions.mgr.ExtensionsManager] (ServerService Thread Pool -- 45) [] Loading extension 'internal-authn' 2017-11-15 16:50:07,118-05 INFO [org.ovirt.engine.core.extensi ons.mgr.ExtensionsManager] (ServerService Thread Pool -- 45) [] Extension 'internal-authn' loaded 2017-11-15 16:50:07,118-05 DEBUG [org.ovirt.engine.core.extensi ons.mgr.ExtensionsManager.trac e."ovirt-engine-extension-aaa- jdbc".authn.internal-authn] (ServerService Thread Pool -- 45) [] Config BEGIN 2017-11-15 16:50:07,118-05 DEBUG [org.ovirt.engine.core.extensi ons.mgr.ExtensionsManager.trac e."ovirt-engine-extension-aaa- jdbc".authn.internal-authn] (ServerService Thread Pool -- 45) [] ovirt.engine.aaa.authn.profile .name : internal 2017-11-15 16:50:07,118-05 DEBUG [org.ovirt.engine.core.extensions.mgr.ExtensionsManager.trac e."ovirt-engine-extension-aaa- jdbc".authn.internal-authn] (ServerService Thread Pool -- 45) [] ovirt.engine.extension.provide s: org.ovirt.engine.api.extension s.aaa.Authn 2017-11-15 16:50:07,118-05 DEBUG [org.ovirt.engine.core.extensi ons.mgr.ExtensionsManager.trac e."ovirt-engine-extension-aaa- jdbc".authn.internal-authn] (ServerService Thread Pool -- 45) [] ovirt.engine.extension.binding .jbossmodule.class: org.ovirt.engine.extension.aaa .jdbc.binding.api.AuthnExtensi on 2017-11-15 16:50:07,118-05 DEBUG [org.ovirt.engine.core.extensi ons.mgr.ExtensionsManager.trac e."ovirt-engine-extension-aaa- jdbc".authn.internal-authn] (ServerService Thread Pool -- 45) [] ovirt.engine.aaa.authn.authz.p lugin: internal-authz 2017-11-15 16:50:07,118-05 DEBUG [org.ovirt.engine.core.extensi ons.mgr.ExtensionsManager.trac e."ovirt-engine-extension-aaa- jdbc".authn.internal-authn] (ServerService Thread Pool -- 45) [] ovirt.engine.extension.binding s.method: jbossmodule 2017-11-15 16:50:07,118-05 DEBUG [org.ovirt.engine.core.extensi ons.mgr.ExtensionsManager.trac e."ovirt-engine-extension-aaa- jdbc".authn.internal-authn] (ServerService Thread Pool -- 45) [] config.datasource.file: /etc/ovirt-engine/aaa/internal .properties 2017-11-15 16:50:07,118-05 DEBUG [org.ovirt.engine.core.extensi ons.mgr.ExtensionsManager.trac e."ovirt-engine-extension-aaa- jdbc".authn.internal-authn] (ServerService Thread Pool -- 45) [] ovirt.engine.extension.name: internal-authn 2017-11-15 16:50:07,118-05 DEBUG [org.ovirt.engine.core.extensi ons.mgr.ExtensionsManager.trac e."ovirt-engine-extension-aaa- jdbc".authn.internal-authn] (ServerService Thread Pool -- 45) [] ovirt.engine.extension.binding .jbossmodule.module: org.ovirt.engine.extension.aaa .jdbc 2017-11-15 16:50:07,118-05 DEBUG [org.ovirt.engine.core.extensi ons.mgr.ExtensionsManager.trac e."ovirt-engine-extension-aaa- jdbc".authn.internal-authn] (ServerService Thread Pool -- 45) [] Config END 2017-11-15 16:50:07,119-05 INFO [org.ovirt.engine.core.extensi ons.mgr.ExtensionsManager] (ServerService Thread Pool -- 45) [] Loading extension 'internal-authz' 2017-11-15 16:50:07,120-05 INFO [org.ovirt.engine.core.extensi ons.mgr.ExtensionsManager] (ServerService Thread Pool -- 45) [] Extension 'internal-authz' loaded 2017-11-15 16:50:07,120-05 DEBUG [org.ovirt.engine.core.extensi ons.mgr.ExtensionsManager.trac e."ovirt-engine-extension-aaa- jdbc".authz.internal-authz] (ServerService Thread Pool -- 45) [] Config BEGIN 2017-11-15 16:50:07,120-05 DEBUG [org.ovirt.engine.core.extensi ons.mgr.ExtensionsManager.trac e."ovirt-engine-extension-aaa- jdbc".authz.internal-authz] (ServerService Thread Pool -- 45) [] ovirt.engine.extension.provide s: org.ovirt.engine.api.extension s.aaa.Authz 2017-11-15 16:50:07,120-05 DEBUG [org.ovirt.engine.core.extensi ons.mgr.ExtensionsManager.trac e."ovirt-engine-extension-aaa- jdbc".authz.internal-authz] (ServerService Thread Pool -- 45) [] ovirt.engine.extension.binding .jbossmodule.class: org.ovirt.engine.extension.aaa .jdbc.binding.api.AuthzExtensi on 2017-11-15 16:50:07,120-05 DEBUG [org.ovirt.engine.core.extensi ons.mgr.ExtensionsManager.trac e."ovirt-engine-extension-aaa- jdbc".authz.internal-authz] (ServerService Thread Pool -- 45) [] ovirt.engine.extension.binding s.method: jbossmodule 2017-11-15 16:50:07,120-05 DEBUG [org.ovirt.engine.core.extensi ons.mgr.ExtensionsManager.trac e."ovirt-engine-extension-aaa- jdbc".authz.internal-authz] (ServerService Thread Pool -- 45) [] config.datasource.file: /etc/ovirt-engine/aaa/internal .properties 2017-11-15 16:50:07,120-05 DEBUG [org.ovirt.engine.core.extensi ons.mgr.ExtensionsManager.trac e."ovirt-engine-extension-aaa- jdbc".authz.internal-authz] (ServerService Thread Pool -- 45) [] ovirt.engine.extension.name: internal-authz 2017-11-15 16:50:07,120-05 DEBUG [org.ovirt.engine.core.extensi ons.mgr.ExtensionsManager.trac e."ovirt-engine-extension-aaa- jdbc".authz.internal-authz] (ServerService Thread Pool -- 45) [] ovirt.engine.extension.binding .jbossmodule.module: org.ovirt.engine.extension.aaa .jdbc 2017-11-15 16:50:07,120-05 DEBUG [org.ovirt.engine.core.extensi ons.mgr.ExtensionsManager.trac e."ovirt-engine-extension-aaa- jdbc".authz.internal-authz] (ServerService Thread Pool -- 45) [] Config END 2017-11-15 16:50:07,121-05 INFO [org.ovirt.engine.core.extensi ons.mgr.ExtensionsManager] (ServerService Thread Pool -- 45) [] Initializing extension 'internal-authn' 2017-11-15 16:50:07,182-05 ERROR [org.ovirt.engine.extension.aa a.jdbc.binding.api.AuthnExtens ion] (ServerService Thread Pool -- 45) [] Unexpected Exception invoking: EXTENSION_INITIALIZE[e5ae1b7f- 9104-4f23-a444-7b9175ff68d2] 2017-11-15 16:50:07,182-05 DEBUG [org.ovirt.engine.extension.aa a.jdbc.binding.api.AuthnExtens ion] (ServerService Thread Pool -- 45) [] Exception:: org.postgresql.util.PSQLExcept ion: FATAL: the database system is shutting down This is the main issue, who is stopping PostgreSQL database during engine startup?I've looked at /var/log/messages and there are plenty of PostgreSQL restarts:
Nov 15 16:47:26 lago-basic-suite-master-engine systemd: Starting PostgreSQL database server...
Nov 15 16:47:26 lago-basic-suite-master-engine postgresql-ctl: LOG: redirecting log output to logging collector process
Nov 15 16:47:26 lago-basic-suite-master-engine postgresql-ctl: HINT: Future log output will appear in directory "pg_log".
Nov 15 16:47:27 lago-basic-suite-master-engine systemd: Started PostgreSQL database server.
Nov 15 16:47:28 lago-basic-suite-master-engine systemd: Stopping PostgreSQL database server...
Nov 15 16:47:29 lago-basic-suite-master-engine systemd: Stopped PostgreSQL database server.
Nov 15 16:47:29 lago-basic-suite-master-engine systemd: Starting PostgreSQL database server...
Nov 15 16:47:29 lago-basic-suite-master-engine postgresql-ctl: LOG: redirecting log output to logging collector process
Nov 15 16:47:29 lago-basic-suite-master-engine postgresql-ctl: HINT: Future log output will appear in directory "pg_log".
Nov 15 16:47:30 lago-basic-suite-master-engine systemd: Started PostgreSQL database server.
Nov 15 16:47:30 lago-basic-suite-master-engine systemd: Stopping PostgreSQL database server...
Nov 15 16:47:31 lago-basic-suite-master-engine systemd: Stopped PostgreSQL database server.
Nov 15 16:47:31 lago-basic-suite-master-engine systemd: Starting PostgreSQL database server...
Nov 15 16:47:31 lago-basic-suite-master-engine postgresql-ctl: LOG: redirecting log output to logging collector process
Nov 15 16:47:31 lago-basic-suite-master-engine postgresql-ctl: HINT: Future log output will appear in directory "pg_log".
Nov 15 16:47:32 lago-basic-suite-master-engine systemd: Started PostgreSQL database server.
Nov 15 16:47:33 lago-basic-suite-master-engine systemd: Stopping PostgreSQL database server...
Nov 15 16:47:34 lago-basic-suite-master-engine systemd: Stopped PostgreSQL database server.
Nov 15 16:47:34 lago-basic-suite-master-engine systemd: Starting PostgreSQL database server...
Nov 15 16:47:34 lago-basic-suite-master-engine postgresql-ctl: LOG: redirecting log output to logging collector process
Nov 15 16:47:34 lago-basic-suite-master-engine postgresql-ctl: HINT: Future log output will appear in directory "pg_log".
Nov 15 16:47:35 lago-basic-suite-master-engine systemd: Started PostgreSQL database server.
Nov 15 16:50:00 lago-basic-suite-master-engine systemd: Stopping PostgreSQL database server...
Nov 15 16:50:08 lago-basic-suite-master-engine systemd: Starting PostgreSQL database server...So we need to take a look at PostgreSQL logs to see the cause of failuresat org.postgresql.core.v3.ConnectionFactoryImpl.doAuthenticatio n(ConnectionFactoryImpl.java:3 98) [postgresql.jar:] at org.postgresql.core.v3.Connect ionFactoryImpl.openConnectionI mpl(ConnectionFactoryImpl.java :173) [postgresql.jar:] at org.postgresql.core.Connection Factory.openConnection(Connect ionFactory.java:64) [postgresql.jar:] at org.postgresql.jdbc2.AbstractJ dbc2Connection.<init>(Abstract Jdbc2Connection.java:136) [postgresql.jar:] at org.postgresql.jdbc3.AbstractJ dbc3Connection.<init>(Abstract Jdbc3Connection.java:29) [postgresql.jar:] at org.postgresql.jdbc3g.Abstract Jdbc3gConnection.<init>(Abstra ctJdbc3gConnection.java:21) [postgresql.jar:] at org.postgresql.jdbc4.AbstractJ dbc4Connection.<init>(Abstract Jdbc4Connection.java:31) [postgresql.jar:] at org.postgresql.jdbc4.Jdbc4Conn ection.<init>(Jdbc4Connection. java:24) [postgresql.jar:] at org.postgresql.Driver.makeConn ection(Driver.java:393) [postgresql.jar:] at org.postgresql.Driver.connect( Driver.java:267) [postgresql.jar:] at java.sql.DriverManager.getConn ection(DriverManager.java:664) [rt.jar:1.8.0_151] at java.sql.DriverManager.getConn ection(DriverManager.java:247) [rt.jar:1.8.0_151] at org.ovirt.engine.extension.aaa .jdbc.core.datasource.DataSour ceProvider$1.invoke(DataSource Provider.java:86) [ovirt-engine-extension-aaa-jd bc.jar:] at com.sun.proxy.$Proxy177.getCon nection(Unknown Source) at org.ovirt.engine.extension.aaa .jdbc.core.datasource.SchemaAw areDataSource.getConnection(Sc hemaAwareDataSource.java:41) [ovirt-engine-extension-aaa-jd bc.jar:] at org.ovirt.engine.extension.aaa .jdbc.binding.api.ExtensionUti ls.checkDbVersion(ExtensionUti ls.java:146) [ovirt-engine-extension-aaa-jd bc.jar:] at org.ovirt.engine.extension.aaa .jdbc.binding.api.AuthnExtensi on.doInit(AuthnExtension.java: 114) [ovirt-engine-extension-aaa-jd bc.jar:] at org.ovirt.engine.extension.aaa .jdbc.binding.api.AuthnExtensi on.invoke(AuthnExtension.java: 56) [ovirt-engine-extension-aaa-jd bc.jar:] at org.ovirt.engine.core.extensio ns.mgr.ExtensionProxy.invoke(E xtensionProxy.java:49) at org.ovirt.engine.core.extensio ns.mgr.ExtensionProxy.invoke(E xtensionProxy.java:73) at org.ovirt.engine.core.extensio ns.mgr.ExtensionProxy.invoke(E xtensionProxy.java:109) at org.ovirt.engine.core.extensio ns.mgr.ExtensionsManager.initi alize(ExtensionsManager.java: 315) at org.ovirt.engine.core.sso.util s.SsoExtensionsManager.initial ize(SsoExtensionsManager.java: 91) at org.ovirt.engine.core.sso.util s.SsoExtensionsManager.<init>( SsoExtensionsManager.java:28) at org.ovirt.engine.core.sso.cont ext.SsoContextListener.context Initialized(SsoContextListener .java:28) at io.undertow.servlet.core.Appli cationListeners.contextInitial ized(ApplicationListeners.java :187) at io.undertow.servlet.core.Deplo ymentManagerImpl$1.call(Deploy mentManagerImpl.java:205) at io.undertow.servlet.core.Deplo ymentManagerImpl$1.call(Deploy mentManagerImpl.java:174) at io.undertow.servlet.core.Servl etRequestContextThreadSetupAct ion$1.call(ServletRequestConte xtThreadSetupAction.java:42) at io.undertow.servlet.core.Conte xtClassLoaderSetupAction$1.cal l(ContextClassLoaderSetupActio n.java:43) at org.wildfly.extension.undertow .security.SecurityContextThrea dSetupAction.lambda$create$0(S ecurityContextThreadSetupActio n.java:105) at org.wildfly.extension.undertow .deployment.UndertowDeployment InfoService$UndertowThreadSetu pAction.lambda$create$0(Undert owDeploymentInfoService.java:1 508) at org.wildfly.extension.undertow .deployment.UndertowDeployment InfoService$UndertowThreadSetu pAction.lambda$create$0(Undert owDeploymentInfoService.java:1 508) at org.wildfly.extension.undertow .deployment.UndertowDeployment InfoService$UndertowThreadSetu pAction.lambda$create$0(Undert owDeploymentInfoService.java:1 508) at io.undertow.servlet.core.Deplo ymentManagerImpl.deploy(Deploy mentManagerImpl.java:239) at org.wildfly.extension.undertow .deployment.UndertowDeployment Service.startContext(UndertowD eploymentService.java:99) at org.wildfly.extension.undertow .deployment.UndertowDeployment Service$1.run(UndertowDeployme ntService.java:81) at java.util.concurrent.Executors $RunnableAdapter.call(Executor s.java:511) [rt.jar:1.8.0_151] at java.util.concurrent.FutureTas k.run(FutureTask.java:266) [rt.jar:1.8.0_151] at java.util.concurrent.ThreadPoo lExecutor.runWorker(ThreadPool Executor.java:1149) [rt.jar:1.8.0_151] at java.util.concurrent.ThreadPoo lExecutor$Worker.run(ThreadPoo lExecutor.java:624) [rt.jar:1.8.0_151] at java.lang.Thread.run(Thread.ja va:748) [rt.jar:1.8.0_151] at org.jboss.threads.JBossThread. run(JBossThread.java:320) 2017-11-15 16:50:07,185-05 ERROR [org.ovirt.engine.core.extensi ons.mgr.ExtensionsManager] (ServerService Thread Pool -- 45) [] Error in activating extension 'internal-authn': FATAL: the database system is shutting down 2017-11-15 16:50:07,185-05 DEBUG [org.ovirt.engine.core.extensi ons.mgr.ExtensionsManager] (ServerService Thread Pool -- 45) [] Class: class org.ovirt.engine.core.extensio ns.mgr.ExtensionInvokeCommandF ailedException
</error>
_______________________________________________
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel --phone: +972-9-7692018
irc: eedri (on #tlv #rhev-dev #rhev-integ)
--Martin Perina
Associate Manager, Software Engineering
Red Hat Czech s.r.o.