Skip to content

Commit fe400df

Browse files
authored
Paramiko > 3.4.1 cause to SSH session not active (#905)
1 parent 02614ff commit fe400df

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

benchmark_runner/common/clouds/BareMetal/bare_metal_operations.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,6 @@ def run_ocp_installer(self):
228228
logger.info(f'Starting OCP assisted installer, Start time: {datetime.now().strftime(datetime_format)}')
229229
# Must add -t otherwise remote ssh of ansible will not end
230230
self._ssh.run(f"ssh -t provision \"{self._install_ocp_cmd()}\" ")
231-
self._wait_for_install_complete()
232231
logger.info(f'OpenShift cluster {self._get_installation_version()} version is installed successfully, End time: {datetime.now().strftime(datetime_format)}')
233232

234233
@logger_time_stamp

benchmark_runner/common/clouds/IBM/ibm_operations.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,5 +92,4 @@ def run_ocp_installer(self):
9292
logger.info(f'Starting OCP assisted installer, Start time: {datetime.now().strftime(datetime_format)}')
9393
# Must add -t otherwise remote ssh of ansible will not end
9494
self._ssh.run(cmd=f"ssh -t provision \"{self.__ibm_login_cmd()};{self._install_ocp_cmd()}\" ")
95-
self._wait_for_install_complete()
9695
logger.info(f'OpenShift cluster {self._get_installation_version()} version is installed successfully, End time: {datetime.now().strftime(datetime_format)}')

benchmark_runner/main/main.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
from multiprocessing import set_start_method
55
import platform
66

7+
# @todo paramiko==3.4.1/3.5.0 cause to "RunCommandError: Cannot run shell command: SSH session not active"
8+
import warnings
9+
from cryptography.utils import CryptographyDeprecationWarning
10+
warnings.filterwarnings("ignore", category=CryptographyDeprecationWarning)
11+
712
from benchmark_runner.main.environment_variables import *
813
from benchmark_runner.common.logger.logger_time_stamp import logger_time_stamp, logger
914
from benchmark_runner.benchmark_operator.benchmark_operator_workloads import BenchmarkOperatorWorkloads

0 commit comments

Comments
 (0)