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

Add an inventory_collector_worker base class #16198

Merged
merged 2 commits into from
Oct 30, 2017

Conversation

agrare
Copy link
Member

@agrare agrare commented Oct 13, 2017

Add a basic inventory collector worker which can be used for sending update-driven inventory payloads to a RefreshWorker for saving.

The goal here is to use the Kubernetes watch_pods() API to ensure that we never miss a pod if it is created and deleted while a refresh is running (already real world issue with customers).

Required for ManageIQ/manageiq-providers-kubernetes#129 and ManageIQ/manageiq-providers-openshift#52

@miq-bot
Copy link
Member

miq-bot commented Oct 24, 2017

This pull request is not mergeable. Please rebase and repush.

@agrare agrare force-pushed the containers_inventory_collector_worker branch from 8ee1bb2 to 12ee7ff Compare October 24, 2017 15:30
@agrare agrare changed the title [WIP] Add an inventory_collector_worker base class Add an inventory_collector_worker base class Oct 24, 2017
@agrare agrare removed the wip label Oct 24, 2017
@agrare
Copy link
Member Author

agrare commented Oct 24, 2017

@Fryguy @blomquisg @Ladas can you guys review?

Copy link
Contributor

@Ladas Ladas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks awesomely great. 👍

Haven't try to run the newest version, will try it tomorrow, but that is not a merge blocker. :-)

@agrare agrare force-pushed the containers_inventory_collector_worker branch from 12ee7ff to 2d75a49 Compare October 26, 2017 12:38
@miq-bot
Copy link
Member

miq-bot commented Oct 26, 2017

Checked commits agrare/manageiq@49c8bb1~...2d75a49 with ruby 2.3.3, rubocop 0.47.1, and haml-lint 0.20.0
2 files checked, 1 offense detected

app/models/manageiq/providers/base_manager/inventory_collector_worker.rb

@Fryguy Fryguy merged commit f174854 into ManageIQ:master Oct 30, 2017
@Fryguy Fryguy added this to the Sprint 72 Ending Oct 30, 2017 milestone Oct 30, 2017
@agrare agrare deleted the containers_inventory_collector_worker branch January 16, 2018 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants