From 21681531b71a015f50d25396d4c574e6b25c237a Mon Sep 17 00:00:00 2001 From: Loic Dachary Date: Wed, 2 Jul 2014 01:14:33 +0200 Subject: [PATCH] add rgw.create_ec_pool default profile the former arguments had defaults, the caller do not set them Signed-off-by: Loic Dachary --- teuthology/task_util/rados.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teuthology/task_util/rados.py b/teuthology/task_util/rados.py index f8264d396c..63a0848281 100644 --- a/teuthology/task_util/rados.py +++ b/teuthology/task_util/rados.py @@ -24,7 +24,7 @@ def rados(ctx, remote, cmd, wait=True, check_status=False): else: return proc -def create_ec_pool(remote, name, profile_name, pgnum, profile): +def create_ec_pool(remote, name, profile_name, pgnum, profile={}): remote.run(args=['ceph'] + cmd_erasure_code_profile(profile_name, profile)) remote.run(args=[ 'ceph', 'osd', 'pool', 'create', name, -- 2.39.5