Take paramiko 2.9.+ breaking changes into account 01/75001/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Sun, 12 Oct 2025 08:16:29 +0000 (10:16 +0200)
committerCédric Ollivier <cedric.ollivier@orange.com>
Sun, 12 Oct 2025 08:16:29 +0000 (10:16 +0200)
https://github.com/paramiko/paramiko/issues/2143

Change-Id: If5e170c002cac372e845437f5c473770ae7498ae
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
functest/opnfv_tests/vnf/ims/heat_ims.py

index 0d4e345..39cafcf 100644 (file)
@@ -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()