From: Cédric Ollivier Date: Sun, 12 Oct 2025 08:16:29 +0000 (+0200) Subject: Take paramiko 2.9.+ breaking changes into account X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=1e062749a43f158d900e7d10d748db364a462365;p=functest.git Take paramiko 2.9.+ breaking changes into account https://github.com/paramiko/paramiko/issues/2143 Change-Id: If5e170c002cac372e845437f5c473770ae7498ae Signed-off-by: Cédric Ollivier --- diff --git a/functest/opnfv_tests/vnf/ims/heat_ims.py b/functest/opnfv_tests/vnf/ims/heat_ims.py index 0d4e345a0..39cafcfd5 100644 --- a/functest/opnfv_tests/vnf/ims/heat_ims.py +++ b/functest/opnfv_tests/vnf/ims/heat_ims.py @@ -161,7 +161,10 @@ class HeatIms(singlevm.VmReady2): ssh.set_missing_host_key_policy(paramiko.client.AutoAddPolicy()) ssh.connect( server.public_v4, username=username, - key_filename=self.key_filename, timeout=timeout) + key_filename=self.key_filename, timeout=timeout, + disabled_algorithms={ + "pubkeys": ["rsa-sha2-256", "rsa-sha2-512"] + }) (_, stdout, _) = ssh.exec_command('sudo monit summary') self.__logger.info("output:\n%s", stdout.read().decode("utf-8")) ssh.close()