Skip to content

Commit d15babf

Browse files
committed
Fix Uninitialized constant Handsoap verify ESXi
Fix the uninitialized constant Handsoap failure when verifying host credentials. ``` ERROR -- evm: MIQ(host_controller-update): uninitialized constant ManageIQ::Providers::Vmware::InfraManager::HostEsx::Handsoap ```
1 parent 4ddb6f1 commit d15babf

File tree

1 file changed

+1
-0
lines changed
  • app/models/manageiq/providers/vmware/infra_manager

1 file changed

+1
-0
lines changed

app/models/manageiq/providers/vmware/infra_manager/host_esx.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ def vim_advanced_settings
144144
def verify_credentials_with_ws(auth_type = nil)
145145
raise "No credentials defined" if self.missing_credentials?(auth_type)
146146

147+
require "handsoap"
147148
begin
148149
with_provider_connection(:use_broker => false, :auth_type => auth_type) {}
149150
rescue SocketError, Errno::EHOSTUNREACH, Errno::ENETUNREACH => err

0 commit comments

Comments
 (0)