From 5d3fed47f7c4daf72aa596fc822dedcef1a2cbab Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Sun, 24 Mar 2013 15:12:59 -0700 Subject: [PATCH] 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 --- teuthology/task/ceph-deploy.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/teuthology/task/ceph-deploy.py b/teuthology/task/ceph-deploy.py index 67a88ccf610cf..2fc59c54c5ff6 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 -- 2.39.5