mirror of https://github.com/ceph/ceph-ansible.git
tests: update pools definitions
setting attributes with empty string is a bad user input. Also, removing `rule_name` attribute when creating a code erasure pool. (this rule isnt intended for code erasure pool type). Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>pull/5387/head
parent
af9f6684f2
commit
83faf94351
|
@ -22,10 +22,7 @@ openstack_glance_pool:
|
|||
name: "images"
|
||||
pg_num: "{{ osd_pool_default_pg_num }}"
|
||||
pgp_num: "{{ osd_pool_default_pg_num }}"
|
||||
rule_name: "HDD"
|
||||
type: 3
|
||||
erasure_profile: ""
|
||||
expected_num_objects: ""
|
||||
size: 1
|
||||
pg_autoscale_mode: True
|
||||
target_size_ratio: 0.2
|
||||
|
@ -35,8 +32,6 @@ openstack_cinder_pool:
|
|||
pgp_num: "{{ osd_pool_default_pg_num }}"
|
||||
rule_name: "HDD"
|
||||
type: 1
|
||||
erasure_profile: ""
|
||||
expected_num_objects: ""
|
||||
size: 1
|
||||
openstack_pools:
|
||||
- "{{ openstack_glance_pool }}"
|
||||
|
|
|
@ -7,16 +7,12 @@ test:
|
|||
pgp_num: "{{ osd_pool_default_pg_num }}"
|
||||
rule_name: "HDD"
|
||||
type: 1
|
||||
erasure_profile: ""
|
||||
expected_num_objects: ""
|
||||
test2:
|
||||
name: "test2"
|
||||
pg_num: "{{ osd_pool_default_pg_num }}"
|
||||
pgp_num: "{{ osd_pool_default_pg_num }}"
|
||||
rule_name: "HDD"
|
||||
type: 1
|
||||
erasure_profile: ""
|
||||
expected_num_objects: ""
|
||||
pools:
|
||||
- "{{ test }}"
|
||||
- "{{ test2 }}"
|
||||
|
|
|
@ -14,10 +14,7 @@ openstack_glance_pool:
|
|||
name: "images"
|
||||
pg_num: "{{ osd_pool_default_pg_num }}"
|
||||
pgp_num: "{{ osd_pool_default_pg_num }}"
|
||||
rule_name: "HDD"
|
||||
type: 3
|
||||
erasure_profile: ""
|
||||
expected_num_objects: ""
|
||||
size: 1
|
||||
application: rbd
|
||||
pg_autoscale_mode: True
|
||||
|
@ -28,8 +25,6 @@ openstack_cinder_pool:
|
|||
pgp_num: "{{ osd_pool_default_pg_num }}"
|
||||
rule_name: "HDD"
|
||||
type: 1
|
||||
erasure_profile: ""
|
||||
expected_num_objects: ""
|
||||
size: 1
|
||||
application: rbd
|
||||
openstack_pools:
|
||||
|
|
|
@ -7,8 +7,6 @@ test:
|
|||
pgp_num: "{{ osd_pool_default_pg_num }}"
|
||||
rule_name: "HDD"
|
||||
type: 1
|
||||
erasure_profile: ""
|
||||
expected_num_objects: ""
|
||||
size: "{{ osd_pool_default_size }}"
|
||||
test2:
|
||||
name: "test2"
|
||||
|
@ -16,8 +14,6 @@ test2:
|
|||
pgp_num: "{{ osd_pool_default_pg_num }}"
|
||||
rule_name: "HDD"
|
||||
type: 1
|
||||
erasure_profile: ""
|
||||
expected_num_objects: ""
|
||||
size: "{{ osd_pool_default_size }}"
|
||||
pools:
|
||||
- "{{ test }}"
|
||||
|
|
Loading…
Reference in New Issue