Skip to content

Commit

Permalink
Require miq_fault_tolerant_vim in raw_connect
Browse files Browse the repository at this point in the history
Need to require miq_fault_tolerant_vim in raw_connect to validate
credentials.

`WARN -- :MIQ(ManageIQ::Providers::Vmware::InfraManager.validate_connection) #<NameError: uninitialized constant VimConnectMixin::ClassMethods::MiqVim>`

https://bugzilla.redhat.com/show_bug.cgi?id=1512019
  • Loading branch information
agrare committed Nov 20, 2017
1 parent 2a3700b commit 2f52e7c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/models/mixins/vim_connect_mixin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ def with_provider_connection(options = {})
module ClassMethods
def raw_connect(options)
require 'handsoap'
require 'VMwareWebService/miq_fault_tolerant_vim'

options[:pass] = MiqPassword.try_decrypt(options[:pass])
validate_connection do
Expand Down

0 comments on commit 2f52e7c

Please sign in to comment.