From: Sage Weil Date: Sun, 24 Mar 2013 22:12:59 +0000 (-0700) Subject: ceph-deploy: purge /var/lib/ceph data on finish X-Git-Tag: 1.1.0~2224 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=5d3fed47f7c4daf72aa596fc822dedcef1a2cbab;p=teuthology.git ceph-deploy: purge /var/lib/ceph data on finish The install task does this now that the package doesn't; we need to too. Signed-off-by: Sage Weil --- diff --git a/teuthology/task/ceph-deploy.py b/teuthology/task/ceph-deploy.py index 67a88ccf6..2fc59c54c 100644 --- a/teuthology/task/ceph-deploy.py +++ b/teuthology/task/ceph-deploy.py @@ -144,6 +144,7 @@ def build_ceph_cluster(ctx, config): new_mon = './ceph-deploy new'+" "+mon_nodes install_nodes = './ceph-deploy install '+ceph_branch+" "+all_nodes purge_nodes = './ceph-deploy purge'+" "+all_nodes + purgedata_nodes = './ceph-deploy purgedata'+" "+all_nodes uninstall_nodes = './ceph-deploy uninstall'+" "+all_nodes mon_create_nodes = './ceph-deploy mon create'+" "+mon_nodes mon_hostname = mon_nodes.split(' ')[0] @@ -293,6 +294,7 @@ def build_ceph_cluster(ctx, config): log.info('Purging and Uninstalling ceph on test machines') execute_ceph_deploy(ctx, config, purge_nodes) + execute_ceph_deploy(ctx, config, purgedata_nodes) execute_ceph_deploy(ctx, config, uninstall_nodes) @contextlib.contextmanager