Bug 895743
| Summary: | Back-port commit 3605ce3 for better logging and recovery attempt of stale resource situation similar to what was identified in bug 884338 | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Operations Network | Reporter: | Larry O'Leary <loleary> |
| Component: | Inventory | Assignee: | RHQ Project Maintainer <rhq-maint> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | Mike Foley <mfoley> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | JON 3.1.1 | CC: | jshaughn |
| Target Milestone: | --- | ||
| Target Release: | JON 3.2.0 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-03-01 00:38:29 UTC | Type: | Bug |
| 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: | 884338 | ||
| Bug Blocks: | |||
|
Description
Larry O'Leary
2013-01-15 22:12:09 UTC
We have had another case in where this issue has occurred in an upgraded environment. The issue was caused by resources that are in inventory not having a row in rhq_availability or not having a "latest" availability row in rhq_availability (end_time is null). I suggest that we also implement a database upgrade fix to handle situations where this can occur. The query which has worked to resolve this issue can be seen in knowledge solution 268103[1]. [1]: https://access.redhat.com/knowledge/solutions/268103 I don't think we need to backport given that 3.2 will be generated off of to-be-created branch off master and all of the changes are in master. We may be able to close this. Asking Larry. The reason it is here in a NEW state is due to comment 1. As the issue reported in the original bug has occurred several more times, the request was to get the query added to the db schema upgrade for 3.2. However, considering all of the confusion, I went a head and re-opened the original bug 884338 and added the same comment there as well as the duplicate bug 916373. Considering those are covered there and the issue that introduced this commit is also being tested there, I will CLOSE this as NEXTRELEASE. |