<div dir="ltr">Hi Andrea,<div><br></div><div>I believe that dwh not working is unrelated to what Liron mentioned.</div><div>Please open a bug on ovirt-dwh and attach the dwh log and ovirt_engine_dwh db dump, dashboard screenshot.</div><div><br></div><div>I will check what is the reason that data is not collected.</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><pre cols="72" style="white-space:pre-wrap;color:rgb(80,0,80)"><span style="font-family:arial,helvetica,sans-serif;font-size:12.8px">Best regards,</span></pre><pre cols="72" style="white-space:pre-wrap;color:rgb(80,0,80)"><span style="font-family:arial,helvetica,sans-serif;font-size:12.8px">Shirly Radco</span></pre><pre cols="72" style="white-space:pre-wrap;color:rgb(80,0,80)"><span style="font-family:arial,helvetica,sans-serif">BI Software Engineer
Red Hat Israel Ltd.
34 Jerusalem Road
Building A, 4th floor
Ra'anana, Israel 4350109</span></pre></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Tue, Jan 17, 2017 at 6:21 PM, Andrea Ghelardi <span dir="ltr"><<a href="mailto:a.ghelardi@iontrading.com" target="_blank">a.ghelardi@iontrading.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Liron,<br>
Thank you for your reply.<br>
<br>
So basically our DWH is not creating reports because vdsm is too slow in collecting results?<br>
I understand the message logged in engine is informational instead of warning, but still DWH is not working.<br>
Do you have any additional hint about what to check?<br>
<br>
Cheers<br>
AG<br>
<span class=""><br>
-----Original Message-----<br>
From: Liron Aravot [mailto:<a href="mailto:laravot@redhat.com">laravot@redhat.com</a>]<br>
Sent: Tuesday, January 17, 2017 2:30 PM<br>
To: Tal Nisan <<a href="mailto:tnisan@redhat.com">tnisan@redhat.com</a>><br>
Cc: Shirly Radco <<a href="mailto:sradco@redhat.com">sradco@redhat.com</a>>; users <<a href="mailto:users@ovirt.org">users@ovirt.org</a>>; Andrea Ghelardi <<a href="mailto:a.ghelardi@iontrading.com">a.ghelardi@iontrading.com</a>><br>
Subject: Re: [ovirt-users] Ovirt 4.0.5 reporting dashboard not working.<br>
<br>
</span><div><div class="h5">When a host is "connected" to a storage pool it monitors the active pool domains. When the domain monitoring results are reported back from the host, the first monitor run may haven't finished yet. In that case the returned status from vdsm is a dummy status and not an actual result - when getting such a status the engine logs it.<br>
We should change that log print to INFO rather then WARN.<br>
<br>
On Tue, Dec 20, 2016 at 12:17 PM, Tal Nisan <<a href="mailto:tnisan@redhat.com">tnisan@redhat.com</a>> wrote:<br>
> Liron, can you please check why does this "report isn't an actual<br>
> report" is appearing in the log?<br>
><br>
> On Mon, Dec 19, 2016 at 10:33 AM, Andrea Ghelardi<br>
> <<a href="mailto:a.ghelardi@iontrading.com">a.ghelardi@iontrading.com</a>> wrote:<br>
>><br>
>> Hello Shirly,<br>
>><br>
>> I restarted dwh service as per your suggestion with no success.<br>
>><br>
>><br>
>><br>
>> Here a sample of DWH log:<br>
>><br>
>> 2016-12-14<br>
>> 12:31:55|kdcGa9|GCXnuH|PIv06L|<wbr>OVIRT_ENGINE_DWH|<wbr>SampleTimeKeepingJob|D<br>
>> efault|5|tWarn|tWarn_1|Can not sample data, oVirt Engine is not<br>
>> updating the statistics. Please check your oVirt Engine status.|9704<br>
>><br>
>> 2016-12-14<br>
>> 12:32:20|ncjn2O|GCXnuH|PIv06L|<wbr>OVIRT_ENGINE_DWH|<wbr>SampleTimeKeepingJob|D<br>
>> efault|5|tWarn|tWarn_1|Can not sample data, oVirt Engine is not<br>
>> updating the statistics. Please check your oVirt Engine status.|9704<br>
>><br>
>> 2016-12-14<br>
>> 15:52:37|Xx2zzb|GCXnuH|PIv06L|<wbr>OVIRT_ENGINE_DWH|<wbr>SampleTimeKeepingJob|D<br>
>> efault|5|tWarn|tWarn_1|Can not sample data, oVirt Engine is not<br>
>> updating the statistics. Please check your oVirt Engine status.|9704<br>
>><br>
>> 2016-12-16 17:39:13|ETL Service Stopped<br>
>><br>
>> 2016-12-16 17:39:14|ETL Service Started<br>
>><br>
>> ovirtEngineDbDriverClass|org.<wbr>postgresql.Driver<br>
>><br>
>><br>
>> ovirtEngineHistoryDbJdbcConnec<wbr>tion|jdbc:postgresql://<wbr>localhost:5432/o<br>
</div></div>>> ovirtEngineHistoryDbJdbcConnec<wbr>tion|virt_engine_history?<wbr>sslfactory=org<br>
>> ovirtEngineHistoryDbJdbcConnec<wbr>tion|.postgresql.ssl.<wbr>NonValidatingFacto<br>
>> ovirtEngineHistoryDbJdbcConnec<wbr>tion|ry<br>
<span class="">>><br>
>> hoursToKeepDaily|0<br>
>><br>
>> hoursToKeepHourly|720<br>
>><br>
>> ovirtEngineDbPassword|********<wbr>**************<br>
>><br>
>> runDeleteTime|3<br>
>><br>
>><br>
>> ovirtEngineDbJdbcConnection|<wbr>jdbc:postgresql://localhost:<wbr>5432/engine?s<br>
</span>>> ovirtEngineDbJdbcConnection|<wbr>slfactory=org.postgresql.ssl.<wbr>NonValidatin<br>
>> ovirtEngineDbJdbcConnection|<wbr>gFactory<br>
<div><div class="h5">>><br>
>> runInterleave|20<br>
>><br>
>> limitRows|limit 1000<br>
>><br>
>> ovirtEngineHistoryDbUser|<wbr>ovirt_engine_history<br>
>><br>
>> ovirtEngineDbUser|engine<br>
>><br>
>> deleteIncrement|10<br>
>><br>
>> timeBetweenErrorEvents|300000<br>
>><br>
>> hoursToKeepSamples|24<br>
>><br>
>> deleteMultiplier|1000<br>
>><br>
>> lastErrorSent|2011-07-03 12:46:47.000000<br>
>><br>
>> etlVersion|4.0.5<br>
>><br>
>> dwhAggregationDebug|false<br>
>><br>
>> dwhUuid|a18846e6-d188-4170-<wbr>8549-aeb1c54fa390<br>
>><br>
>> ovirtEngineHistoryDbDriverClas<wbr>s|org.postgresql.Driver<br>
>><br>
>> ovirtEngineHistoryDbPassword|*<wbr>*********************<br>
>><br>
>><br>
>><br>
>><br>
>><br>
>> And here a sample of Engine.log<br>
>><br>
>><br>
>><br>
>> 2016-12-19 04:32:05,939 WARN<br>
>> [org.ovirt.engine.core.<wbr>vdsbroker.irsbroker.<wbr>IrsProxyData]<br>
>> (DefaultQuartzScheduler5) [53791585] Domain<br>
>> '05c01989-18a1-4a45-9ed6-<wbr>76c6badc728a:intel2-dstore04' report isn't<br>
>> an actual report<br>
>><br>
>> 2016-12-19 04:32:05,939 WARN<br>
>> [org.ovirt.engine.core.<wbr>vdsbroker.irsbroker.<wbr>IrsProxyData]<br>
>> (DefaultQuartzScheduler5) [53791585] Domain<br>
>> 'f0d8ea03-17ab-4feb-bbf8-<wbr>408e0550fc29:boole2-dstore1' report isn't an<br>
>> actual report<br>
>><br>
>><br>
>><br>
>><br>
>><br>
>> So apparently DWH is working, but that “report isn't an actual<br>
>> report” is quite obscure to me.<br>
>><br>
>> I need to clarify that (almost) all these storages are iscsi SAN<br>
>> hosted and have been detached from Ovirt3 installation and IMPORTED into Ovirt4.<br>
>><br>
>><br>
>><br>
>> Could you suggest for next step?<br>
>><br>
>> Thanks<br>
>><br>
>> Andrea<br>
>><br>
>><br>
>><br>
>> From: Shirly Radco [mailto:<a href="mailto:sradco@redhat.com">sradco@redhat.com</a>]<br>
>> Sent: Thursday, December 8, 2016 10:22 AM<br>
>> To: Andrea Ghelardi <<a href="mailto:a.ghelardi@iontrading.com">a.ghelardi@iontrading.com</a>><br>
>> Cc: users <<a href="mailto:users@ovirt.org">users@ovirt.org</a>><br>
>> Subject: Re: [ovirt-users] Ovirt 4.0.5 reporting dashboard not working.<br>
>><br>
>><br>
>><br>
>> Hi Andrea,<br>
>><br>
>><br>
>><br>
>> Please try to restart the dwh service.<br>
>><br>
>> It is the service that collects the samples data from the engine<br>
>> database to a data warehouse, ovirt_engine_history.<br>
>><br>
>> run:<br>
>><br>
>><br>
>><br>
>> service ovirt-engine-dwhd restart<br>
>><br>
>><br>
>><br>
>> and send me the log again.<br>
>><br>
>><br>
>><br>
>> If data is still not collected to ovirt_engine_history db I'll need<br>
>> you to open a bug so we can follow on this there.<br>
>><br>
>><br>
>> Best regards,<br>
>><br>
>> Shirly Radco<br>
>><br>
>> BI Software Engineer<br>
>><br>
>> Red Hat Israel Ltd.<br>
>><br>
>> 34 Jerusalem Road<br>
>><br>
>> Building A, 4th floor<br>
>><br>
>> Ra'anana, Israel 4350109<br>
>><br>
>><br>
>><br>
>> On Wed, Dec 7, 2016 at 5:43 PM, Andrea Ghelardi<br>
>> <<a href="mailto:a.ghelardi@iontrading.com">a.ghelardi@iontrading.com</a>> wrote:<br>
>><br>
>> Hello group,<br>
>><br>
>> I noticed that my dashboard does not show little colored “cubes”<br>
>> which show storage CPU and RAM usage history status.<br>
>><br>
>> Attached an image and logs from<br>
>> /var/log/ovirt-engine-dwh/<wbr>ovirt-engine-dwhd.log<br>
>><br>
>> Here’s an extract:<br>
>><br>
>><br>
>><br>
>> Exception in component tJDBCInput_5<br>
>><br>
>> org.postgresql.util.<wbr>PSQLException: ERROR: smallint out of range<br>
>><br>
>> at<br>
>> org.postgresql.core.v3.<wbr>QueryExecutorImpl.<wbr>receiveErrorResponse(QueryEx<br>
>> ecutorImpl.java:2157)<br>
>><br>
>> at<br>
>> org.postgresql.core.v3.<wbr>QueryExecutorImpl.<wbr>processResults(QueryExecutor<br>
>> Impl.java:1886)<br>
>><br>
>> at<br>
>> org.postgresql.core.v3.<wbr>QueryExecutorImpl.execute(<wbr>QueryExecutorImpl.ja<br>
>> va:255)<br>
>><br>
>> at<br>
>> org.postgresql.jdbc2.<wbr>AbstractJdbc2Statement.<wbr>execute(AbstractJdbc2Stat<br>
>> ement.java:555)<br>
>><br>
>> at<br>
>> org.postgresql.jdbc2.<wbr>AbstractJdbc2Statement.<wbr>executeWithFlags(Abstract<br>
>> Jdbc2Statement.java:403)<br>
>><br>
>> at<br>
>> org.postgresql.jdbc2.<wbr>AbstractJdbc2Statement.<wbr>executeQuery(AbstractJdbc<br>
>> 2Statement.java:283)<br>
>><br>
>> at<br>
>> ovirt_engine_dwh.<wbr>statisticssync_4_0.<wbr>StatisticsSync.tJDBCInput_<wbr>5Proces<br>
>> s(StatisticsSync.java:4056)<br>
>><br>
>> at<br>
>> ovirt_engine_dwh.<wbr>statisticssync_4_0.<wbr>StatisticsSync$3.run(<wbr>StatisticsSy<br>
>> nc.java:15979)<br>
>><br>
>> Exception in component tJDBCInput_8<br>
>><br>
>> org.postgresql.util.<wbr>PSQLException: ERROR: current transaction is<br>
>> aborted, commands ignored until end of transaction block<br>
>><br>
>> at<br>
>> org.postgresql.core.v3.<wbr>QueryExecutorImpl.<wbr>receiveErrorResponse(QueryEx<br>
>> ecutorImpl.java:2157)<br>
>><br>
>> at<br>
>> org.postgresql.core.v3.<wbr>QueryExecutorImpl.<wbr>processResults(QueryExecutor<br>
>> Impl.java:1886)<br>
>><br>
>> at<br>
>> org.postgresql.core.v3.<wbr>QueryExecutorImpl.execute(<wbr>QueryExecutorImpl.ja<br>
>> va:255)<br>
>><br>
>> at<br>
>> org.postgresql.jdbc2.<wbr>AbstractJdbc2Statement.<wbr>execute(AbstractJdbc2Stat<br>
>> ement.java:555)<br>
>><br>
>> at<br>
>> org.postgresql.jdbc2.<wbr>AbstractJdbc2Statement.<wbr>executeWithFlags(Abstract<br>
>> Jdbc2Statement.java:403)<br>
>><br>
>> at<br>
>> org.postgresql.jdbc2.<wbr>AbstractJdbc2Statement.<wbr>executeQuery(AbstractJdbc<br>
>> 2Statement.java:283)<br>
>><br>
>> at<br>
>> ovirt_engine_dwh.<wbr>statisticssync_4_0.<wbr>StatisticsSync.tJDBCInput_<wbr>8Proces<br>
>> s(StatisticsSync.java:5991)<br>
>><br>
>> at<br>
>> ovirt_engine_dwh.<wbr>statisticssync_4_0.<wbr>StatisticsSync$4.run(<wbr>StatisticsSy<br>
>> nc.java:16025)<br>
>><br>
>> 2016-11-27<br>
>> 14:27:40|tm1tT6|GCXnuH|0jajaj|<wbr>OVIRT_ENGINE_DWH|<wbr>StatisticsSync|Default<br>
>> |6|Java<br>
>> Exception|tJDBCInput_5|org.<wbr>postgresql.util.PSQLException:<wbr>ERROR:<br>
</div></div>>> Exception|smallint out<br>
<div class="HOEnZb"><div class="h5">>> of range|1<br>
>><br>
>><br>
>><br>
>> This is a quite fresh new installation, and restarting engine VM<br>
>> (hosted-engine –vm-stop + hosted-engine –vm-start) does not fix the problem.<br>
>><br>
>> Ovirt is behaving normally.<br>
>><br>
>><br>
>><br>
>> Any clue?<br>
>><br>
>> Cheers<br>
>><br>
>> Andrea<br>
>><br>
>><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>
>><br>
>><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>
>><br>
><br>
</div></div></blockquote></div><br></div>