X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=functest%2Fci%2Fprepare_env.py;h=6b24fe086491e821d64fb00f530fc0975056088b;hb=729d382479c2e9b83075f27172f850f1791360fe;hp=d2e77312549437836597bd0c9360cf181db21350;hpb=8d676615742ba80b3da1570c209391a09d1a5f45;p=functest.git diff --git a/functest/ci/prepare_env.py b/functest/ci/prepare_env.py index d2e773125..6b24fe086 100755 --- a/functest/ci/prepare_env.py +++ b/functest/ci/prepare_env.py @@ -21,8 +21,6 @@ import subprocess import sys import yaml - -from opnfv.deployment import factory from opnfv.utils import constants as opnfv_constants import functest.utils.functest_logger as ft_logger @@ -109,27 +107,6 @@ def check_env_variables(): logger.info(" IS_CI_RUN=%s" % CONST.IS_CI_RUN) -def print_deployment_info(): - handler = None - if CONST.INSTALLER_IP: - if CONST.INSTALLER_TYPE == 'apex': - pkey = '/root/.ssh/id_rsa' - if os.path.isfile(pkey): - handler = factory.Factory.get_handler(CONST.INSTALLER_TYPE, - CONST.INSTALLER_IP, - 'stack', - pkey_file=pkey) - elif CONST.INSTALLER_TYPE == 'fuel': - handler = factory.Factory.get_handler(CONST.INSTALLER_TYPE, - CONST.INSTALLER_IP, - 'root', - installer_pwd='r00tme') - - if handler: - logger.info('\n\nDeployment information:\n%s' % - handler.get_deployment_info()) - - def create_directories(): print_separator() logger.info("Creating needed directories...") @@ -309,7 +286,6 @@ def main(**kwargs): elif kwargs['action'] == "start": logger.info("######### Preparing Functest environment #########\n") check_env_variables() - print_deployment_info() create_directories() source_rc_file() patch_config_file()