tests: change default pools size

default pool size in our test should be explicitly set to 1

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
pull/3384/head
Guillaume Abrioux 2018-11-21 17:28:31 +01:00 committed by mergify[bot]
parent 292d967d2f
commit e8dd6b8993
3 changed files with 6 additions and 6 deletions

View File

@ -20,7 +20,7 @@ openstack_glance_pool:
type: 1 type: 1
erasure_profile: "" erasure_profile: ""
expected_num_objects: "" expected_num_objects: ""
size: "" size: 1
openstack_cinder_pool: openstack_cinder_pool:
name: "volumes" name: "volumes"
pg_num: "{{ hostvars[groups[mon_group_name][0]]['osd_pool_default_pg_num'] }}" pg_num: "{{ hostvars[groups[mon_group_name][0]]['osd_pool_default_pg_num'] }}"
@ -29,7 +29,7 @@ openstack_cinder_pool:
type: 1 type: 1
erasure_profile: "" erasure_profile: ""
expected_num_objects: "" expected_num_objects: ""
size: "" size: 1
openstack_pools: openstack_pools:
- "{{ openstack_glance_pool }}" - "{{ openstack_glance_pool }}"
- "{{ openstack_cinder_pool }}" - "{{ openstack_cinder_pool }}"

View File

@ -9,7 +9,7 @@ test:
type: 1 type: 1
erasure_profile: "" erasure_profile: ""
expected_num_objects: "" expected_num_objects: ""
size: "" size: "{{ osd_pool_default_size }}"
test2: test2:
name: "test2" name: "test2"
pg_num: "{{ hostvars[groups[mon_group_name][0]]['osd_pool_default_pg_num'] }}" pg_num: "{{ hostvars[groups[mon_group_name][0]]['osd_pool_default_pg_num'] }}"
@ -18,7 +18,7 @@ test2:
type: 1 type: 1
erasure_profile: "" erasure_profile: ""
expected_num_objects: "" expected_num_objects: ""
size: "" size: "{{ osd_pool_default_size }}"
pools: pools:
- "{{ test }}" - "{{ test }}"
- "{{ test2 }}" - "{{ test2 }}"

View File

@ -24,7 +24,7 @@ openstack_glance_pool:
type: 1 type: 1
erasure_profile: "" erasure_profile: ""
expected_num_objects: "" expected_num_objects: ""
size: "" size: 1
openstack_cinder_pool: openstack_cinder_pool:
name: "volumes" name: "volumes"
pg_num: "{{ hostvars[groups[mon_group_name][0]]['osd_pool_default_pg_num'] }}" pg_num: "{{ hostvars[groups[mon_group_name][0]]['osd_pool_default_pg_num'] }}"
@ -33,7 +33,7 @@ openstack_cinder_pool:
type: 1 type: 1
erasure_profile: "" erasure_profile: ""
expected_num_objects: "" expected_num_objects: ""
size: "" size: 1
openstack_pools: openstack_pools:
- "{{ openstack_glance_pool }}" - "{{ openstack_glance_pool }}"
- "{{ openstack_cinder_pool }}" - "{{ openstack_cinder_pool }}"