From: Zack Cerza Date: Tue, 17 Feb 2015 17:37:40 +0000 (-0700) Subject: Don't fail if task runs twice X-Git-Tag: 1.1.0~1002 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=fa5ffbae37b694d6c5f28e7d9b7afa2a35e4e8e4;p=teuthology.git Don't fail if task runs twice This was happening because _yum_unset_check_obsoletes() was failing Signed-off-by: Zack Cerza --- diff --git a/teuthology/task/install.py b/teuthology/task/install.py index d1f85d90b..a8f29f8fb 100644 --- a/teuthology/task/install.py +++ b/teuthology/task/install.py @@ -419,7 +419,8 @@ def _yum_unset_check_obsoletes(remote): """ conf_path = '/etc/yum/pluginconf.d/priorities.conf' conf_path_orig = conf_path + '.orig' - remote.run(args=['sudo', 'mv', '-f', conf_path_orig, conf_path]) + remote.run(args=['sudo', 'mv', '-f', conf_path_orig, conf_path], + check_status=False) def _update_rpm_package_list_and_install(ctx, remote, rpm, config):