diff --git a/octavia_tempest_plugin/tests/act_stdby_scenario/v2/test_active_standby_iptables.py b/octavia_tempest_plugin/tests/act_stdby_scenario/v2/test_active_standby_iptables.py index 83f2d507..397b98b8 100644 --- a/octavia_tempest_plugin/tests/act_stdby_scenario/v2/test_active_standby_iptables.py +++ b/octavia_tempest_plugin/tests/act_stdby_scenario/v2/test_active_standby_iptables.py @@ -185,7 +185,8 @@ class ActiveStandbyIptablesScenarioTest( ssh_key = cls._get_amphora_ssh_key() linux_client = remote_client.RemoteClient( amp['lb_network_ip'], CONF.load_balancer.amphora_ssh_user, - pkey=ssh_key) + pkey=ssh_key, + ssh_key_type=CONF.validation.ssh_key_type) linux_client.validate_authentication() # Allow logging from non-init namespaces @@ -202,7 +203,8 @@ class ActiveStandbyIptablesScenarioTest( def _has_vip_traffic(cls, ip_address, log_prefix): ssh_key = cls._get_amphora_ssh_key() linux_client = remote_client.RemoteClient( - ip_address, CONF.load_balancer.amphora_ssh_user, pkey=ssh_key) + ip_address, CONF.load_balancer.amphora_ssh_user, pkey=ssh_key, + ssh_key_type=CONF.validation.ssh_key_type) linux_client.validate_authentication() try: diff --git a/octavia_tempest_plugin/tests/test_base.py b/octavia_tempest_plugin/tests/test_base.py index b0bd643b..df544764 100644 --- a/octavia_tempest_plugin/tests/test_base.py +++ b/octavia_tempest_plugin/tests/test_base.py @@ -955,7 +955,8 @@ class LoadBalancerBaseTestWithCompute(LoadBalancerBaseTest): local_file = CONF.load_balancer.test_server_path linux_client = remote_client.RemoteClient( - ip_address, CONF.validation.image_ssh_user, pkey=ssh_key) + ip_address, CONF.validation.image_ssh_user, pkey=ssh_key, + ssh_key_type=CONF.validation.ssh_key_type) linux_client.validate_authentication() with tempfile.NamedTemporaryFile() as key: @@ -1010,7 +1011,8 @@ class LoadBalancerBaseTestWithCompute(LoadBalancerBaseTest): def _enable_ipv6_nic_webserver(cls, ip_address, ssh_key, ipv6_address, ipv6_prefix): linux_client = remote_client.RemoteClient( - ip_address, CONF.validation.image_ssh_user, pkey=ssh_key) + ip_address, CONF.validation.image_ssh_user, pkey=ssh_key, + ssh_key_type=CONF.validation.ssh_key_type) linux_client.validate_authentication() linux_client.exec_command('sudo ip address add {0}/{1} dev '