Red Hat Bugzilla – Bug 851634
Inventory sync test automation tracker
Last modified: 2012-08-24 11:25:02 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):
Steps to Reproduce: