]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph: don't uninstall librados, librbd
authorSage Weil <sage@inktank.com>
Sun, 17 Feb 2013 05:53:46 +0000 (21:53 -0800)
committerSage Weil <sage@inktank.com>
Mon, 18 Feb 2013 21:39:05 +0000 (13:39 -0800)
This forces uninstall of kvm too, which is expensive.

Signed-off-by: Sage Weil <sage@inktank.com>
teuthology/task/ceph.py

index 9d53f589f29e38369fa6dbcf101f2a313da0a309..9de4075c01594d9a94c3d987286c4a174b3221c8 100644 (file)
@@ -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: