From 87e206f302fbfbd300bdfcc6e77d0544fc9b0d48 Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=A9dric=20Ollivier?= Date: Sun, 12 Oct 2025 10:16:29 +0200 Subject: [PATCH] Take paramiko 2.9.+ breaking changes into account MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit https://github.com/paramiko/paramiko/issues/2143 Change-Id: If5e170c002cac372e845437f5c473770ae7498ae Signed-off-by: Cédric Ollivier --- functest/opnfv_tests/vnf/ims/heat_ims.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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() -- 2.16.6