-
Notifications
You must be signed in to change notification settings - Fork 29
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
Replaces missing Inventory::Builder in refresh runner #117
Replaces missing Inventory::Builder in refresh runner #117
Conversation
Inventory.build is used instead Inventory::Builder.build_full Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1632131
@miq-bot add_label bug |
Checked commit slemrmartin@a021065 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0 |
parser, collector = ManageIQ::Providers::Kubevirt::Builder.build_full(manager, persister) | ||
|
||
# execute parse and persist: | ||
parser.parse |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where do we run it now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Inventory.new
calls parser.parse
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks ok, once you remove wip
I will ack. Please verify it works.
@pkliczewski just verified, it's working. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
@miq-bot add_label hammer/yes |
Replaces missing Inventory::Builder in refresh runner (cherry picked from commit 30a0ba1) Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1632131
Hammer backport details:
|
With recent change [1] we introduced this regression where we stopped calling parser. This PR fixes the issue. Fixes: https://bugzilla.redhat.com/1649629 [1] ManageIQ#117
Full refresh fails in
ManageIQ::Providers::Kubevirt::InfraManager::RefreshWorker::Runner
.ManageIQ::Providers::Inventory.build
should be used instead ofManageIQ::Providers::Inventory::Kubevirt::Builder.build_full
, which was removed.Fixes BZ https://bugzilla.redhat.com/show_bug.cgi?id=1632131
caused by PR: #115
Steps to reproduce:
Click on Refresh on Kubevirt provider