Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1064317

Summary: daily reports are not showing
Product: Red Hat Enterprise Virtualization Manager Reporter: Pavel Zhukov <pzhukov>
Component: jasperreports-server-proAssignee: Shirly Radco <sradco>
Status: CLOSED CURRENTRELEASE QA Contact: Barak Dagan <bdagan>
Severity: high Docs Contact:
Priority: high    
Version: 3.1.0CC: acathrow, bazulay, iheim, jamills, mkalinin, nobody, pstehlik, pzhukov, Rhev-m-bugs, sradco, ukar, yeylon, ylavi
Target Milestone: ---Keywords: Reopened
Target Release: 3.4.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: infra
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-04-06 09:18:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Putty logs showing all commands out put.
none
Latest history DB collected on 22nd March 2014 none

Description Pavel Zhukov 2014-02-12 12:13:16 UTC
Description of problem:
Monthly report showing data but daily report not showing anything.

Version-Release number of selected component (if applicable):
jasperreports-server-pro-4.7.1-2.el6ev.noarch

How reproducible:
Unknown. No local reproducer available

Actual results:
Monthly reports work fine but not daily

Additional info:
rhevm-setup was interuppted at least four times. Not sure if it's relevant here.

Comment 14 Shirly Radco 2014-03-20 10:39:03 UTC
Hi Udayendu,

The Monthly reports uses daily aggregated.
and the Daily reports uses Hourly aggregated data. 

Lets try and see if the aggregation to Hourly is working.

For that you need access to the clients "ovirt_engine_history" database.

I will use the "hosts" data just for an example (because you say you see this issue in all of the reports)


1. After connecting to the client by ssh in the command line please run:

   psql -U postgres ovirt_engine_history

   You are supposed to be logged into the database :

   "ovirt_engine_history-#"

   Then run : 

   SELECT * FROM host_hourly_history ORDER BY history_datetime DESC;

   See if you get result. See if they are from recent day. Let Me know.


2. If you do get results lets see if the view is also providing us with results.

   Run : 

   SELECT * FROM v3_3_statistics_hosts_resources_usage_hourly ORDER BY history_datetime DESC;

   See if you get result.  See if they are from recent day. Let Me know.

3. Please run this query also and send me the results:

   SELECT var_name, var_value, var_datetime FROM history_configuration;


Please let me know if this is clear and what you find.

Comment 15 Udayendu Sekhar Kar 2014-03-21 19:51:31 UTC
Created attachment 877472 [details]
Putty logs showing all commands out put.

Comment 22 Udayendu Sekhar Kar 2014-03-24 20:34:36 UTC
Created attachment 878163 [details]
Latest history DB collected on 22nd March 2014

Comment 24 Shirly Radco 2014-03-25 04:30:22 UTC
(In reply to Udayendu Sekhar Kar from comment #22)
> Created attachment 878163 [details]
> Latest history DB collected on 22nd March 2014

The DB dump you and Marina attached can not be uploaded correctly.
Please use this command in order to create it again:

pg_dump -d < database name > -f < filename > -C -D -U < user >