Merge "Temporary: flag check_tasks is set to False" into stable/mitaka

This commit is contained in:
Jenkins 2016-05-12 10:51:02 +00:00 committed by Gerrit Code Review
commit a35e45aeec

View File

@ -17,6 +17,7 @@ from __future__ import division
import re
import time
import traceback
from warnings import warn
from devops.error import DevopsCalledProcessError
from devops.error import TimeoutError
@ -873,7 +874,12 @@ class FuelWebClient(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)