Merge "Temporary: flag check_tasks is set to False"

This commit is contained in:
Jenkins 2016-05-12 05:43:10 +00:00 committed by Gerrit Code Review
commit 181b852668
1 changed files with 7 additions and 1 deletions

View File

@ -18,6 +18,7 @@ import logging
import re
import time
import traceback
from warnings import warn
import distutils
import devops
@ -885,7 +886,12 @@ class FuelWebClient29(object):
@custom_repo
def deploy_cluster_wait(self, cluster_id, is_feature=False,
timeout=help_data.DEPLOYMENT_TIMEOUT, interval=30,
check_services=True, check_tasks=True):
check_services=True, check_tasks=False):
warn_txt = ('Temporary: flag check_tasks is set to False, '
'until bugs LP#1578218 and LP#1578257 fixed')
logger.warning(warn_txt)
warn(warn_txt, UserWarning)
if not is_feature and help_data.DEPLOYMENT_RETRIES == 1:
logger.info('Deploy cluster %s', cluster_id)
task = self.deploy_cluster(cluster_id)