diff --git a/app/models/manageiq/providers/ovirt/infra_manager/host.rb b/app/models/manageiq/providers/ovirt/infra_manager/host.rb index 2c4e4d68..f1ba2680 100644 --- a/app/models/manageiq/providers/ovirt/infra_manager/host.rb +++ b/app/models/manageiq/providers/ovirt/infra_manager/host.rb @@ -3,20 +3,6 @@ def provider_object(connection = nil) ManageIQ::Providers::Ovirt::InfraManager::OvirtServices::V4.new(:ems => ext_management_system).get_host_proxy(self, connection) end - def verify_credentials(auth_type = nil, options = {}) - raise MiqException::MiqHostError, "No credentials defined" if missing_credentials?(auth_type) - if auth_type.to_s != 'ipmi' && os_image_name !~ /linux_*/ - raise MiqException::MiqHostError, "Logon to platform [#{os_image_name}] not supported" - end - case auth_type.to_s - when 'ipmi' then verify_credentials_with_ipmi(auth_type) - else - verify_credentials_with_ssh(auth_type, options) - end - - true - end - supports :capture supports :quick_stats do unless ext_management_system.supports?(:quick_stats)