]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-deploy: uninstall even when no archive
authorSage Weil <sage@inktank.com>
Tue, 12 Mar 2013 00:06:57 +0000 (17:06 -0700)
committerSage Weil <sage@inktank.com>
Wed, 13 Mar 2013 16:50:09 +0000 (09:50 -0700)
Signed-off-by: Sage Weil <sage@inktank.com>
teuthology/task/ceph-deploy.py

index 7829b744263b10479c7e2daa5e014cd4d0739824..f87b9a0fb773ee6db41dd371b0a0d1fca34f5989 100644 (file)
@@ -284,9 +284,9 @@ def build_ceph_cluster(ctx, config):
                 teuthology.pull_directory(remote, '/var/log/ceph',
                                           os.path.join(sub, 'log'))
 
-            log.info('Purging and Uninstalling ceph on test machines')
-            execute_ceph_deploy(ctx, config, purge_nodes)
-            execute_ceph_deploy(ctx, config, uninstall_nodes)
+        log.info('Purging and Uninstalling ceph on test machines')
+        execute_ceph_deploy(ctx, config, purge_nodes)
+        execute_ceph_deploy(ctx, config, uninstall_nodes)
 
 @contextlib.contextmanager
 def task(ctx, config):