Temporary: flag check_tasks is set to False

Related-bug: #1578218
Related-bug: #1578257
Change-Id: Id5bb55faf34350cb4d7ae49ffaf62f5996a0a168
This commit is contained in:
Alexey Stepanov 2016-05-11 13:23:38 +03:00
parent 2f13281daf
commit 752d9c556c
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
@ -884,7 +885,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)