<!DOCTYPE html>
<html><head>
    <meta charset="UTF-8">
</head><body><p>Which makes sense seeing as that&#39;s what Red Hat officially supports. &#160;It just made sense for our infrastructure to put it on our postgres cluster that is running 9.5.x. &#160;Unfortunately things like this happen sometimes when running a slightly unsupported infrastructure.</p><p><br></p><p>Is this worth putting in an RFE? &#160;Support for postgresql-jdbc 42+ and postgresql 9.5+</p><p><br></p><p>Logan</p><blockquote type="cite">On May 24, 2017 at 5:24 AM Martin Perina &#60;mperina@redhat.com&#62; wrote:<br><br><div dir="ltr"><div class="ox-03f7f44247-gmail_default" style="font-family: arial,helvetica,sans-serif;">Yes, postgresql 9.2 JDBC drivers are the only working and supported JDBC drivers. Also please be aware that we test and only PostgreSQL 9.2&#160; for oVirt, so there may be other issues with newer versions.<br></div></div><div class="ox-03f7f44247-gmail_extra"><br><div class="ox-03f7f44247-gmail_quote">On Tue, May 23, 2017 at 11:15 PM, Yedidyah Bar David &#60;<a href="mailto:didi@redhat.com" target="_blank">didi@redhat.com</a>&#62; wrote:<br><blockquote>On Wed, May 24, 2017 at 12:06 AM,&#160; &#60;<a href="mailto:support@jac-properties.com">support@jac-properties.com</a>&#62; wrote:<br> &#62; Wow, that looks almost exactly like what we&#39;re seeing.<br> &#62;<br> &#62; Unfortunately, downgrading from postgresql-jdbc-42.1.1 to 42.0.0, restarting ovirt-engine and rerunning engine-setup produces the same error messages.<br> &#62;<br> <br> Please try 9.2. Thanks!<br> <br> &#62; Logan<br> &#62;<br> &#62;&#62; On May 23, 2017 at 3:39 PM Yedidyah Bar David &#60;<a href="mailto:didi@redhat.com">didi@redhat.com</a>&#62; wrote:<br> &#62;&#62;<br> &#62;&#62;<br> &#62;&#62; On Tue, May 23, 2017 at 11:19 PM, Logan Kuhn &#60;<a href="mailto:support@jac-properties.com">support@jac-properties.com</a>&#62; wrote:<br> &#62;&#62; &#62; Hi<br> &#62;&#62; &#62;<br> &#62;&#62; &#62; We recently upgraded from postgres 9.5.4 to 9.5.6 and then to 9.5.7.&#160; We<br> &#62;&#62; &#62; restarted ovirt-engine between 9.5.4 and it worked as expected.&#160; After we<br> &#62;&#62; &#62; updated to 9.5.7 we have started to get postgres errors in engine.log and a<br> &#62;&#62; &#62; 404 error in the browser when we try to start ovirt-engine.<br> &#62;&#62; &#62;<br> &#62;&#62; &#62; Updates were done on client and server to keep them in sync.<br> &#62;&#62; &#62;<br> &#62;&#62; &#62; The error is complaining about a missing function, but we can verify that<br> &#62;&#62; &#62; the function exists in the database.&#160; We&#39;ve also restored engine and<br> &#62;&#62; &#62; ovirt_engine_history from a backup at 8am this morning when it was working<br> &#62;&#62; &#62; and before we upgraded to 9.5.7 with no apparent help and run engine-setup<br> &#62;&#62; &#62; afterwards, still no luck.<br> &#62;&#62; &#62;<br> &#62;&#62; &#62; 2017-05-23 15:07:48,418 INFO&#160; [org.ovirt.engine.core.dal.<wbr/>dbbroker.DbFacade]<br> &#62;&#62; &#62; (ServerService Thread Pool -- 51) [] Initializing the DbFacade<br> &#62;&#62; &#62; 2017-05-23 15:07:48,480 INFO&#160; [org.ovirt.engine.core.bll.<wbr/>Backend]<br> &#62;&#62; &#62; (ServerService Thread Pool -- 51) [] Start initializing Backend<br> &#62;&#62; &#62; 2017-05-23 15:07:48,502 ERROR<br> &#62;&#62; &#62; [org.ovirt.engine.core.bll.<wbr/>network.macpool.MacPoolPerDc] (ServerService<br> &#62;&#62; &#62; Thread Pool -- 46) [] Error initializing: PreparedStatementCallback; bad SQL<br> &#62;&#62; &#62; grammar [select * from&#160; getallmacpoolrangesbymacpoolid<wbr/>()]; nested exception<br> &#62;&#62; &#62; is org.postgresql.util.PSQL<br> &#62;&#62; &#62; Exception: ERROR: function getallmacpoolrangesbymacpoolid<wbr/>() does not exist<br> &#62;&#62; &#62;&#160; Hint: No function matches the given name and argument types. You might need<br> &#62;&#62; &#62; to add explicit type casts.<br> &#62;&#62; &#62;&#160; Position: 16<br> &#62;&#62; &#62; 2017-05-23 15:07:48,517 ERROR [org.ovirt.engine.core.bll.<wbr/>Backend]<br> &#62;&#62; &#62; (ServerService Thread Pool -- 51) [] Error during initialization:<br> &#62;&#62; &#62; org.jboss.weld.exceptions.<wbr/>WeldException: WELD-000049: Unable to invoke<br> &#62;&#62; &#62; public void<br> &#62;&#62; &#62; org.ovirt.engine.core.bll.<wbr/>hostedengine.<wbr/>PreviousHostedEngineHost.cre<br> &#62;&#62; &#62; ate() on<br> &#62;&#62; &#62; org.ovirt.engine.core.bll.<wbr/>hostedengine.<wbr/>PreviousHostedEngineHost@<wbr/>3a35f461<br> &#62;&#62; &#62;&#160; &#160; &#160; &#160; at<br> &#62;&#62; &#62; org.jboss.weld.injection.<wbr/>producer.<wbr/>DefaultLifecycleCallbackInvoke<wbr/>r.invokeMethods(<wbr/>DefaultLifecycleCallbackInvoke<wbr/>r.java:100)<br> &#62;&#62; &#62; [weld-core-impl-2.3.5.Final.<wbr/>jar:2.3.5.Final]<br> &#62;&#62; &#62;&#160; &#160; &#160; &#160; at<br> &#62;&#62; &#62; org.jboss.weld.injection.<wbr/>producer.<wbr/>DefaultLifecycleCallbackInvoke<wbr/>r.postConstruct(<wbr/>DefaultLifecycleCallbackInvoke<wbr/>r.java:81)<br> &#62;&#62; &#62; [weld-core-impl-2.3.5.Final.<wbr/>jar:2.3.5.Final]<br> &#62;&#62; &#62;&#160; &#160; &#160; &#160; at<br> &#62;&#62; &#62; org.jboss.weld.injection.<wbr/>producer.BasicInjectionTarget.<wbr/>postConstruct(<wbr/>BasicInjectionTarget.java:126)<br> &#62;&#62; &#62; [weld-core-impl-2.3.5.Final.<wbr/>jar:2.3.5.Final]<br> &#62;&#62; &#62;&#160; &#160; &#160; &#160; at org.jboss.weld.bean.<wbr/>ManagedBean.create(<wbr/>ManagedBean.java:162)<br> &#62;&#62; &#62; [weld-core-impl-2.3.5.Final.<wbr/>jar:2.3.5.Final]<br> &#62;&#62; &#62;&#160; &#160; &#160; &#160; at<br> &#62;&#62; &#62; org.jboss.weld.context.<wbr/>AbstractContext.get(<wbr/>AbstractContext.java:96)<br> &#62;&#62; &#62; [weld-core-impl-2.3.5.Final.<wbr/>jar:2.3.5.Final]<br> &#62;&#62; &#62;&#160; &#160; &#160; &#160; at<br> &#62;&#62; &#62; org.jboss.weld.bean.<wbr/>ContextualInstanceStrategy$<wbr/>DefaultContextualInstanceStrat<wbr/>egy.get(<wbr/>ContextualInstanceStrategy.<wbr/>java:101)<br> &#62;&#62; &#62; [weld-core-impl-2.3.5.Final.<wbr/>jar:2.3.5.Final]<br> &#62;&#62; &#62;&#160; &#160; &#160; &#160; at<br> &#62;&#62; &#62; org.jboss.weld.bean.<wbr/>ContextualInstanceStrategy$<wbr/>ApplicationScopedContextualIns<wbr/>tanceStrategy.get(<wbr/>ContextualInstanceStrategy.<wbr/>java:141)<br> &#62;&#62; &#62; [weld-core-impl-2.3.5.Final.<wbr/>jar:2.3.5.Final]<br> &#62;&#62; &#62;&#160; &#160; &#160; &#160; at<br> &#62;&#62; &#62; org.jboss.weld.bean.<wbr/>ContextualInstance.get(<wbr/>ContextualInstance.java:50)<br> &#62;&#62; &#62; [weld-core-impl-2.3.5.Final.<wbr/>jar:2.3.5.Final]<br> &#62;&#62; &#62;&#160; &#160; &#160; &#160; at<br> &#62;&#62; &#62; org.jboss.weld.manager.<wbr/>BeanManagerImpl.getReference(<wbr/>BeanManagerImpl.java:742)<br> &#62;&#62; &#62; [weld-core-impl-2.3.5.Final.<wbr/>jar:2.3.5.Final]<br> &#62;&#62; &#62;&#160; &#160; &#160; &#160; at<br> &#62;&#62; &#62; org.jboss.weld.bean.builtin.<wbr/>InstanceImpl.getBeanInstance(<wbr/>InstanceImpl.java:189)<br> &#62;&#62; &#62; [weld-core-impl-2.3.5.Final.<wbr/>jar:2.3.5.Final]<br> &#62;&#62; &#62;&#160; &#160; &#160; &#160; at<br> &#62;&#62; &#62; org.jboss.weld.bean.builtin.<wbr/>InstanceImpl.get(InstanceImpl.<wbr/>java:100)<br> &#62;&#62; &#62; [weld-core-impl-2.3.5.Final.<wbr/>jar:2.3.5.Final]<br> &#62;&#62; &#62;&#160; &#160; &#160; &#160; at org.ovirt.engine.core.bll.<wbr/>Backend.loadService(Backend.<wbr/>java:301)<br> &#62;&#62; &#62; [bll.jar:]<br> &#62;&#62; &#62;&#160; &#160; &#160; &#160; at org.ovirt.engine.core.bll.<wbr/>Backend.initialize(Backend.<wbr/>java:212)<br> &#62;&#62; &#62; [bll.jar:]<br> &#62;&#62; &#62;&#160; &#160; &#160; &#160; at org.ovirt.engine.core.bll.<wbr/>Backend.create(Backend.java:<wbr/>159)<br> &#62;&#62; &#62; [bll.jar:]<br> &#62;&#62; &#62;&#160; &#160; &#160; &#160; at sun.reflect.<wbr/>NativeMethodAccessorImpl.<wbr/>invoke0(Native Method)<br> &#62;&#62; &#62; [rt.jar:1.8.0_131]<br> &#62;&#62; &#62;&#160; &#160; &#160; &#160; at<br> &#62;&#62; &#62; sun.reflect.<wbr/>NativeMethodAccessorImpl.<wbr/>invoke(<wbr/>NativeMethodAccessorImpl.java:<wbr/>62)<br> &#62;&#62; &#62; [rt.jar:1.8.0_131]<br> &#62;&#62; &#62;&#160; &#160; &#160; &#160; at<br> &#62;&#62; &#62; sun.reflect.<wbr/>DelegatingMethodAccessorImpl.<wbr/>invoke(<wbr/>DelegatingMethodAccessorImpl.<wbr/>java:43)<br> &#62;&#62; &#62; [rt.jar:1.8.0_131]<br> &#62;&#62; &#62;&#160; &#160; &#160; &#160; at java.lang.reflect.Method.<wbr/>invoke(Method.java:498)<br> &#62;&#62; &#62; [rt.jar:1.8.0_131]<br> &#62;&#62; &#62;&#160; &#160; &#160; &#160; at<br> &#62;&#62; &#62; org.jboss.as.ee.component.<wbr/>ManagedReferenceLifecycleMetho<wbr/>dInterceptor.<wbr/>processInvocation(<wbr/>ManagedReferenceLifecycleMetho<wbr/>dInterceptor.java:96)<br> &#62;&#62; &#62;&#160; &#160; &#160; &#160; at<br> &#62;&#62; &#62; org.jboss.invocation.<wbr/>InterceptorContext.proceed(<wbr/>InterceptorContext.java:340)<br> &#62;&#62; &#62;&#160; &#160; &#160; &#160; at<br> &#62;&#62; &#62; org.jboss.invocation.<wbr/>InterceptorContext$Invocation.<wbr/>proceed(InterceptorContext.<wbr/>java:437)<br> &#62;&#62; &#62;&#160; &#160; &#160; &#160; at<br> &#62;&#62; &#62; org.jboss.as.weld.ejb.<wbr/>Jsr299BindingsInterceptor.<wbr/>delegateInterception(<wbr/>Jsr299BindingsInterceptor.<wbr/>java:70)<br> &#62;&#62; &#62; [wildfly-weld-10.1.0.Final.<wbr/>jar:10.1.0.Final]<br> &#62;&#62; &#62;&#160; &#160; &#160; &#160; at<br> &#62;&#62; &#62; org.jboss.as.weld.ejb.<wbr/>Jsr299BindingsInterceptor.<wbr/>doLifecycleInterception(<wbr/>Jsr299BindingsInterceptor.<wbr/>java:117)<br> &#62;&#62; &#62; [wildfly-weld-10.1.0.Final.<wbr/>jar:10.1.0.Final]<br> &#62;&#62; &#62;&#160; &#160; &#160; &#160; at<br> &#62;&#62; &#62; org.jboss.as.weld.ejb.<wbr/>Jsr299BindingsInterceptor.<wbr/>processInvocation(<wbr/>Jsr299BindingsInterceptor.<wbr/>java:103)<br> &#62;&#62; &#62; [wildfly-weld-10.1.0.Final.<wbr/>jar:10.1.0.Final]<br> &#62;&#62; &#62;&#160; &#160; &#160; &#160; at<br> &#62;&#62; &#62; org.jboss.invocation.<wbr/>InterceptorContext.proceed(<wbr/>InterceptorContext.java:340)<br> &#62;&#62; &#62;&#160; &#160; &#160; &#160; at<br> &#62;&#62; &#62; org.jboss.invocation.<wbr/>InterceptorContext$Invocation.<wbr/>proceed(InterceptorContext.<wbr/>java:437)<br> &#62;&#62; &#62;&#160; &#160; &#160; &#160; at<br> &#62;&#62; &#62; org.jboss.weld.ejb.<wbr/>AbstractEJBRequestScopeActivat<wbr/>ionInterceptor.aroundInvoke(<wbr/>AbstractEJBRequestScopeActivat<wbr/>ionInterceptor.java:73)<br> &#62;&#62; &#62; [weld-core-impl-2.3.5.Final.<wbr/>jar:2.3.5.Final]<br> &#62;&#62; &#62;&#160; &#160; &#160; &#160; at<br> &#62;&#62; &#62; org.jboss.as.weld.ejb.<wbr/>EjbRequestScopeActivationInter<wbr/>ceptor.processInvocation(<wbr/>EjbRequestScopeActivationInter<wbr/>ceptor.java:83)<br> &#62;&#62; &#62; [wildfly-weld-10.1.0.Final.<wbr/>jar:10.1.0.Final]<br> &#62;&#62; &#62;&#160; &#160; &#160; &#160; at<br> &#62;&#62; &#62; org.jboss.invocation.<wbr/>InterceptorContext.proceed(<wbr/>InterceptorContext.java:340)<br> &#62;&#62; &#62;&#160; &#160; &#160; &#160; at<br> &#62;&#62; &#62; org.jboss.as.weld.injection.<wbr/>WeldInjectionInterceptor.<wbr/>processInvocation(<wbr/>WeldInjectionInterceptor.java:<wbr/>53)<br> &#62;&#62; &#62; [wildfly-weld-10.1.0.Final.<wbr/>jar:10.1.0.Final]<br> &#62;&#62; &#62;&#160; &#160; &#160; &#160; at<br> &#62;&#62; &#62; org.jboss.invocation.<wbr/>InterceptorContext.proceed(<wbr/>InterceptorContext.java:340)<br> &#62;&#62; &#62;&#160; &#160; &#160; &#160; at<br> &#62;&#62; &#62; org.jboss.as.ee.component.<wbr/>AroundConstructInterceptorFact<wbr/>ory$1.processInvocation(<wbr/>AroundConstructInterceptorFact<wbr/>ory.java:28)<br> &#62;&#62; &#62;&#160; &#160; &#160; &#160; at<br> &#62;&#62; &#62; org.jboss.invocation.<wbr/>InterceptorContext.proceed(<wbr/>InterceptorContext.java:340)<br> &#62;&#62; &#62;&#160; &#160; &#160; &#160; at<br> &#62;&#62; &#62; org.jboss.as.weld.injection.<wbr/>WeldInterceptorInjectionInterc<wbr/>eptor.processInvocation(<wbr/>WeldInterceptorInjectionInterc<wbr/>eptor.java:56)<br> &#62;&#62; &#62; [wildfly-weld-10.1.0.Final.<wbr/>jar:10.1.0.Final]<br> &#62;&#62; &#62;&#160; &#160; &#160; &#160; at<br> &#62;&#62; &#62; org.jboss.invocation.<wbr/>InterceptorContext.proceed(<wbr/>InterceptorContext.java:340)<br> &#62;&#62; &#62;&#160; &#160; &#160; &#160; at<br> &#62;&#62; &#62; org.jboss.as.ee.component.<wbr/>ComponentInstantiatorIntercept<wbr/>or.processInvocation(<wbr/>ComponentInstantiatorIntercept<wbr/>or.java:74)<br> &#62;&#62; &#62;&#160; &#160; &#160; &#160; at<br> &#62;&#62; &#62; org.jboss.invocation.<wbr/>InterceptorContext.proceed(<wbr/>InterceptorContext.java:340)<br> &#62;&#62; &#62;&#160; &#160; &#160; &#160; at<br> &#62;&#62; &#62; org.jboss.as.weld.ejb.<wbr/>Jsr299BindingsCreateIntercepto<wbr/>r.processInvocation(<wbr/>Jsr299BindingsCreateIntercepto<wbr/>r.java:100)<br> &#62;&#62; &#62; [wildfly-weld-10.1.0.Final.<wbr/>jar:10.1.0.Final]<br> &#62;&#62; &#62;&#160; &#160; &#160; &#160; at<br> &#62;&#62; &#62; org.jboss.invocation.<wbr/>InterceptorContext.proceed(<wbr/>InterceptorContext.java:340)<br> &#62;&#62; &#62;&#160; &#160; &#160; &#160; at<br> &#62;&#62; &#62; org.jboss.as.ee.component.<wbr/>NamespaceContextInterceptor.<wbr/>processInvocation(<wbr/>NamespaceContextInterceptor.<wbr/>java:50)<br> &#62;&#62; &#62;&#160; &#160; &#160; &#160; at<br> &#62;&#62; &#62; org.jboss.invocation.<wbr/>InterceptorContext.proceed(<wbr/>InterceptorContext.java:340)<br> &#62;&#62; &#62;&#160; &#160; &#160; &#160; at<br> &#62;&#62; &#62; org.jboss.as.ejb3.tx.<wbr/>CMTTxInterceptor.invokeInNoTx(<wbr/>CMTTxInterceptor.java:263)<br> &#62;&#62; &#62; [wildfly-ejb3-10.1.0.Final.<wbr/>jar:10.1.0.Final]<br> &#62;&#62; &#62;&#160; &#160; &#160; &#160; at<br> &#62;&#62; &#62; org.jboss.as.ejb3.tx.<wbr/>CMTTxInterceptor.supports(<wbr/>CMTTxInterceptor.java:374)<br> &#62;&#62; &#62; [wildfly-ejb3-10.1.0.Final.<wbr/>jar:10.1.0.Final]<br> &#62;&#62; &#62;&#160; &#160; &#160; &#160; at<br> &#62;&#62; &#62; org.jboss.as.ejb3.tx.<wbr/>LifecycleCMTTxInterceptor.<wbr/>processInvocation(<wbr/>LifecycleCMTTxInterceptor.<wbr/>java:70)<br> &#62;&#62; &#62; [wildfly-ejb3-10.1.0.Final.<wbr/>jar:10.1.0.Final]<br> &#62;&#62; &#62;<br> &#62;&#62;<br> &#62;&#62; A very similar report [1] was solved by downgrading postgresql-jdbc.<br> &#62;&#62;<br> &#62;&#62; [1] <a href="http://lists.ovirt.org/pipermail/users/2017-April/081517.html" target="_blank">http://lists.ovirt.org/<wbr/>pipermail/users/2017-April/<wbr/>081517.html</a><br> &#62;&#62;<br> &#62;&#62; Best,<br> <span class="ox-03f7f44247-HOEnZb"><span style="color: #888888;">&#62;&#62; --<br> &#62;&#62; Didi<br> <br> <br> <br> --<br> Didi<br> ______________________________<wbr/>_________________<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" target="_blank">http://lists.ovirt.org/<wbr/>mailman/listinfo/users</a><br> </span></span></blockquote></div><br></div></blockquote></body></html>