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

Remove v3 api form SSA #394

Merged
merged 1 commit into from Aug 14, 2019
Merged

Conversation

borod108
Copy link
Contributor

Remove the usage of the ovirt gem and version 3 api from the SSA

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1535782

Depends on: ManageIQ/manageiq-smartstate#98

Remove the usage of the ovirt gem and version 3 api from the SSA

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1535782
@miq-bot
Copy link
Member

miq-bot commented Jul 28, 2019

Checked commit borod108@de7eb0e with ruby 2.4.6, rubocop 0.69.0, haml-lint 0.20.0, and yamllint 1.10.0
2 files checked, 1 offense detected

app/models/manageiq/providers/redhat/inventory/collector.rb

@borod108
Copy link
Contributor Author

@agrare what say you?

Copy link
Member

@agrare agrare left a comment

Choose a reason for hiding this comment

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

Nice @borod108 just the one spacing issue then this LGTM

@@ -151,7 +151,7 @@ def connect_to_ems(ost)
$log.info "#{log_header}: Connecting to [#{ems_display_text}] for VM:[#{@vm_cfg_file}]"

begin
ost.miqRhevm = ext_management_system.rhevm_inventory(:force_v3 => true)
ost.miqRhevm = ManageIQ::Providers::Redhat::Inventory::Collector.new(ext_management_system, nil)
Copy link
Member

Choose a reason for hiding this comment

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

Not for this, but I think we should make the Collector initializer initialize(manager, target = nil) in core if it isn't required.

@agrare
Copy link
Member

agrare commented Jul 29, 2019

@borod108 these both say they depend on each other, if I had to guess I'd say this has to be merged first is that right?

@agrare agrare merged commit 343edb5 into ManageIQ:master Aug 14, 2019
@agrare agrare added this to the Sprint 118 Ending Aug 19, 2019 milestone Aug 14, 2019
simaishi pushed a commit that referenced this pull request Aug 21, 2019
@simaishi
Copy link
Contributor

Ivanchuk backport details:

$ git log -1
commit 33059244eec76754dba2632c0832fa2645276542
Author: Adam Grare <agrare@redhat.com>
Date:   Wed Aug 14 16:54:40 2019 -0400

    Merge pull request #394 from borod108/bugs/1535782smart_no_v3
    
    Remove v3 api form SSA
    
    (cherry picked from commit 343edb5d474accae5c9fe7c1af33fe4a7eba7bcc)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1535782

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.

None yet

4 participants