Bug 1234821 - Error after adding Virtual Machines to Statistics Daily domain in ad-hoc reports
Summary: Error after adding Virtual Machines to Statistics Daily domain in ad-hoc reports
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-reports
Version: 3.6.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ovirt-3.6.0-rc
: 3.6.0
Assignee: Shirly Radco
QA Contact: Petr Matyáš
URL:
Whiteboard:
Depends On: 1209022 1233193 1238110
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-23 10:25 UTC by Petr Matyáš
Modified: 2016-03-09 21:20 UTC (History)
9 users (show)

Fixed In Version: ovirt-3.6.0-beta2
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1257185 (view as bug list)
Environment:
Last Closed: 2016-03-09 21:20:03 UTC
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Jasperserver log (508.57 KB, text/plain)
2015-06-23 10:25 UTC, Petr Matyáš
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2016:0425 0 normal SHIPPED_LIVE rhevm-reports bug fix and enhancement update 2016-03-10 01:21:14 UTC

Description Petr Matyáš 2015-06-23 10:25:56 UTC
Created attachment 1042209 [details]
Jasperserver log

Description of problem:
Error after trying to add Virtual Machines field to either rows or columns in ad-hoc reports.

Version-Release number of selected component (if applicable):
3.6

How reproducible:
always on my setup

Steps to Reproduce:
1. open reports portal
2. create new ad-hoc report from statistics daily domain
3. try to add virtual machine field to either row or column

Actual results:
error

Expected results:
no error

Additional info:
ovirt-engine-3.6.0-0.0.master.20150622174128.gitd7d1d87.el6.noarch
ovirt-engine-dwh-3.6.0-0.0.master.20150617151108.20150617150804.gitfccbb7a.el6.noarch
rhevm-reports-3.6.0-0.0.master.20150602141841.el6ev.noarch
jasperreports-server-pro-6.0.1-1.el6ev.noarch

Comment 1 Shirly Radco 2015-06-24 08:49:10 UTC
For Statistics Daily and Hourly domains, If I add the Virtual Machines fields in parts I can add all of them with no error.
If I try adding all of them at the same time I get an error:

"An error occurred while performing the previous request."

And after that I get this error if I try adding any field. The ad hoc view is corrupted.

This seems like a Jasper server bug. I'm guessing due to the amount of fields in this section.

Yaniv, What do you think?

Comment 2 Shirly Radco 2015-06-24 11:22:25 UTC
After checking this there is a problem adding fields from  "Running Host Configuration" together with fields from "Users' Usage".

Comment 3 Yaniv Lavi 2015-06-29 07:29:23 UTC
It's cased by:
"public_v3_6_statistics_vms_users_usage_hourly"."currently_running_on_host" = "running_on_host"."history_id"

currently_running_on_host is UUID and history_id is int.
The join is wrong, needs to be current_host_configuration_version.

Comment 5 errata-xmlrpc 2016-03-09 21:20:03 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHEA-2016-0425.html


Note You need to log in before you can comment on or make changes to this bug.