From 316e49c6d7738c55e3152edbd23e0846f206b510 Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Wed, 21 Nov 2018 17:28:00 +0100 Subject: [PATCH] client: change default pool size default pool size should match the real default that is defined in ceph itself. Signed-off-by: Guillaume Abrioux (cherry picked from commit ed42262b372ace8688c2b20a05d143e46174ec08) --- group_vars/clients.yml.sample | 4 ++-- roles/ceph-client/defaults/main.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/group_vars/clients.yml.sample b/group_vars/clients.yml.sample index 39a3c04b4..34926b202 100644 --- a/group_vars/clients.yml.sample +++ b/group_vars/clients.yml.sample @@ -26,7 +26,7 @@ dummy: # type: 1 # erasure_profile: "" # expected_num_objects: "" -# size: "" +# size: "{{ osd_pool_default_size }}" #test2: # name: "test2" # pg_num: "{{ osd_pool_default_pg_num }}" @@ -35,7 +35,7 @@ dummy: # type: 1 # erasure_profile: "" # expected_num_objects: "" -# size: "" +# size: "{{ osd_pool_default_size }}" #pools: # - "{{ test }}" # - "{{ test2 }}" diff --git a/roles/ceph-client/defaults/main.yml b/roles/ceph-client/defaults/main.yml index ad9779cf5..35a5f6976 100644 --- a/roles/ceph-client/defaults/main.yml +++ b/roles/ceph-client/defaults/main.yml @@ -18,7 +18,7 @@ test: type: 1 erasure_profile: "" expected_num_objects: "" - size: "" + size: "{{ osd_pool_default_size }}" test2: name: "test2" pg_num: "{{ osd_pool_default_pg_num }}" @@ -27,7 +27,7 @@ test2: type: 1 erasure_profile: "" expected_num_objects: "" - size: "" + size: "{{ osd_pool_default_size }}" pools: - "{{ test }}" - "{{ test2 }}"