Exemple #1
0
    def deploy_ocp(self, log_cli_level="DEBUG"):
        """
        OCP deployment specific to AWS UPI via Flexy

        Args:
             log_cli_level (str): openshift installer's log level
                (default: 'DEBUG')
        """
        super(AWSUPIFlexy, self).deploy_ocp(log_cli_level)

        lso_type = config.DEPLOYMENT.get("type")
        if lso_type == constants.AWS_EBS:
            logger.info("Create and attach volume for all workers")
            create_and_attach_volume_for_all_workers(worker_suffix="node")
Exemple #2
0
    def deploy_ocp(self, log_cli_level="DEBUG"):
        """
        OCP deployment specific to AWS UPI

        Args:
             log_cli_level (str): openshift installer's log level
                (default: 'DEBUG')
        """
        super(AWSUPI, self).deploy_ocp(log_cli_level)
        if config.DEPLOYMENT.get("host_network"):
            self.host_network_update()

        if config.ENV_DATA.get("rhel_workers"):
            self.add_rhel_workers()

        lso_type = config.DEPLOYMENT.get("type")
        if lso_type == constants.AWS_EBS:
            create_and_attach_volume_for_all_workers()
Exemple #3
0
    def deploy_ocp(self, log_cli_level="DEBUG"):
        """
        Deployment specific to OCP cluster on this platform

        Args:
            log_cli_level (str): openshift installer's log level
                (default: "DEBUG")
        """
        super(AWSIPI, self).deploy_ocp(log_cli_level)
        if config.DEPLOYMENT.get("infra_nodes"):
            num_nodes = config.ENV_DATA.get("infra_replicas", 3)
            ms_list = machine.create_ocs_infra_nodes(num_nodes)
            for node in ms_list:
                machine.wait_for_new_node_to_be_ready(node)
        if config.DEPLOYMENT.get("host_network"):
            self.host_network_update()
        lso_type = config.DEPLOYMENT.get("type")
        if lso_type == constants.AWS_EBS:
            create_and_attach_volume_for_all_workers()