From: tamil Date: Fri, 26 Jul 2013 00:12:52 +0000 (-0700) Subject: added test_mon_destroy option to ceph-deploy task X-Git-Tag: 1.1.0~2041^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=aeb3586bfb026485b2fe5a0aee7a0a3b162ce1f6;p=teuthology.git added test_mon_destroy option to ceph-deploy task Signed-off-by: tamil --- diff --git a/teuthology/task/ceph-deploy.py b/teuthology/task/ceph-deploy.py index 39da3e103..4d8c09923 100644 --- a/teuthology/task/ceph-deploy.py +++ b/teuthology/task/ceph-deploy.py @@ -208,7 +208,7 @@ def build_ceph_cluster(ctx, config): if estatus_mds != 0: raise Exception("ceph-deploy: Failed to deploy mds") - if config.get('test-mon-destroy'): + if config.get('test_mon_destroy') is not None: for d in range(1, len(mon_node)): mon_destroy_nodes = './ceph-deploy mon destroy'+" "+mon_node[d] estatus_mon_d = execute_ceph_deploy(ctx, config, mon_destroy_nodes) @@ -415,6 +415,7 @@ def task(ctx, config): conf=config.get('conf', {}), branch=config.get('branch',{}), mon_initial_members=config.get('mon_initial_members', None), + test_mon_destroy=config.get('test_mon_destroy', None), )), ): yield