Skip to content

Commit

Permalink
wait for install complete (#902)
Browse files Browse the repository at this point in the history
  • Loading branch information
ebattat authored Sep 26, 2024
1 parent fa2aaab commit c8cf7df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ def run_ocp_installer(self):
logger.info(f'Starting OCP assisted installer, Start time: {datetime.now().strftime(datetime_format)}')
# Must add -t otherwise remote ssh of ansible will not end
self._ssh.run(f"ssh -t provision \"{self._install_ocp_cmd()}\" ")
self._wait_for_install_complete()
logger.info(f'OpenShift cluster {self._get_installation_version()} version is installed successfully, End time: {datetime.now().strftime(datetime_format)}')

@logger_time_stamp
Expand Down
1 change: 1 addition & 0 deletions benchmark_runner/common/clouds/IBM/ibm_operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,4 +92,5 @@ def run_ocp_installer(self):
logger.info(f'Starting OCP assisted installer, Start time: {datetime.now().strftime(datetime_format)}')
# Must add -t otherwise remote ssh of ansible will not end
self._ssh.run(cmd=f"ssh -t provision \"{self.__ibm_login_cmd()};{self._install_ocp_cmd()}\" ")
self._wait_for_install_complete()
logger.info(f'OpenShift cluster {self._get_installation_version()} version is installed successfully, End time: {datetime.now().strftime(datetime_format)}')

0 comments on commit c8cf7df

Please sign in to comment.