<div dir="ltr"><div class="gmail-h7 gmail-hn" tabindex="-1" style="font-size:medium"><div class="gmail-Bk" style="width:502px"><div class="gmail-G3 gmail-G2"><div id="gmail-:1q2"><div class="gmail-adn gmail-ads" style="padding-bottom:20px"><div class="gmail-gs"><div id="gmail-:1rp" class="gmail-ii gmail-gt gmail-adP gmail-adO" style="font-size:12px"><div id="gmail-:1rq" class="gmail-a3s gmail-aXjCH gmail-m158f37dea7dc39a5"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>Hi Shubham,</div><div><br></div><div>In case you do not need the DWH setup, you can disable the Dashboard background queries via the ovirt-engine.conf.</div><div><br></div><div>Please, add the following file to your $DEV_OVIRT_PREFIX folder:</div><div> "$DEV_OVIRT_PREFIX/etc/ovirt-<wbr>engine/engine.conf.d/99-no-<wbr>dashboard.conf"</div><div>and add it the following content:</div><div><br> #<br> # Enable/disable updating the dashboard DB query caches at regular intervals.<br> #<br> DASHBOARD_CACHE_UPDATE=false<br><br></div><div>This should stop the error message</div><div><br></div><div>Regards,</div><div>Maor</div></div><span class="gmail-HOEnZb"><font color="#888888"><br clear="all"><br>-- <br><div class="gmail-m_-4678368324699580744gmail_signature"><div dir="ltr"><div><div>Scott Dickerson<br></div>Senior Software Engineer<br></div>RHEV-M Engineering - UX Team<br>Red Hat, Inc<br></div></div></font></span></div></div><br>______________________________<wbr>_________________<br>Devel mailing list<br><a href="mailto:Devel@ovirt.org">Devel@ovirt.org</a><br><a href="http://lists.phx.ovirt.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.phx.ovirt.org/<wbr>mailman/listinfo/devel</a><div class="gmail-yj6qo"></div></div></div><div class="gmail-hi"></div></div><div class="gmail-ajx"></div></div><div class="gmail-gA gmail-gt gmail-acV" style="font-size:12.8px"><div class="gmail-gB gmail-xu"><div class="gmail-ip gmail-iq" style="padding-left:0px"></div></div></div></div></div></div></div><div class="gmail-h7 gmail-ie" tabindex="-1" style="font-size:medium"><div class="gmail-Bk" style="width:502px"><div class="gmail-G3 gmail-G2"><div id="gmail-:1rg"><div class="gmail-adn gmail-ads" style="padding-bottom:20px"><div class="gmail-aju"><div class="gmail-aCi"><img id="gmail-:0_246-e" name=":0" src="https://ssl.gstatic.com/ui/v1/icons/mail/profile_mask_2x.png" class="gmail-ajn" style="background-color: rgb(160, 234, 201);"></div></div><div class="gmail-gs"><div class="gmail-gE gmail-iv gmail-gt" style="font-size:12.8px"><table cellpadding="0" class="gmail-cf gmail-gJ"><tbody><tr class="gmail-acZ"><td class="gmail-gF gmail-gK" style="width:291.333px"><table cellpadding="0" class="gmail-cf gmail-ix" style="width:291.333px"><tbody><tr><td><h3 class="gmail-iw"><span name="Yanir Quinn" class="gmail-gD" style="font-size:12.8px">Yanir Quinn</span> <span class="gmail-go"><a href="mailto:yquinn@redhat.com">yquinn@redhat.com</a></span> <span class="gmail-go"><a target="_blank" href="https://support.google.com/mail/answer/1311182?hl=en&authuser=1" class="gmail-acP" style="color:rgb(34,34,34)">via</a> <a href="http://ovirt.org">ovirt.org</a> </span></h3></td></tr></tbody></table></td><td class="gmail-gH"><div class="gmail-gK"><span id="gmail-:1rz" class="gmail-g3" title="Mon, Dec 12, 2016 at 5:19 PM" alt="Mon, Dec 12, 2016 at 5:19 PM">12/12/16</span><div class="gmail-zd gmail-bi4" tabindex="0" style="outline:0px"><span class="gmail-T-KT"><img class="gmail-f gmail-T-KT-JX" src="https://mail.google.com/mail/u/1/images/cleardot.gif" alt=""></span></div></div></td><td class="gmail-gH"></td><td class="gmail-gH gmail-acX" rowspan="2"><div class="gmail-T-I gmail-J-J5-Ji gmail-T-I-Js-IF gmail-aaq gmail-T-I-ax7 gmail-L3" tabindex="0" style="user-select: none;"><img class="gmail-hB gmail-T-I-J3" src="https://mail.google.com/mail/u/1/images/cleardot.gif" alt=""></div><div id="gmail-:1ed" class="gmail-T-I gmail-J-J5-Ji gmail-T-I-Js-Gs gmail-aap gmail-T-I-awG gmail-T-I-ax7 gmail-L3" tabindex="0" style="user-select: none;"><img class="gmail-hA gmail-T-I-J3" src="https://mail.google.com/mail/u/1/images/cleardot.gif" alt=""></div></td></tr><tr class="gmail-acZ gmail-xD"><td colspan="3"><table cellpadding="0" class="gmail-cf gmail-adz" style="width:376.667px"><tbody><tr><td class="gmail-ady"><div class="gmail-iw gmail-ajw"><span class="gmail-hb">to <span dir="ltr" name="Scott" class="gmail-g2">Scott</span>, <span dir="ltr" name="devel" class="gmail-g2">devel</span></span></div><div class="gmail-ajy" tabindex="0"><img class="gmail-ajz" id="gmail-:1sk" src="https://mail.google.com/mail/u/1/images/cleardot.gif" alt=""></div></td></tr></tbody></table></td></tr></tbody></table></div><div class="gmail-qQVYZb"></div><div class="gmail-utdU2e"></div><div class="gmail-tx78Ic"></div><div class="gmail-aHl"></div><div id="gmail-:1f1" tabindex="-1"></div><div id="gmail-:1ri" class="gmail-ii gmail-gt gmail-adP gmail-adO" style="font-size:12px"><div id="gmail-:1rh" class="gmail-a3s gmail-aXjCH gmail-m158f39deab4641ba"><div dir="ltr"><div><div>setting DASHBOARD_CACHE_UPDATE=false indeed stops the issue.<br></div><br></div>Thanks.</div><div class="gmail-HOEnZb"><div class="gmail-adm"><div id="gmail-q_158f3b3a2b4ccf75_1" class="gmail-ajR gmail-h4"><div class="gmail-ajT" style="opacity:0.3"></div></div></div></div><br>______________________________<wbr>_________________<br>Devel mailing list<br><a href="mailto:Devel@ovirt.org">Devel@ovirt.org</a><br><a href="http://lists.phx.ovirt.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.phx.ovirt.org/<wbr>mailman/listinfo/devel</a></div></div></div></div></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 17, 2017 at 3:50 PM, Alexander Wels <span dir="ltr"><<a href="mailto:awels@redhat.com" target="_blank">awels@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Friday, April 14, 2017 9:38:23 AM EDT Sandro Bonazzola wrote:<br>
> Adding Martin<br>
><br>
<br>
That exception is telling you it can't run the queries needed to populate the<br>
dashboard. Highly likely you don't have the DWH properly installed/configured.<br>
That still shouldn't give you just a blank page, the code is written to<br>
display an error stating unable to display dashboard or something of that<br>
nature.<br>
<div class="HOEnZb"><div class="h5"><br>
> On Thu, Apr 13, 2017 at 5:51 AM, shubham dubey <<a href="mailto:sdubey504@gmail.com">sdubey504@gmail.com</a>> wrote:<br>
> > Hello,<br>
> > I have installed ovirt engine from source and installed all other required<br>
> > packages also,<br>
> > including ovirt-js-dependencies.But when I am login to the admin account I<br>
> > am getting blank<br>
> > page everytime. Some other pages are also coming empty sometime.<br>
> > I have pasted the logs for $HOME/ovirt-engine/share/<br>
> > ovirt-engine/services/ovirt-<wbr>engine/ovirt-engine.py start[1].The possible<br>
> > error log is<br>
> ><br>
> > 2017-04-13 09:07:09,902+05 ERROR [org.ovirt.engine.ui.frontend.<br>
> > server.dashboard.<wbr>DashboardDataServlet.<wbr>CacheUpdate.Utilization]<br>
> > (EE-ManagedThreadFactory-<wbr>default-Thread-1) [] Could not update the<br>
> > Utilization Cache: Error while running SQL query:<br>
> > org.ovirt.engine.ui.frontend.<wbr>server.dashboard.<wbr>DashboardDataException:<br>
> > Error while running SQL query<br>
> ><br>
> > at<br>
> > org.ovirt.engine.ui.frontend.<wbr>server.dashboard.dao.BaseDao.<wbr>runQuery<br>
> > (BaseDao.java:60)><br>
> > [frontend.jar:]<br>
> ><br>
> > at org.ovirt.engine.ui.frontend.<wbr>server.dashboard.dao.<wbr>HostDwhDao.<br>
> ><br>
> > getTotalCpuMemCount(<wbr>HostDwhDao.java:78) [frontend.jar:]<br>
> ><br>
> > at org.ovirt.engine.ui.frontend.<wbr>server.dashboard.<br>
> ><br>
> > HourlySummaryHelper.<wbr>getTotalCpuMemCount(<wbr>HourlySummaryHelper.java:43)<br>
> > [frontend.jar:]<br>
> ><br>
> > at org.ovirt.engine.ui.frontend.<wbr>server.dashboard.<br>
> ><br>
> > HourlySummaryHelper.<wbr>getCpuMemSummary(<wbr>HourlySummaryHelper.java:21)<br>
> > [frontend.jar:]<br>
> ><br>
> > at org.ovirt.engine.ui.frontend.<wbr>server.dashboard.<br>
> ><br>
> > DashboardDataServlet.<wbr>lookupGlobalUtilization(<wbr>DashboardDataServlet.java:294<br>
> > )<br>
> > [frontend.jar:]<br>
> ><br>
> > at org.ovirt.engine.ui.frontend.<wbr>server.dashboard.<br>
> ><br>
> > DashboardDataServlet.<wbr>getDashboard(<wbr>DashboardDataServlet.java:268)<br>
> > [frontend.jar:]<br>
> ><br>
> > at org.ovirt.engine.ui.frontend.<wbr>server.dashboard.<br>
> ><br>
> > DashboardDataServlet.<wbr>populateUtilizationCache(<wbr>DashboardDataServlet.java:23<br>
> > 1) [frontend.jar:]<br>
> ><br>
> > at org.ovirt.engine.ui.frontend.<wbr>server.dashboard.<br>
> ><br>
> > DashboardDataServlet.access$<wbr>000(DashboardDataServlet.java:<wbr>26)<br>
> > [frontend.jar:]<br>
> ><br>
> > at org.ovirt.engine.ui.frontend.<wbr>server.dashboard.<br>
> ><br>
> > DashboardDataServlet$1.run(<wbr>DashboardDataServlet.java:106) [frontend.jar:]<br>
> ><br>
> > at<br>
> > java.util.concurrent.<wbr>Executors$RunnableAdapter.<wbr>call(Executors.java<br>
> > :511)<br>
> ><br>
> > [rt.jar:1.8.0_121]<br>
> ><br>
> > at java.util.concurrent.<wbr>FutureTask.runAndReset(<wbr>FutureTask.java:308)<br>
> ><br>
> > [rt.jar:1.8.0_121]<br>
> ><br>
> > at org.glassfish.enterprise.<wbr>concurrent.internal.<br>
> ><br>
> > ManagedScheduledThreadPoolExec<wbr>utor$<wbr>ManagedScheduledFutureTask.<wbr>access$201(<br>
> > ManagedScheduledThreadPoolExec<wbr>utor.java:383) [javax.enterprise.concurrent-<br>
> > 1.0.jar:]<br>
> ><br>
> > at org.glassfish.enterprise.<wbr>concurrent.internal.<br>
> ><br>
> > ManagedScheduledThreadPoolExec<wbr>utor$<wbr>ManagedScheduledFutureTask.<wbr>run(<br>
> > ManagedScheduledThreadPoolExec<wbr>utor.java:534) [javax.enterprise.concurrent-<br>
> > 1.0.jar:]<br>
> ><br>
> > at<br>
> > java.util.concurrent.<wbr>ThreadPoolExecutor.runWorker(<wbr>ThreadPoolExecut<br>
> > or.java:1142)><br>
> > [rt.jar:1.8.0_121]<br>
> ><br>
> > at<br>
> > java.util.concurrent.<wbr>ThreadPoolExecutor$Worker.run(<wbr>ThreadPoolExecu<br>
> > tor.java:617)><br>
> > [rt.jar:1.8.0_121]<br>
> ><br>
> > at java.lang.Thread.run(Thread.<wbr>java:745) [rt.jar:1.8.0_121]<br>
> > at org.glassfish.enterprise.<wbr>concurrent.<wbr>ManagedThreadFactoryImpl$<br>
> ><br>
> > ManagedThread.run(<wbr>ManagedThreadFactoryImpl.java:<wbr>250)<br>
> > [javax.enterprise.concurrent-<wbr>1.0.jar:]<br>
> > Caused by: java.sql.SQLException: javax.resource.<wbr>ResourceException:<br>
> > IJ000453: Unable to get managed connection for java:/DWHDataSource<br>
> ><br>
> > at org.jboss.jca.adapters.jdbc.<wbr>WrapperDataSource.<wbr>getConnection(<br>
> ><br>
> > WrapperDataSource.java:146)<br>
> ><br>
> > at org.jboss.as.connector.<wbr>subsystems.datasources.<wbr>WildFlyDataSource.<br>
> ><br>
> > getConnection(<wbr>WildFlyDataSource.java:66)<br>
> ><br>
> > at<br>
> > org.ovirt.engine.ui.frontend.<wbr>server.dashboard.dao.BaseDao.<wbr>runQuery<br>
> > (BaseDao.java:53)><br>
> > [frontend.jar:]<br>
> ><br>
> > ... 16 more<br>
> ><br>
> > Caused by: javax.resource.<wbr>ResourceException: IJ000453: Unable to get<br>
> > managed connection for java:/DWHDataSource<br>
> ><br>
> > at org.jboss.jca.core.<wbr>connectionmanager.<wbr>AbstractConnectionManager.<br>
> ><br>
> > getManagedConnection(<wbr>AbstractConnectionManager.<wbr>java:656)<br>
> ><br>
> > at org.jboss.jca.core.<wbr>connectionmanager.tx.<wbr>TxConnectionManagerImpl.<br>
> ><br>
> > getManagedConnection(<wbr>TxConnectionManagerImpl.java:<wbr>429)<br>
> ><br>
> > at org.jboss.jca.core.<wbr>connectionmanager.<wbr>AbstractConnectionManager.<br>
> ><br>
> > allocateConnection(<wbr>AbstractConnectionManager.<wbr>java:747)<br>
> ><br>
> > at org.jboss.jca.adapters.jdbc.<wbr>WrapperDataSource.<wbr>getConnection(<br>
> ><br>
> > WrapperDataSource.java:138)<br>
> ><br>
> > ... 18 more<br>
> ><br>
> > Caused by: javax.resource.<wbr>ResourceException: IJ031084: Unable to create<br>
> > connection<br>
> ><br>
> > at org.jboss.jca.adapters.jdbc.<wbr>local.<wbr>LocalManagedConnectionFactory.<br>
> ><br>
> > createLocalManagedConnection(<wbr>LocalManagedConnectionFactory.<wbr>java:345)<br>
> ><br>
> > at org.jboss.jca.adapters.jdbc.<wbr>local.<wbr>LocalManagedConnectionFactory.<br>
> ><br>
> > getLocalManagedConnection(<wbr>LocalManagedConnectionFactory.<wbr>java:352)<br>
> ><br>
> > at org.jboss.jca.adapters.jdbc.<wbr>local.<wbr>LocalManagedConnectionFactory.<br>
> ><br>
> > createManagedConnection(<wbr>LocalManagedConnectionFactory.<wbr>java:287)<br>
> ><br>
> > at org.jboss.jca.core.<wbr>connectionmanager.pool.mcp.<br>
> ><br>
> > SemaphoreConcurrentLinkedDeque<wbr>ManagedConnectionPool.<br>
> > createConnectionEventListener(<wbr>SemaphoreConcurrentLinkedDeque<br>
> > ManagedConnectionPool.java:<wbr>1320)<br>
> ><br>
> > at org.jboss.jca.core.<wbr>connectionmanager.pool.mcp.<br>
> ><br>
> > SemaphoreConcurrentLinkedDeque<wbr>ManagedConnectionPool.<wbr>getConnection(<br>
> > SemaphoreConcurrentLinkedDeque<wbr>ManagedConnectionPool.java:<wbr>496)<br>
> ><br>
> > at org.jboss.jca.core.<wbr>connectionmanager.pool.<wbr>AbstractPool.<br>
> ><br>
> > getSimpleConnection(<wbr>AbstractPool.java:617)<br>
> ><br>
> > at org.jboss.jca.core.<wbr>connectionmanager.pool.<br>
> ><br>
> > AbstractPool.getConnection(<wbr>AbstractPool.java:589)<br>
> ><br>
> > at org.jboss.jca.core.<wbr>connectionmanager.<wbr>AbstractConnectionManager.<br>
> ><br>
> > getManagedConnection(<wbr>AbstractConnectionManager.<wbr>java:590)<br>
> ><br>
> > ... 21 more<br>
> ><br>
> > [1]<a href="https://pastebin.com/UZ5VFH7H" rel="noreferrer" target="_blank">https://pastebin.com/<wbr>UZ5VFH7H</a><br>
> ><br>
> ><br>
> > Thanks,<br>
> > Shubham<br>
> ><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" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br>
<br>
<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" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br>
</div></div></blockquote></div><br></div>