| Summary: | Stored Procedure dbo.dwh_history_aggregate_level fails to execute successfully | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Juan J. Cavallaro <jcavallaro> | ||||
| Component: | ovirt-engine-dwh | Assignee: | Yaniv Lavi <ylavi> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | David Botzer <dbotzer> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 2.2.4 | CC: | acathrow, andriusb, cpelland, cww, dyasny, ecohen, iheim, kroberts, lpeer, pstehlik, Rhev-m-bugs, sgordon, yeylon, ykaul | ||||
| Target Milestone: | --- | Keywords: | ZStream | ||||
| Target Release: | 3.0.3 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | infra | ||||||
| Fixed In Version: | SI7 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | |||||||
| : | 786475 786477 (view as bug list) | Environment: | |||||
| Last Closed: | 2012-12-04 19:58:28 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | Infra | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Bug Depends On: | |||||||
| Bug Blocks: | 759133, 786475, 786477 | ||||||
| Deadline: | 2012-03-01 | ||||||
| Attachments: |
|
||||||
|
Description
Juan J. Cavallaro
2012-01-13 15:02:49 UTC
Workaround: Replace line 94: AVG(read_rate) AS read_rate_avg, AVG(write_rate) AS write_rate_avg With AVG(cast(read_rate as bigint)) AS read_rate_avg, AVG(cast(write_rate as bigint)) AS write_rate_avg Attaching proposed patch. Created attachment 555083 [details]
Patched dwh_history_aggregate_level Stored Procedure
A fix for this issue was pushed upstream and available in the link: http://gerrit.ovirt.org/1254 Yaniv Fixed, 3.1/si24.1 I have ran on 2 different setups for couple of days big numbers for Write Rate in Bytes -> for vm_disk_history views And data is ok and aggregated samples/hourly/daily Fixed, 3.1/si24.1 |