Bug 536099 (RHQ-486)

Summary: PC: add methods in InventoryManager for doing service and server scans rooted at a particular Resource
Product: [Other] RHQ Project Reporter: Ian Springer <ian.springer>
Component: Plugin ContainerAssignee: Ian Springer <ian.springer>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0CC: asantos, ccrouch, cwelton, jshaughn
Target Milestone: ---Keywords: Improvement
Target Release: ---   
Hardware: All   
OS: All   
URL: http://jira.rhq-project.org/browse/RHQ-486
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-26 22:08:01 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: 620933    

Description Ian Springer 2008-05-15 17:12:00 UTC
The current executeServerScanImmediately() method will scan for all server Resource types, and the current executeServiceScanImmediately() will scan all server Resources for services. In a number of scenarios, we need to refresh only a certain server Resource type (e.g. when a patch has been applied to a server Resource and we need to update its version) or only the services below a certain server Resource (e.g. when a patch has been applied to a server Resource and we need to update its child Resources' versions, or when a server Resource's plugin config has been changed and we need to rescan it for child services). In these cases, for efficiency/performance sake, we should provide new methods in InventoryManager for scanning only what is necessary and use those methods instead.


Comment 1 Joseph Marques 2008-07-20 16:48:59 UTC
ian, before you do performance testing for bi-directional agent-server inventory sync, can you see if you can sneak this in?  it's related work, so one test cycle could verify both of them.

Comment 2 Red Hat Bugzilla 2009-11-10 21:10:19 UTC
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-486
This bug is related to RHQ-417


Comment 3 Jay Shaughnessy 2013-02-26 22:08:01 UTC
Closing due to inactivity. No known issues here at the moment.