]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
Remove epel packages during downstream testing if present on the node 709/head
authorVasu Kulkarni <vasu@redhat.com>
Wed, 18 Nov 2015 19:03:35 +0000 (14:03 -0500)
committerVasu Kulkarni <vasu@redhat.com>
Wed, 18 Nov 2015 19:03:35 +0000 (14:03 -0500)
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
teuthology/task/install.py

index 975a3ca0257934d7cd974530e7c9865d1b3bcb19..24deec029708c78b96b7fe2939ba550a7f1438ee 100644 (file)
@@ -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'])