WIP - testing adding type to allow ecc keys

Depends-On: https://review.opendev.org/c/openstack/tempest/+/807465
Change-Id: I34ac429ab5442cef056ee8b63fcb2ba41e8b9b27
This commit is contained in:
Ade Lee 2021-09-06 15:33:27 -04:00
parent da43fb57dd
commit 1afdf0c503
2 changed files with 8 additions and 4 deletions

View File

@ -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:

View File

@ -948,7 +948,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:
@ -1003,7 +1004,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 '