def get_nodes(self, cluster): nodes_to_deploy = super(DeploySelectedNodes, self).get_nodes(cluster) # NOTE(dshulyak) we still need to rerun all controllers # if all tasks are added to execution if cluster.is_ha_mode: nodes_to_deploy = TaskHelper.nodes_to_deploy_ha( cluster, nodes_to_deploy) self.validate(cluster, nodes_to_deploy) return nodes_to_deploy
def get_nodes(self, cluster): nodes_to_deploy = super(BaseDeploySelectedNodes, self).get_nodes(cluster) if cluster.is_ha_mode: nodes_to_deploy = TaskHelper.nodes_to_deploy_ha( cluster, nodes_to_deploy) self.checked_data(self.validator.validate_nodes_to_deploy, nodes=nodes_to_deploy, cluster_id=cluster.id) return nodes_to_deploy
def get_nodes(self, cluster): nodes_to_deploy = super( BaseDeploySelectedNodes, self).get_nodes(cluster) if cluster.is_ha_mode: nodes_to_deploy = TaskHelper.nodes_to_deploy_ha( cluster, nodes_to_deploy ) self.checked_data(self.validator.validate_nodes_to_deploy, nodes=nodes_to_deploy, cluster_id=cluster.id) return nodes_to_deploy
def get_nodes(self, cluster): nodes_to_deploy = super( DeploySelectedNodes, self).get_nodes(cluster) # NOTE(dshulyak) we still need to rerun all controllers # if all tasks are added to execution if cluster.is_ha_mode: nodes_to_deploy = TaskHelper.nodes_to_deploy_ha( cluster, nodes_to_deploy ) self.validate(cluster, nodes_to_deploy) return nodes_to_deploy
def get_nodes(self, cluster): nodes_to_deploy = super(BaseDeploySelectedNodes, self).get_nodes(cluster) if cluster.is_ha_mode: return TaskHelper.nodes_to_deploy_ha(cluster, nodes_to_deploy) return nodes_to_deploy
def get_nodes(self, cluster): nodes_to_deploy = super(DeploySelectedNodes, self).get_nodes(cluster) if cluster.is_ha_mode: return TaskHelper.nodes_to_deploy_ha(cluster, nodes_to_deploy) return nodes_to_deploy