Bug 823665
Summary: | if one or more of the Resources in an avail report is no longer inventoried, then the avail manager EJB throws a hibernate ConstraintViolationException, and the entire avail report fails to be persisted | ||
---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Jay Shaughnessy <jshaughn> |
Component: | Plugin Container | Assignee: | Jay Shaughnessy <jshaughn> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> |
Severity: | high | Docs Contact: | |
Priority: | urgent | ||
Version: | 4.4 | CC: | ccrouch, hrupp, jsanda, skondkar |
Target Milestone: | --- | ||
Target Release: | JON 3.1.0 | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | 820700 | Environment: | |
Last Closed: | 2013-09-03 15:19:34 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: | 820700 | ||
Bug Blocks: | 782579 |
Description
Jay Shaughnessy
2012-05-21 20:04:39 UTC
Added negative test in release/jon3.1.x commit: a9ad0a840b7ce95d382e70056b2c32e4a572e904 Cherry picked fix in commit: c0dd7567ba824f281727324e56bf4d33603c4272 Verified on Version: 3.1.0.GA Build Number: b575169:a53e41e Followed the steps in bug#820700 and verified that the server log does not display the stack traces and it displays below messages: 2012-06-11 16:43:20,348 INFO [org.rhq.enterprise.server.measurement.AvailabilityManagerBean] Skipping mergeAvailabilityReport() for stale resource [Resource[id=10619, uuid=null, type=<null>, key=null, name=null, parent=<null>]]. These messages should go away after the next agent synchronization with the server. after inventory --sync, the messages did not appear in server log. Bulk closing of old issues in VERIFIED state. |