Fixed paramiko version, hot fixes for hw nodes test
Related-PROD: PROD-36943
Change-Id: Ie4c9d11ee463877f0f85ee0a0797cad197099b79
diff --git a/requirements.txt b/requirements.txt
index ce79ee5..998c44a 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -2,7 +2,7 @@
kubernetes==26.1.*
numpy==1.24.2
pandas # BSD License (BSD-3-Clause)
-paramiko==2.7.2 # LGPLv2.1+
+paramiko==3.5.1 # LGPLv2.1+
pytest==7.4.4 # MIT
python-cinderclient==6.0.0 # Apache-2.0
python-glanceclient==3.0.0 # Apache-2.0
diff --git a/utils/ssh.py b/utils/ssh.py
index 20313d0..cde86bd 100644
--- a/utils/ssh.py
+++ b/utils/ssh.py
@@ -213,7 +213,7 @@
private_key=None):
transport = SSHTransport(
ip, username=user, private_key=private_key)
- command = "ip -4 addr show scope global"
+ command = "ip a"
output = transport.exec_command(command)
try:
all_ip_addresses = [line.split()[1] for line in
@@ -280,7 +280,7 @@
# TODO: to avoid looping, both packages can be installed by one
# 'install -y iperf iperf3' command. 'which' command can also be
# executed for multiple packages at once.
- packages = ["iperf", "iperf3"]
+ packages = ["iperf3", "iperf"]
for p in packages:
check_path = transport.exec_command(f'which {p}')
if not check_path: