Bug 732571
Summary: | Admin Test page operation Snapshot Measurement Tables (snapshotMeasurementTables)fails against Oracle | |||
---|---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Larry O'Leary <loleary> | |
Component: | Core UI | Assignee: | Jay Shaughnessy <jshaughn> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> | |
Severity: | high | Docs Contact: | ||
Priority: | high | |||
Version: | 3.0.1 | CC: | bkramer, fbrychta, hrupp, jshaughn | |
Target Milestone: | --- | |||
Target Release: | JON 3.1.1 | |||
Hardware: | All | |||
OS: | All | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 830911 (view as bug list) | Environment: |
JON 2.4.1
Oracle 10i database
|
|
Last Closed: | 2013-09-03 15:03:42 UTC | Type: | --- | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 729848, 830911 |
Description
Larry O'Leary
2011-08-23 00:15:17 UTC
We will have to make one more change in the snapshotQuery in order to run this sql properly on Oracle. Currently the string contains "...where ms.enabLed = true ..." and this works fine for Postgres but in Oracle it results in "ORA-01722:invalid number". This is because the ms.enabled (RHQ_MEASUREMENT_SCHED.ENABLED) column in Oracle is not a boolean value but a number, 1=TRUE and 0=FALSE. Marking for inclusion in JON3.0.1, this should be an easy fix and should help with troubleshooting issues. I think I spoke to soon on this issue. I'm pushing it out of 3.0.1 and into 3.1.0 for *consideration* as part of that release. We really need to decide upon which, if any, of these admin/* pages we are going to "support" folks using. If this is one of those pages, it needs to be tested and verified by QE just like any other page in the UI This operation is supposed to provide the total metric count from the raw tables. This information is necessary for diagnostic and this bug was found during investigation of a database performance issue a user raised. The alternative is to provide the user with a very big query that they can execute against the database using the SQL test page. As such, I can not say this is required but if we decide not to do it we should remove this page/feature as it is currently broken for all supported databases. Fixed upstream. Waiting for release branch to open. Release/jon3.1.x commit: d5cd27a9c067315b55b8601bc5acf3ef6b34fa69 Fixed this for Oracle. Also, change the JSP page to better display the results for this and some other options. Cherry-pick of master: b0e2a5a830ce54f0c902be9dc844fbe701182fdc JON 3.1.1 ER1 build is available. Moving to ON_QA. https://brewweb.devel.redhat.com/buildinfo?buildID=226942 Verified on 3.1.1.ER1 Bulk closing of old issues in VERIFIED state. |