Bug 851634

Summary: Inventory sync test automation tracker
Product: [Other] RHQ Project Reporter: John Sanda <jsanda>
Component: Agent, Communications Subsystem, Core Server, Plugin ContainerAssignee: RHQ Project Maintainer <rhq-maint>
Status: NEW --- QA Contact: Mike Foley <mfoley>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.4CC: hrupp
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On: 851640, 851650    
Bug Blocks:    

Description John Sanda 2012-08-24 10:26:26 EDT
Description of problem:
Inventory sync is the process by which an agent reconciles or synchronizes its local inventory with the server's inventory. The server's inventory is canonical. This means that once an inventory sync has finished the resources in the agent's local inventory should match the server's inventory (for that agent). For each resource the agent does some additional work to synchronize metric collection schedules and drift definitions. Again the goal is to make sure that agent's version of metric schedules and drift definitions is consistent with the ones on the server. The agent needs to ensure that collection intervals are correct and that any metric schedules or drift definitions that should be disabled are in fact disabled. These are just a couple examples of things that need to be kept in sync with respect to metric schedules and drift definitions.

Inventory sync is complex in large part due to the number of scenarios or permutations involved. For instance, there are times when the agent initiates a sync, and there are times when the server initiates the sync. Testing becomes even more of a challenge due to the necessary agent/server integration. This is an area (or I should say areas) of the code base that suffers from inadequate automated test coverage.

This bug will be used to track the various efforts that are involved with adding and improving test automation for inventory sync.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info: