From 7a61b237d66f894b0bfc97c28ea213baf6fb764c Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Sat, 16 Feb 2013 21:53:46 -0800 Subject: [PATCH] ceph: don't uninstall librados, librbd This forces uninstall of kvm too, which is expensive. Signed-off-by: Sage Weil --- teuthology/task/ceph.py | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/teuthology/task/ceph.py b/teuthology/task/ceph.py index 9d53f589f29e3..9de4075c01594 100644 --- a/teuthology/task/ceph.py +++ b/teuthology/task/ceph.py @@ -283,18 +283,23 @@ def remove_sources(ctx): @contextlib.contextmanager def binaries(ctx, config): - debs = ['ceph', - 'ceph-mds', - 'ceph-common', - 'python-ceph', - 'ceph-test', - 'radosgw', - 'librados2', - 'librbd1', - ] + debs = [ + 'ceph', + 'ceph-mds', + 'ceph-common', + 'python-ceph', + 'ceph-test', + 'radosgw', + ] + # install lib deps (so we explicitly specify version), but do not + # uninstall them, as + debs_install = debs + [ + 'librados2', + 'librbd1' + ] branch = config.get('branch', 'master') log.info('branch: {b}'.format(b=branch)) - install_debs(ctx, debs, branch) + install_debs(ctx, debs_install, branch) try: yield finally: -- 2.39.5