<div dir="ltr"><div><div><div>I&#39;ve just upgraded Ovirt3.6 to 4.0.2 and I can&#39;t get the dashboard to work.<br><br></div><div>The dashboard page displays this error:<br><br><span style="font-size:15px">Could not fetch dashboard data. Please ensure that data warehouse is properly installed and configured.</span><br></div><div><br></div><div>Running on CentOS 7.2<br></div><div>PostgreSQL server 9.5.4 (remote)<br></div><div><br>I see these errors being generated in engine.log when I try to display the dash board<br><br> ERROR [org.ovirt.engine.ui.frontend.server.dashboard.DashboardDataServlet] (default task-6) [] Unable to retrieve dashboard data: org.ovirt.engine.ui.frontend.server.dashboard.DashboardDataException: Error while running SQL query<br>        at org.ovirt.engine.ui.frontend.server.dashboard.dao.BaseDao.runQuery(BaseDao.java:60) [frontend.jar:]<br>        at org.ovirt.engine.ui.frontend.server.dashboard.dao.HostDwhDao.getTotalCpuMemCount(HostDwhDao.java:78) [frontend.jar:]<br>...<br>Caused by: javax.resource.ResourceException: IJ031083: Wrong driver class [org.postgresql.Driver] for this connection URL [None]<br>        at org.jboss.jca.adapters.jdbc.local.LocalManagedConnectionFactory.createLocalManagedConnection(LocalManagedConnectionFactory.java:321)<br>        ... 66 more<br><br><br><br><br></div>Google returned some hints that it&#39;s probably the postgresql java version, I did have 9.4.xxx installed bu have since downgraded to postgresql-jdbc-9.2.1002-5<br><br></div>I checked the class path generated by dwh-classpath.sh which seems to be using the correct JDBC driver.<br><br># /usr/share/ovirt-engine-dwh/bin/dwh-classpath.sh run<br>:/usr/share/java/dom4j.jar:/usr/share/java/apache-commons-collections.jar:/usr/share/java/postgresql-jdbc.jar<br><br># rpm -qf /usr/share/java/postgresql-jdbc.jar<br>postgresql-jdbc-9.2.1002-5.el7.noarch<br><br><br></div>Any suggestions on what to try next?<br></div>