Bug 786614
Summary: | Drift errors in agent.log ,,,, NPE in DriftManager line #681 ... yet Drift seems to be working | |||
---|---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Mike Foley <mfoley> | |
Component: | drift | Assignee: | John Sanda <jsanda> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> | |
Severity: | medium | Docs Contact: | ||
Priority: | medium | |||
Version: | 3.0.1 | CC: | jsanda | |
Target Milestone: | --- | |||
Target Release: | RHQ 4.5.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 833061 (view as bug list) | Environment: | ||
Last Closed: | 2013-09-01 10:17:12 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: | 833061 |
Description
Mike Foley
2012-02-01 22:24:02 UTC
fyi ... <ips1> mfoley: ResourceContainer container = im.getResourceContainer(resourceId); <ips1> Resource resource = container.getResource(); <ips1> line 681 is the 2nd one i turned on agent debug ... and could not repro the error. perhaps the resolution is to add a little more info to the output or error so that if it happens again? I have adding a check and some error logging if the getAbsoluteBaseDirectory method cannot find a resource container for the resource id argument. The logging outputs the resource id and drift definition to facilitate additional debugging and also suggesting restarting the agent with the -u option. Lastly an IllegalArgumentException is thrown since the method should only receive a resource id for which a resource container exists. Changes have been pushed to master. commit hash: 7ac42911 Bulk closing of items that are on_qa and in old RHQ releases, which are out for a long time and where the issue has not been re-opened since. |