diff --git a/tests/functional/all_daemons/container/group_vars/all b/tests/functional/all_daemons/container/group_vars/all index 6b19bcbd8..55d59f33b 100644 --- a/tests/functional/all_daemons/container/group_vars/all +++ b/tests/functional/all_daemons/container/group_vars/all @@ -22,7 +22,7 @@ openstack_glance_pool: name: "images" pg_num: "{{ osd_pool_default_pg_num }}" pgp_num: "{{ osd_pool_default_pg_num }}" - type: 3 + type: 1 size: 1 pg_autoscale_mode: True target_size_ratio: 0.2 diff --git a/tests/functional/all_daemons/container/group_vars/clients b/tests/functional/all_daemons/container/group_vars/clients index 27248d737..f91445989 100644 --- a/tests/functional/all_daemons/container/group_vars/clients +++ b/tests/functional/all_daemons/container/group_vars/clients @@ -7,12 +7,13 @@ test: pgp_num: "{{ osd_pool_default_pg_num }}" rule_name: "HDD" type: 1 + size: 1 test2: name: "test2" pg_num: "{{ osd_pool_default_pg_num }}" pgp_num: "{{ osd_pool_default_pg_num }}" - rule_name: "HDD" type: 1 + size: 1 pools: - "{{ test }}" - "{{ test2 }}" diff --git a/tests/functional/all_daemons/container/hosts b/tests/functional/all_daemons/container/hosts index 1fde8ef1b..fe64c8e8b 100644 --- a/tests/functional/all_daemons/container/hosts +++ b/tests/functional/all_daemons/container/hosts @@ -10,8 +10,6 @@ mgr0 osd0 osd_crush_location="{ 'root': 'HDD', 'rack': 'mon-rackkkk', 'pod': 'monpod', 'host': 'osd0' }" osd1 osd_crush_location="{ 'root': 'default', 'host': 'osd1' }" osd2 osd_crush_location="{ 'root': 'default', 'host': 'osd2' }" -osd3 osd_crush_location="{ 'root': 'default', 'host': 'osd3' }" -osd4 osd_crush_location="{ 'root': 'default', 'host': 'osd4' }" [mdss] mds0 diff --git a/tests/functional/all_daemons/container/vagrant_variables.yml b/tests/functional/all_daemons/container/vagrant_variables.yml index 08ca70967..5e199588f 100644 --- a/tests/functional/all_daemons/container/vagrant_variables.yml +++ b/tests/functional/all_daemons/container/vagrant_variables.yml @@ -5,7 +5,7 @@ docker: True # DEFINE THE NUMBER OF VMS TO RUN mon_vms: 3 -osd_vms: 5 +osd_vms: 3 mds_vms: 3 rgw_vms: 1 nfs_vms: 1 diff --git a/tests/functional/all_daemons/group_vars/all b/tests/functional/all_daemons/group_vars/all index 8117ebc21..0faa4de80 100644 --- a/tests/functional/all_daemons/group_vars/all +++ b/tests/functional/all_daemons/group_vars/all @@ -14,7 +14,7 @@ openstack_glance_pool: name: "images" pg_num: "{{ osd_pool_default_pg_num }}" pgp_num: "{{ osd_pool_default_pg_num }}" - type: 3 + type: 1 size: 1 application: rbd pg_autoscale_mode: True diff --git a/tests/functional/all_daemons/group_vars/clients b/tests/functional/all_daemons/group_vars/clients index 64ff43313..106fcbf43 100644 --- a/tests/functional/all_daemons/group_vars/clients +++ b/tests/functional/all_daemons/group_vars/clients @@ -7,14 +7,13 @@ test: pgp_num: "{{ osd_pool_default_pg_num }}" rule_name: "HDD" type: 1 - size: "{{ osd_pool_default_size }}" + size: 1 test2: name: "test2" pg_num: "{{ osd_pool_default_pg_num }}" pgp_num: "{{ osd_pool_default_pg_num }}" - rule_name: "HDD" type: 1 - size: "{{ osd_pool_default_size }}" + size: 1 pools: - "{{ test }}" - "{{ test2 }}" diff --git a/tests/functional/all_daemons/hosts b/tests/functional/all_daemons/hosts index e0e64ba69..641217d52 100644 --- a/tests/functional/all_daemons/hosts +++ b/tests/functional/all_daemons/hosts @@ -10,8 +10,6 @@ mgr0 osd0 osd_crush_location="{ 'root': 'HDD', 'rack': 'mon-rackkkk', 'pod': 'monpod', 'host': 'osd0' }" osd1 osd_crush_location="{ 'root': 'default', 'host': 'osd1' }" osd2 osd_crush_location="{ 'root': 'default', 'host': 'osd2' }" -osd3 osd_crush_location="{ 'root': 'default', 'host': 'osd3' }" -osd4 osd_crush_location="{ 'root': 'default', 'host': 'osd4' }" [mdss] mds0 diff --git a/tests/functional/all_daemons/vagrant_variables.yml b/tests/functional/all_daemons/vagrant_variables.yml index 3c4354d9a..f994ae082 100644 --- a/tests/functional/all_daemons/vagrant_variables.yml +++ b/tests/functional/all_daemons/vagrant_variables.yml @@ -5,7 +5,7 @@ docker: false # DEFINE THE NUMBER OF VMS TO RUN mon_vms: 3 -osd_vms: 5 +osd_vms: 3 mds_vms: 3 rgw_vms: 1 nfs_vms: 0 diff --git a/tests/functional/lvm-osds/container/group_vars/all b/tests/functional/lvm-osds/container/group_vars/all index 3ea93c233..47a42455c 100644 --- a/tests/functional/lvm-osds/container/group_vars/all +++ b/tests/functional/lvm-osds/container/group_vars/all @@ -22,4 +22,24 @@ ceph_conf_overrides: osd_pool_default_size: 1 dashboard_enabled: False handler_health_mon_check_delay: 10 -handler_health_osd_check_delay: 10 \ No newline at end of file +handler_health_osd_check_delay: 10 +openstack_config: True +openstack_glance_pool: + name: "images" + pg_num: "{{ osd_pool_default_pg_num }}" + pgp_num: "{{ osd_pool_default_pg_num }}" + type: 3 + size: 1 + application: rbd + pg_autoscale_mode: True + target_size_ratio: 0.2 +openstack_cinder_pool: + name: "volumes" + pg_num: "{{ osd_pool_default_pg_num }}" + pgp_num: "{{ osd_pool_default_pg_num }}" + type: 1 + size: 1 + application: rbd +openstack_pools: + - "{{ openstack_glance_pool }}" + - "{{ openstack_cinder_pool }}" \ No newline at end of file diff --git a/tests/functional/lvm-osds/group_vars/all b/tests/functional/lvm-osds/group_vars/all index 0cf11039f..3b649fbef 100644 --- a/tests/functional/lvm-osds/group_vars/all +++ b/tests/functional/lvm-osds/group_vars/all @@ -17,4 +17,24 @@ ceph_conf_overrides: osd_pool_default_size: 1 dashboard_enabled: False handler_health_mon_check_delay: 10 -handler_health_osd_check_delay: 10 \ No newline at end of file +handler_health_osd_check_delay: 10 +openstack_config: True +openstack_glance_pool: + name: "images" + pg_num: "{{ osd_pool_default_pg_num }}" + pgp_num: "{{ osd_pool_default_pg_num }}" + type: 3 + size: 1 + application: rbd + pg_autoscale_mode: True + target_size_ratio: 0.2 +openstack_cinder_pool: + name: "volumes" + pg_num: "{{ osd_pool_default_pg_num }}" + pgp_num: "{{ osd_pool_default_pg_num }}" + type: 1 + size: 1 + application: rbd +openstack_pools: + - "{{ openstack_glance_pool }}" + - "{{ openstack_cinder_pool }}" \ No newline at end of file