Skip to content

Commit 0ee73bf

Browse files
committed
wait for install complete
1 parent a3091a4 commit 0ee73bf

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

benchmark_runner/common/clouds/BareMetal/bare_metal_operations.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,7 @@ 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()
231232
logger.info(f'OpenShift cluster {self._get_installation_version()} version is installed successfully, End time: {datetime.now().strftime(datetime_format)}')
232233

233234
@logger_time_stamp

benchmark_runner/common/clouds/IBM/ibm_operations.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,4 +92,5 @@ 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()
9596
logger.info(f'OpenShift cluster {self._get_installation_version()} version is installed successfully, End time: {datetime.now().strftime(datetime_format)}')

0 commit comments

Comments
 (0)