From b97d58a33fb60c919d1e84ed6c6144b782d87a8c Mon Sep 17 00:00:00 2001 From: sunilkumarn417 Date: Tue, 11 Aug 2020 20:41:04 +0530 Subject: [PATCH] Removed dbench installation workaround for redhat downstream runs Signed-off-by: sunilkumarn417 --- teuthology/task/internal/redhat.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/teuthology/task/internal/redhat.py b/teuthology/task/internal/redhat.py index 34af8659f..c43c9e6c6 100644 --- a/teuthology/task/internal/redhat.py +++ b/teuthology/task/internal/redhat.py @@ -119,9 +119,6 @@ def _enable_rhel_repos(remote): remote.run(args=['sudo', 'subscription-manager', 'repos', '--enable={r}'.format(r=repo)]) - if remote.os.version.startswith('8'): - workaround(remote) - @contextlib.contextmanager def setup_base_repo(ctx, config): @@ -234,12 +231,3 @@ def _create_temp_repo_file(repos, repo_file): repo_file.write(gpgcheck) repo_file.write(enabled) repo_file.close() - - -def workaround(remote): - log.info('temporary workaround') - remote.run(args=['sudo', - 'yum', - 'install', '-y', - 'http://download-ib01.fedoraproject.org/pub/epel/7/x86_64/Packages/d/dbench-4.0-10.el7.x86_64.rpm']) - -- 2.47.3