Bug 790073
Summary: | tons of bogus "Version of [Resource X] changed from [null] to []" INFO messages written to Agent log when RHQ Server DB is Oracle | ||
---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Ian Springer <ian.springer> |
Component: | Plugin Container | Assignee: | Charles Crouch <ccrouch> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 4.2 | CC: | ccrouch, hbrock, hrupp |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | 4.3 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-09-04 07:48:19 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: |
Description
Ian Springer
2012-02-13 15:43:28 UTC
The issue here is that when a newly discovered Resource is reported to the Server, Oracle normalizes a version of "" to NUL (as it does for all columns). This value then gets synced back to the Agent during the next Server->Agent sync. The next time the Agent auto-discovers the same Resource, its version is again "", and the Agent logs a message reporting that the version has changed from null to "", when it actually never truly changed. Fixed in master - http://git.fedorahosted.org/git/?p=rhq/rhq.git;a=commitdiff;h=7f05ccc. The solution was for the plugin container to immediately normalize values of "" for the Resource version or description to null. Previously, the opposite was actually being done (i.e. null was being normalized to ""). Bulk closing of some old issues |