Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle updated VMware refresh log timings #1

Closed

Conversation

agrare
Copy link

@agrare agrare commented Mar 23, 2016

Support both older VMware refresh logging as well as the newer generic refresh mixin in the ems_refefresh log parsing tool.

cc @blomquisg

blomquisg and others added 2 commits March 22, 2016 19:25
Updated the ems_refresher_mixin to support a pattern for targeted refresh.  This
was largely taken from the VMWare targeted refresh process.

The major difference with the targeted refresh approach is that refreshers
should collect inventory from the provider separate from parsing that inventory.
In many more recent refreshers, the inventory is collected as it's being parsed.
The problem this poses with targeted refresh is that it doesn't allow the
refresher to filter the data down to the specific targets that should be
refreshed.

This implementation allows "legacy" refreshers (those that don't yet support
targeted refresh) to continue to collect inventory while parsing it.  However,
as providers implement targeted refresh, they should adopt the process of
separately collecting inventory.

The other major change with this implementation is that now the VMWare refresher
uses the same ems_refersher_mixin that all other refreshers use.  This helps to
solidify the ability for the mixin to handle both non-targeted and targeted
refreshes.

The major caveat to this approach is that the logging from the old VMWare
refresher is slightly different from the ems_refresher_mixin.  If log analysis
tools exist that rely on the old logging, they will need to be updated to
examine the new logging labels (see updated Benchmark calls in this commit for
details).
Support both older VMware refresh logging as well as the newer
generic refresh mixin
@blomquisg blomquisg force-pushed the targeted_refresh_mixin branch 2 times, most recently from 7122713 to 4050485 Compare April 2, 2016 00:49
@agrare agrare closed this Apr 11, 2016
@agrare agrare deleted the targeted_refresh_mixin branch May 23, 2016 14:08
blomquisg pushed a commit that referenced this pull request Jun 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants