From 9236115349dcf146cd9ce55e0adca41fecdce763 Mon Sep 17 00:00:00 2001 From: Vasu Kulkarni Date: Wed, 18 Nov 2015 14:03:35 -0500 Subject: [PATCH] Remove epel packages during downstream testing if present on the node Signed-off-by: Vasu Kulkarni --- teuthology/task/install.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/teuthology/task/install.py b/teuthology/task/install.py index 975a3ca025..24deec0297 100644 --- a/teuthology/task/install.py +++ b/teuthology/task/install.py @@ -760,6 +760,8 @@ def rh_install_pkgs(ctx, remote, installed_version): """ pkgs = ['ceph-deploy'] rh_version_check = {'0.94.1': '1.3.0', '0.94.3': '1.3.1'} + log.info("Remove any epel packages installed on node %s", remote.shortname) + remote.run(args=['sudo', 'yum', 'remove', run.Raw("leveldb xmlstarlet fcgi"), '-y'],check_status=False) for pkg in pkgs: log.info("Check if ceph-deploy is already installed on node %s", remote.shortname) remote.run(args=['sudo', 'yum', 'clean', 'metadata']) -- 2.39.5